OpenFoam 2.0.0 installation + ICC + Rocks Cluster
1 Attachment(s)
Hi all,
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:
Best regards, Bruno |
Hi Bruno,
In OpenFOAM-2.0.0/etc/bashrc I changed the line WM_COMPILER to #- Compiler: # WM_COMPILER = Gcc | Gcc43 | Gcc44 | Gcc45 | Gcc46 | Clang | Icc (Intel icc) export WM_COMPILER=Icc #- MPI implementation: # WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI # | GAMMA | MPI | QSMPI export WM_MPLIB=IMPI in config/settings.sh changed: # Communications library # ~~~~~~~~~~~~~~~~~~~~~~ unset MPI_ARCH_PATH MPI_HOME FOAM_MPI_LIBBIN case "$WM_MPLIB" in IMPI) export MPI_HOME=/usr/local/opt/intel/impi/4.0.1.007/intel64 export MPI_ARCH_PATH=$MPI_HOME _foamAddPath $MPI_ARCH_PATH/bin _foamAddLib $MPI_ARCH_PATH/lib export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/impi ;; Best, |
Hi David,
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: Quote:
Code:
echo $foamCompiler 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... Best regards, Bruno |
Hi Bruno,
You're correct, the variable foamCompiler is empty Bashrc looks like: #- Compiler location: # foamCompiler= system | ThirdParty (OpenFOAM) foamCompiler=ThirdParty 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 Best, Daniel |
Hi Daniel,
Simply change the line: Code:
foamCompiler=ThirdParty Code:
foamCompiler=system Good luck! Bruno |
All times are GMT -4. The time now is 20:05. |