CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] How to build Open FOAM with Intel compilers...?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 16, 2012, 14:26
Default How to build Open FOAM with Intel compilers...?
  #1
New Member
 
Rui Alexandre Trigo Ribeiro Pereira
Join Date: Mar 2009
Location: Coimbra, Coimbra, Portugal
Posts: 23
Rep Power: 17
ed_teller is on a distinguished road
Hi

I have installed intel parallel studio in My Ubuntu 12.04, and I am trying to build OF-2.1.1 using intel.

I untarred Third-party, as well as OpenFoam-2.1.1

I set the environment in /etc/bashrc after changing the default compilers to intel.

I cd to third party, and run ./Allwmake

compilation occurs without incidents, then i cd to OpenFOAM-2.1.1, and run ./Allwmake again.

The libraries build ok, but some of the solvers and utilities do not build, the typical message involves something about libpstream.so :





Code:
 icpc -std=c++0x -Dlinux64 -DWM_DP -wd327,654,819,1125,1476,1505,1572 -xSSE3 -O2 -no-prec-div  -DNoRepository -IphaseModel/lnInclude -ImultiphaseSystem/lnInclude -ImultiphaseFixedFluxPressure -IinterfacialModels/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/transportModels -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/interfaceProperties/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/singlePhaseTransportModel -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/LES/LESModel -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/alex/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC Make/linux64IccDPOpt/multiphaseEulerFoam.o -L/home/alex/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/lib \
             -lmultiphaseSystem -lcompressibleMultiPhaseModel -linterfaceProperties -lincompressibleTransportModels -lcompressibleMultiphaseEulerianInterfacialModels -lincompressibleLESModels -lfiniteVolume -lOpenFOAM -ldl   -L/lib -lm -o /home/alex/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/bin/multiphaseEulerFoam
ld: Make/linux64IccDPOpt/multiphaseEulerFoam.o: undefined reference to symbol '_ZN4Foam14incompressible15turbulenceModel8typeNameE'
ld: note: '_ZN4Foam14incompressible15turbulenceModel8typeNameE' is defined in DSO /home/alex/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/lib/libincompressibleTurbulenceModel.so so try adding it to the linker command line
/home/alex/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/lib/libincompressibleTurbulenceModel.so: could not read symbols: Invalid operation
make[2]: *** [/home/alex/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64IccDPOpt/bin/multiphaseEulerFoam] Error 1
make[2]: Leaving directory `/home/alex/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/multiphaseEulerFoam'
make[1]: *** [multiphaseEulerFoam] Error 2
Is there any tutorial detailing how to build OpenFOAM in Ubuntu 12.04 using Intel..?

I am using Intel parallel_studio_xe_2011...

Best regards

Alex
ed_teller is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 10:03
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


All times are GMT -4. The time now is 11:42.