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

Problem when installing Openfoam 2.0.x with mac

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2012, 18:45
Default Problem when installing Openfoam 2.0.x with mac
  #1
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:http://sourceforge.net/projects/macopenfoam/files/: )
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

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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Meshing & Mesh Conversion 2 June 18, 2011 04:36
OpenFOAM 1.7 installation on Mac pepe.aero OpenFOAM Installation 0 April 16, 2011 12:32
Problem installing OpenFOAM on Fedora 10 ptb OpenFOAM Installation 8 March 29, 2011 14:46


All times are GMT -4. The time now is 15:40.