OpenFoam 2.0.0 installation + ICC + Rocks Cluster
I tried to install openfoam from sources over Rocks Cluster 5.4 + Intel cluster studio without sucess.
I'm getting many warnings an errors like these:
ipo: warning #11012: unable to find -lfiniteVolume
ipo: warning #11012: unable to find -lmeshTools
ipo: warning #11012: unable to find -lsurfMesh
ipo: warning #11012: unable to find -ltriSurface
ipo: warning #11012: unable to find -llagrangian
ipo: warning #11012: unable to find -lconversion
in addition, when I execute wmSET I get this:
Warning in /root/OpenFOAM/OpenFOAM-2.0.0/etc/config/settings.sh:
Unknown OpenFOAM compiler type 'Icc'
Please check your settings
make.log is attached. Appreciate your help on this.
Greetings Daniel and welcome to the forum!
OK, there seems to be a few of problems, according to the output you posted:
In OpenFOAM-2.0.0/etc/bashrc I changed the line WM_COMPILER to
# WM_COMPILER = Gcc | Gcc43 | Gcc44 | Gcc45 | Gcc46 | Clang | Icc (Intel icc)
#- MPI implementation:
# WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI
# | GAMMA | MPI | QSMPI
in config/settings.sh changed:
# Communications library
unset MPI_ARCH_PATH MPI_HOME FOAM_MPI_LIBBIN
case "$WM_MPLIB" in
Interesting... OK, I've re-read both of your posts and what comes to mind is that the environment variable foamCompiler is being set to either ThirdParty or OpenFOAM somewhere in etc/bashrc or etc/config/settings.sh or somewhere else. This is the only reason why it would say:
The other thing is if you modified anything at the folders wmake/rules/linuxIcc or wmake/rules/linux64Icc, which is where the names of the compilers are hard-coded for 32 and 64bit respectively.
I think these should be the places that need your attention... since you are using wmSET... although starting a new terminal always clears up any doubts of a bad environment contaminating everything...
You're correct, the variable foamCompiler is empty
Bashrc looks like:
#- Compiler location:
# foamCompiler= system | ThirdParty (OpenFOAM)
I can't see any export for this variable. do I have to add it? I didn't see it in any additional place.
and no changes were made in wmake/rules/linuxIcc or wmake/rules/linux64Icc
Simply change the line:
|All times are GMT -4. The time now is 21:14.|