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

Open Foam 1.7.x Installation on Altix Ice 8400 with Intel 12.1 compilers

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 1, 2012, 04:11
Default 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
yadavmahe is on a distinguished road
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"
yadavmahe is offline   Reply With Quote

Old   February 1, 2012, 15:30
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings yadavmahe and welcome to the forum!

I've helped someone else with a similar problem some time ago:
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3)

Good luck!
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
intel compiler 12.1, openfoam 1.7.x, sgi altix ice

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


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