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

Problem when installing Openfoam 2.0.x with mac

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

LinkBack Thread Tools Display Modes
Old   March 24, 2012, 19:45
Default Problem when installing Openfoam 2.0.x with mac
New Member
Giovani Haryadi
Join Date: Mar 2012
Posts: 2
Rep Power: 0
giovaniharyadi is on a distinguished road
Hi Everyone,

I tried install Openfoam in mac and I followed this guide (source: )
HOWTO (only have to do all this ONCE):
1. Save the disk image (.sparseimage) in a convenient location
2. Mount the disk image; it will mount on /Volumes/Mac-OF-2.0.x
3. Do this in a terminal:
cd ~
ln -sf /Volumes/Mac-OF-2.0.x OpenFOAM
cd OpenFOAM
ln -sf ~/Documents/OF-User `whoami`-2.0.x
4. Edit your ~/.profile file in a text editor and add the following:
. ~/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc
5. Quit and reopen the Terminal application; OpenFOAM is ready

I have already install Xcode, gcc45 then After I edit ~/.profile, I got this on my terminal screen :
-bash: mpicc: command not found

I tried type icoFoam in terminal and the message :
Giovanis-MacBook-Pro:~ giovaniharyadi$ icoFoam
dyld: Library not loaded: /usr/lib/libmpi.0.dylib
Referenced from: /Users/giovaniharyadi/OpenFOAM/OpenFOAM-2.0.x/platforms/darwinIntel64Gcc45DPOpt/lib/openmpi-system/libPstream.dylib
Reason: image not found
Trace/BPT trap: 5

Please help me to solve this problem. Many thanks.
giovaniharyadi 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
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04:36
OpenFOAM 1.7 installation on Mac OpenFOAM Installation 0 April 16, 2011 12:32
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
Problem installing OpenFOAM on Fedora 10 ptb OpenFOAM Installation 8 March 29, 2011 14:46

All times are GMT -4. The time now is 10:52.