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

[OpenFOAM.org] OpenFOAM 2.3.0 Installation Problem on CentOS 6.6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
Rep Power: 12
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
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 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


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
[Other] OpenFoam installation on CentOS 7 32 bits donminoti OpenFOAM Installation 3 January 31, 2016 07:19
[OpenFOAM.org] Installation of OpenFOAM 2.3.0 on SSH RHEL 6.2 Santiago jyang1 OpenFOAM Installation 6 August 26, 2015 19:47
[OpenFOAM.org] Problem of openFOAM 2.3.1 installation in Ubuntu 14.04LTS mukut OpenFOAM Installation 9 January 19, 2015 01:48
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 09:57.