|
[Sponsors] |
Open Foam 1.7.x Installation on Altix Ice 8400 with Intel 12.1 compilers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 1, 2012, 05:11 |
Open Foam 1.7.x Installation on Altix Ice 8400 with Intel 12.1 compilers
|
#1 |
New Member
yadav's
Join Date: Feb 2012
Posts: 1
Rep Power: 0 |
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" |
|
February 1, 2012, 16:30 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
Tags |
intel compiler 12.1, openfoam 1.7.x, sgi altix ice |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |