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

Installing OpenFOAM 2.1.1 on CentOS 5.x

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2012, 07:43
Default Installing OpenFOAM 2.1.1 on CentOS 5.x
  #1
New Member
 
Jindo
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 15
phuchuynh is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Code:
cd $WM_PROJECT_DIR
export WM_NCOMPPROCS=4
./Allwmake > make.log 2>&1
You can replace the 4 for the number of cores your machine has.
This is what is explained in the sections "Building the Sources" and "wmakeScheduler for faster compilation", although this last one is the generic version of second line I've shown in the code above.

Hi Bruno ,

I would like to install OpenFOAM-2.1.1 on it CentOS release 5.5 (x86_64). I use to install OpenFOAM in webpage "http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL" , but
I commanded code and had some trouble :
Code:
[phuc.ht@hpc OpenFOAM]$ source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc WM_NCOMPPROCS=4 WM_COMPILER=Gcc44 WM_MPLIB=SYSTEMOPENMPI
-bash: mpicc: command not found
-bash: mpicc: command not found
My PC have "mpicc" in "/opt/openmpi/bin/mpicc"


Phuc
phuchuynh is offline   Reply With Quote

Old   October 10, 2012, 17:58
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 Phuc,

I hope you don't mind, I moved your post to a new thread and assigned this thread for those instructions at the wiki, namely there: http://openfoamwiki.net/index.php/In...HEL#CentOS_5.8

As for the reported issue: if mpicc hasn't been found, then the reason should be because the commands on step #2 were not successful. If it didn't, you can try running the following command, which is the interactive alternative:
Code:
mpi-selector-menu
Or maybe because you didn't start a new terminal, as indicated in step #4.

Nonetheless, I haven't confirmed this with CentOS 5.5, so I can't be certain. I'll only be able to look into this next weekend... I think...

Best regards,
Bruno
phuchuynh likes this.
__________________
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
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 12:51
probes function not working in Openfoam 2.1.1 nandiganavishal OpenFOAM 7 July 26, 2012 12:06
OpenFOAM Foundation Releases OpenFOAMŪ Version 2.1.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 May 31, 2012 10:07
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25


All times are GMT -4. The time now is 03:22.