|October 24, 2007, 07:50||
I have problems to tell OpenFO
Josef F. Buergler
Join Date: Mar 2009
Posts: 16Rep Power: 9
I have problems to tell OpenFOAM-1.4.1-patched to use the Solaris10-Version of OpenMPI which is located in /opt/SUNWhpc/HPC7.0/.
Even if I put lines like the following
EXE_INC = \
EXE_LIBS = \
-R/opt/mx/lib -R/opt/SUNWhpc/HPC7.0/lib -R/opt/mx/lib/sparcv9 \
-R/opt/SUNWhpc/HPC7.0/lib/sparcv9 -L/opt/SUNWhpc/HPC7.0/lib \
-lmpi_cxx -lmpi -lopen-rte -lopen-pal -lsocket -lnsl -lrt -lm -ldl
in the appropriate "options"-files, the following error-message is produced by the compiler.
-lfiniteVolume -ldecompositionMethods -lmeshTools -ldynamicMesh -lparMetisDecompositionMethod -R/opt/mx/lib -R/opt/SUNWhpc/HPC7.0/lib -R/opt/mx/lib/sparcv9 -R/opt/SUNWhpc/HPC7.0/lib/sparcv9 -L/opt/SUNWhpc/HPC7.0/lib -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lsocket -lnsl -lrt -lm -ldl -lOpenFOAM -liberty -lnsl -lsocket -L/home/zabuergl/OpenFOAM/OpenFOAM-1.4.1/lib/solarisGcc42DPOpt/dummy -lPstream -lm -o /home/zabuergl/OpenFOAM/OpenFOAM-1.4.1/applications/bin/solarisGcc42DPOpt/redist ributeMeshPar
Undefined first referenced
symbol in file
MPI::Win::Set_errhandler(MPI::Errhandler const&)/home/zabuergl/OpenFOAM/OpenFOAM-1.4.1/lib/solarisGcc42DPOpt/libparMetisD ecompositionMethod.so
- Where could I define the MPI-options (like where to search for include files, libraries, etc.)
- Is it possible to use commands like "mpicc", "mpiCC", etc. to make life easier ... for in that case, system specific options are created automagically and handed over to the compiler/linker/loader?
- What's the difference between EXE_LIBS and LIB_LIBS in the "options"-files?
Thanks very much for any help!
|October 24, 2007, 08:05||
It is probably a lot less work
Join Date: Mar 2009
Posts: 780Rep Power: 19
It is probably a lot less work just to recompile the openmpi version distributed with OpenFOAM (or get the newest 1.2.4).
EXE_LIBS are the libs required for executables.
LIB_LIBS are the libs loaded by another library.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Installing as root in opt||bastil||OpenFOAM Installation||8||October 22, 2008 02:54|
|Installing OpenFOAM||honcho||OpenFOAM Installation||1||April 9, 2008 06:29|
|installing cfx 5.6||bagi||CFX||1||December 27, 2005 16:13|
|Installing 12 after removing 11||maka||OpenFOAM Installation||5||August 26, 2005 17:17|
|Installing Compiled UDF||HARI SARYONO||FLUENT||0||November 24, 2001 02:48|