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

centfoam 2.2.x on RHEL 5.10 clone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2013, 17:53
Default centfoam 2.2.x on RHEL 5.10 clone
  #1
New Member
 
Eric Paul
Join Date: Oct 2013
Posts: 1
Rep Power: 0
ericpaul is on a distinguished road
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
ericpaul is offline   Reply With Quote

Old   November 9, 2013, 13:00
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
But it's possible that Open-MPI 1.6.3 is no longer honouring these environment variables...

Best regards,
Bruno
__________________
wyldckat 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
Fluent compliance with RHEL 4 hervé FLUENT 2 January 25, 2006 05:39


All times are GMT -4. The time now is 04:12.