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

OpenFOAM 2.3.0 Installation Problem on CentOS 6.6

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2014, 04:42
Question OpenFOAM 2.3.0 Installation Problem on CentOS 6.6
  #1
New Member
 
Yu-sen Niu
Join Date: Nov 2014
Posts: 15
Rep Power: 4
shenzhou1987 is on a distinguished road
Hello everyone!
Recently I'm installing OpenFOAM 2.3.0 on CentOS6.6, and it's a Virtual Machine built by VMware 10. According to the guide of source installation, I have installed gcc, openmpi and everything. Before beginning installation I checked their version by executing cmd in the terminal like this:
$gcc --version
$mpirun --version
And everything is OK, it shows gcc 4.7.2 and mpirun (Open MPI) 1.8.1.
Following the guide I added these words into .bashrc:
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
then I executed cmd:
$source .bashrc
No errors are reported, but when I check the version of mpirun again, the problem occured.
After I entered cmd $mpirun --version, it showed words as follow.
-----------------------------------------------------------------
Sorry! You were supposed to get help about:
opal_init:startup:internal-failure
But I couldn't open the help file:
/home/shenzhou1987/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/help-opal-runtime.txt: No such file or directory.Sorry!
-----------------------------------------------------------------
I don't know whether it's OK.And if I remove 'source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc' from file .bashrc, it will not appear. But in order to install OpenFOAM, I have to add these words into .bashrc. Then I execute './Allwmake' in folder 'OpenFOAM-2.3.0', and during the installation a warning message is reported as follow.
checking whether PMPI is enabled... no
configure: WARNING:***************************************
configure: WARNING:***VampirTrace cannot be built due to disabled MPI profiling.
configure: WARNING:***Pausing to give you time to read this message...
configure: WARNING:***************************************
So I don't know whether it will affect the installation or not. Can anybody give me some advice? Thank you.
shenzhou1987 is offline   Reply With Quote

Old   December 14, 2014, 14:34
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
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 shenzhou1987 and welcome to the forum!

Sorry for the really late reply, but I only managed to test the following (unofficial) instructions on CentOS 6.6 last week and they worked just fine: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.5

This to say that the problems you're witnessing are probably due to 2 possible situations:
  1. There is a conflict between the custom OpenFOAM 1.6.5 version that OpenFOAM built, versus the 1.8.1 you have installed in your system.
  2. There might be a conflict of gcc vs g++ versions:
    Code:
    gcc --version
    g++ --version
    If they are different, then it's natural that things are not working as intended.
If you choose to follow the installation instructions from the wiki, keep in mind that they will instruct you to build another GCC version, namely 4.8.1.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

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
OpenFOAM 2.3.0 on CentOS 6.5 entropies OpenFOAM Installation 31 Yesterday 05:58
problem with parmetis-3.1.1 installation for openfoam 1.6-ext achyutan OpenFOAM Installation 11 October 26, 2012 18:18
Openfoam installation problem jose soto OpenFOAM Installation 4 August 9, 2011 01:29
OpenFOAM 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 16:30
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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