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

Installing OpenFOAM141patched on Solaris10 MPIProblem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2007, 07:50
Default I have problems to tell OpenFO
  #1
jfb
New Member
 
Josef F. Buergler
Join Date: Mar 2009
Posts: 16
Rep Power: 17
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

EXE_INC = \
...[snip-snap]...
-I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
...[snip-snap]...
-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!
jfb is offline   Reply With Quote

Old   October 24, 2007, 08:05
Default It is probably a lot less work
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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

Reply


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 Off
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 15: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 01:48


All times are GMT -4. The time now is 17:09.