CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Open Foam 1.7.x Installation on Altix Ice 8400 with Intel 12.1 compilers (https://www.cfd-online.com/Forums/openfoam-installation/96788-open-foam-1-7-x-installation-altix-ice-8400-intel-12-1-compilers.html)

yadavmahe February 1, 2012 04:11

Open Foam 1.7.x Installation on Altix Ice 8400 with Intel 12.1 compilers
 
I have been struggling trying to compile OpenFOAM 1.7.x on SGI altix ICE system with intel 12.1 compilers.

am using tcsh shell
and compilers are
intel 12.1
gcc-4.3.4

changed cshrc file Gcc to Icc

# Compiler: set to Gcc, Gcc43, Gcc44 or Icc (for Intel's icc)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
if ( ! $?WM_COMPILER ) setenv WM_COMPILER Icc

And also changed rules of wmake
wmake/linux64Icc/cOpt and c++Opt
in cOpt file : cOPT = -O3 -no-prec-div -xSSE4.2 -ipo
in c++Opt file : c++OPT = -O3 -no-prec-div -xSSE4.2 -ipo

i added some flags -xSSE4.2 -ipo


after those chages, compiled as
./Allwmake

-- It taking more time

here some errors am getting

Code:


SOURCE=global/global.Cver  ; sed -e 's/VERSION_STRING/1.7.x/' -e 's/BUILD_STRING/1.7.x/' $SOURCE  > Make/linux64IccDPOpt/global.C; icpc -std=c++0x -Dlinux64 -DWM_DP  -wd327,654,819,1125,1476,1505,1572 -O3 -no-prec-div  -xSSE4.2 -ipo  -DNoRepository  -I/lustre/scratch/train2/apps/OpenFOAM/ThirdParty-1.7.x/zlib-1.2.3  -IlnInclude -I.  -I/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude  -I/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude    -fPIC -c Make/linux64IccDPOpt/global.C -o Make/linux64IccDPOpt/global.o
lnInclude/pTraits.H(71):  warning #597: "Foam::pTraits<PrimitiveType>::operator  Foam::vector() const [with PrimitiveType=Foam::vector]" will not be  called for implicit or explicit conversions
          operator PrimitiveType() const
          ^
          detected during:
            instantiation of class "Foam::pTraits<PrimitiveType> [with  PrimitiveType=Foam::vector]" at line 87 of "lnInclude/Field.H"
            instantiation of class "Foam::Field<Type> [with Type=Foam::vector]" at line 146 of "lnInclude/edgeI.H"

Code:

compilation  aborted for  derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C  (code 2)
make: *** [Make/linux64IccDPOpt/turbulentHeatFluxTemperatureFvPatchScalarField.o] Error 2

Code:

ld: cannot find -lcompressibleRASModels
make: *** [/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/lib/linux64IccDPOpt/liblagrangianIntermediate.so] Error 1

Code:

make[2]: *** [/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64IccDPOpt/dieselEngineFoam] Error 1
make[2]:  Leaving directory  `/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/combustion/dieselEngineFoam'
make[1]: *** [dieselEngineFoam] Error 2

Code:

ld: cannot find -ldieselSpray
make[2]: *** [/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64IccDPOpt/foamDebugSwitches] Error 1
make[2]: Leaving directory  `/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/miscellaneous/foamDebugSwitches'
make[1]: *** [foamDebugSwitches] Error 2

Code:

MASTER.h(527): catastrophic error: cannot open source file "X11/Intrinsic.h"
  #    include <X11/Intrinsic.h>
                                ^

compilation aborted for alloc.cpp (code 4)
make[3]: *** [Make/linux64IccDPOpt/alloc.o] Error 4
SOURCE=arrlist.cpp ;  icpc -std=c++0x -Dlinux64 -DWM_DP  -wd327,654,819,1125,1476,1505,1572 -O3 -no-prec-div  -xSSE4.2 -ipo  -DNoRepository -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED  -U_WIN32  -IlnInclude -I.  -I/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude  -I/lustre/scratch/train2/apps/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude    -fPIC -c $SOURCE -o Make/linux64IccDPOpt/arrlist.o
MASTER.h(527): catastrophic error: cannot open source file "X11/Intrinsic.h"


wyldckat February 1, 2012 15:30

Greetings yadavmahe and welcome to the forum!

I've helped someone else with a similar problem some time ago:
http://www.cfd-online.com/Forums/ope...i-1-4-3-a.html

Good luck!
Bruno


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