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

centfoam 2.2.x on RHEL 5.10 clone

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

LinkBack Thread Tools Display Modes
Old   November 6, 2013, 17:53
Default centfoam 2.2.x on RHEL 5.10 clone
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.

ericpaul is offline   Reply With Quote

Old   November 9, 2013, 13:00
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,800
Blog Entries: 39
Rep Power: 106
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings Eric and welcome to the forum!

Try the instructions given here:
For example:
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,
wyldckat 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
Fluent compliance with RHEL 4 hervé FLUENT 2 January 25, 2006 05:39

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