Installing OpenFoam2.2.2 on Mac OS X Mavericks
1 Attachment(s)
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. |
Solved
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 |
Quote:
May I have some guidelines about installing openforam in mac os x mavericks Thanks |
Hi this is the wiki page I used.
http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2 Good luck, Andy. |
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 |
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. |
Quote:
how can i fix them |
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. |
Compile error for Installation/Mac OS/OpenFOAM 2.2.2
1 Attachment(s)
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 |
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 |
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 |
Quote:
|
Quote:
No info provided in wiki |
Quote:
But still those commands can't be found |
In the Wiki is provided how to install openmpi. Supposing you correctly installed Macports
Code:
sudo port install openmpi ;) |
All times are GMT -4. The time now is 05:21. |