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

Installing OpenFOAM 2.1.1 on CentOS 5.x

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

Like Tree1Likes
  • 1 Post By wyldckat

LinkBack Thread Tools Display Modes
Old   October 10, 2012, 06:43
Default Installing OpenFOAM 2.1.1 on CentOS 5.x
New Member
Join Date: Mar 2011
Location: Germany
Posts: 25
Rep Power: 6
phuchuynh is on a distinguished road
Originally Posted by wyldckat View Post
./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 "" , but
I commanded code and had some trouble :
-bash: mpicc: command not found
-bash: mpicc: command not found
My PC have "mpicc" in "/opt/openmpi/bin/mpicc"

phuchuynh is offline   Reply With Quote

Old   October 10, 2012, 16:58
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,933
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:

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:
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,
phuchuynh likes this.
wyldckat is online now   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
Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 22 January 21, 2013 12:51
probes function not working in Openfoam 2.1.1 nandiganavishal OpenFOAM 7 July 26, 2012 11:06
OpenFOAM Foundation Releases OpenFOAMŪ Version 2.1.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 May 31, 2012 09:07
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06: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 06:25

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