|
[Sponsors] |
Installing OpenFoam2.2.2 on Mac OS X Mavericks |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 18, 2013, 18:56 |
Installing OpenFoam2.2.2 on Mac OS X Mavericks
|
#1 |
New Member
Andy Lowe
Join Date: Dec 2010
Posts: 10
Rep Power: 16 |
Hi, I've followed the wiki installation process for installing OpenFoam2.2.2 on mac os x Mavericks (Installation/Mac OS/OpenFOAM 2.2.2). There's an error early on in the process when trying to compile Scotch. I've attached the log file.
Can anyone shed light on what I've done wrong. Many Thanks, Andy. |
|
December 24, 2013, 12:01 |
Solved
|
#2 |
New Member
Andy Lowe
Join Date: Dec 2010
Posts: 10
Rep Power: 16 |
Hi, I managed to solve this using the posts on this forum. Thank you to everyone that posted it helped tremendously. The main learning points for me were :
Follow the procedure mentioned above with the following tweaks: 1. use WM_MPLIB=MACPORTOPENMPI : if you have recently installed Mavericks, make sure you reinstall your ports as macports recommend. I used the +gcc46 variant for the openmpi port. 2. ensure that the options files are written correctly. I found quite a few errors where comments or carriage returns had been added. The log file can be used to find which options files are incorrect. 3. delete the /*-lsolidThermo*/ \ flag comment in the OpenFOAM2.2.2/src/fvOptions/Make/darwinIntel64Gcc46DPOpt/options file. Good luck, I learned a vast amount reading the forum |
|
December 25, 2013, 08:35 |
|
#3 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Quote:
May I have some guidelines about installing openforam in mac os x mavericks Thanks |
||
December 25, 2013, 08:53 |
|
#4 |
New Member
Andy Lowe
Join Date: Dec 2010
Posts: 10
Rep Power: 16 |
Hi this is the wiki page I used.
http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2 Good luck, Andy. |
|
December 28, 2013, 10:25 |
|
#5 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Quote:
I have followed the instruction to install OpenFoam however, when I try to run one of cases in tutorial, those commands not find blockMesh icoFoam paraFoam Do you know what happens in my situation Thanks |
||
December 28, 2013, 10:36 |
|
#6 |
New Member
Andy Lowe
Join Date: Dec 2010
Posts: 10
Rep Power: 16 |
Hi, did you get any compile errors? If it compiled without errors then you need to open a new terminal and source the bashrc file in OpenFOAM/OpenFOAM-2.2.2/etc/
Andy. |
|
December 28, 2013, 10:53 |
|
#7 |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
||
December 28, 2013, 10:59 |
|
#8 |
New Member
Andy Lowe
Join Date: Dec 2010
Posts: 10
Rep Power: 16 |
Hi, find the first error then search on this forum for a solution. If you can't find a solution on the forum, then post the error on this thread along with your compile log. Someone will be able to solve the issue.
Andy. |
|
December 28, 2013, 12:34 |
Compile error for Installation/Mac OS/OpenFOAM 2.2.2
|
#9 |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Hi
I have followed every step in this instruction: http://openfoamwiki.net/index.php/In...es_and_patches In the section of 4 Diagnosis and Problems, I found such errors which I don't know how to fix them Probably due to these error, commands (blockMesh, icoFoam, paraFoam) can't be found when I try to run cavity case in tutorial I attached the log file for your assistance Many thanks |
|
December 28, 2013, 13:30 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@itsme_kit: The problem seems to be that something in the installation of Macports, XCode, GCC or standard C/C++ library did not go well. If you try to build a small C or C++ application, you should probably get a very similar error. Have a look into the older tutorial for OpenFOAM 2.1.x, in the respective section regarding the basic requirements: http://openfoamwiki.net/index.php/In...c_requirements Best regards, Bruno
__________________
|
|
December 28, 2013, 13:42 |
|
#11 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Quote:
I checked MPI installation by typing mpirun -v in the terminal I got a problem: -------------------------------------------------------------------------- No executable was specified on the mpirun command line. Aborting. -------------------------------------------------------------------------- I'm not sure what it means |
||
December 28, 2013, 13:52 |
|
#13 |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
||
December 28, 2013, 14:35 |
|
#14 |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
||
January 10, 2014, 12:35 |
|
#15 |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
In the Wiki is provided how to install openmpi. Supposing you correctly installed Macports
Code:
sudo port install openmpi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install OF 1.6.ext on Arch based distribution | miro2000 | OpenFOAM Installation | 4 | October 9, 2013 15:39 |
installation on mac os x lion | achyutan | OpenFOAM Installation | 1 | February 28, 2013 09:15 |
[swak4Foam] Installing swak4Foam to OpenFOAM in mac | Kaquesang | OpenFOAM Community Contributions | 22 | January 21, 2013 12:51 |
Problem when installing Openfoam 2.0.x with mac | giovaniharyadi | OpenFOAM Installation | 0 | March 24, 2012 19:45 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |