CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Installing OpenFOAM141patched on Solaris10 MPIProblem

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

LinkBack Thread Tools Display Modes
Old   October 24, 2007, 07:50
Default I have problems to tell OpenFO
New Member
Josef F. Buergler
Join Date: Mar 2009
Posts: 16
Rep Power: 10
jfb is on a distinguished road
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

-I$(LIB_SRC)/dynamicMesh/lnInclude \
-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

- 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!
jfb is offline   Reply With Quote

Old   October 24, 2007, 08:05
Default It is probably a lot less work
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 802
Rep Power: 21
olesen will become famous soon enough
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.
olesen is offline   Reply With Quote


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
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

All times are GMT -4. The time now is 11:16.