centfoam 2.2.x on RHEL 5.10 clone
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.
Greetings Eric and welcome to the forum!
Try the instructions given here: http://www.open-mpi.org/faq/?categor...ng#installdirs
|All times are GMT -4. The time now is 05:39.|