|
[Sponsors] |
November 6, 2013, 17:53 |
centfoam 2.2.x on RHEL 5.10 clone
|
#1 |
New Member
Eric Paul
Join Date: Oct 2013
Posts: 1
Rep Power: 0 |
I just installed centfoam 2.2.x on a Springdale 5.10 (RHEL 5.10 clone) cluster in /opt so it can be used by all users. When I run the command 'mpicc --showme:link' I get the following output:
-pthread -L/home/centfoam/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3/lib64 -lmpi -ldl -lm -Wl,--export-dynamic -lrt -lnsl -lutil -lm -ldl Notice the path for the link is /home/centfoam/ instead of /opt. With previous versions of centfoam the output gave the proper path to /opt. Is there an easy way to fix this. The reason I as is my users are getting the following error when compiling with mlicc: /usr/bin/ld: cannot find -lmpi_cxx It seem it may be related to this linker having the wrong defaults. Thanks Eric |
|
November 9, 2013, 13:00 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Eric and welcome to the forum!
Try the instructions given here: http://www.open-mpi.org/faq/?categor...ng#installdirs For example: Code:
export OPAL_PREFIX=/opt/OpenFOAM/ThirdParty-2.2.x/platforms/linux64Gcc/openmpi-1.6.3 Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent compliance with RHEL 4 | hervé | FLUENT | 2 | January 25, 2006 05:39 |