|
[Sponsors] |
![]() |
![]() |
#61 |
New Member
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Hi,
I believe the ulimit issue is due to copying and pasting from the code from the wikipage (which is not plain text). If you do this, you won't be able to save the bashrc the file in the "Western (Mac OS Roman)" format and it will force you to save as "Unicode (UTF-6)", or something like that. You need to just type in the two line of code manually and then you'll be good. |
|
![]() |
![]() |
![]() |
![]() |
#62 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi dsh5400 and welcome to the forum!
Thanks for the input! I've updated the wiki page to reflect your feedback: http://openfoamwiki.net/index.php/Ho...hes_and_tweaks Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#63 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
After building openfoam, I got this message " Target `application' not remade because of errors.".
building took more than 24 hrs.... ![]() make.log.tar.gz |
|
![]() |
![]() |
![]() |
![]() |
#64 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Heba and welcome to the forum!
Did you read and follow to the letter what is written here: http://openfoamwiki.net/index.php/Ho...enFOAM_v21_Mac ![]() Because the errors that I could see in your log file indicate two or more problems:
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#65 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Yes I followed all instructions....
but when I type 'gcc -v' it indicates the version is 4.2.1 and when I type 'gcc-mp-4.6 -v' it indicates the version is 4.6 sorry if it seem to be stupid ![]() Thanks |
|
![]() |
![]() |
![]() |
![]() |
#66 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Heba,
Sorry about that, I don't have a Mac to proof-test the instructions and only after your log file did I make the connection. The instructions were missing an important step - http://openfoamwiki.net/index.php/Ho...hes_and_tweaks : Quote:
Bruno
__________________
Last edited by wyldckat; May 10, 2012 at 09:03. Reason: didn't preview... |
||
![]() |
![]() |
![]() |
![]() |
#67 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Thank you for replaying...I will rebuild it again..but not now because while building I cannot interact with my laptop and it takes more than 24 hrs...is that normal ?
|
|
![]() |
![]() |
![]() |
![]() |
#68 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
Also make sure that WM_NCOMPPROCS is not set. If 2 or more compilers run in parallel on a Single-core then the problem gets worse ("the swap of death") Starting the compilation with nice ./Allwmake should also make it ... nicer Last edited by gschaider; May 10, 2012 at 14:28. Reason: not multi |
||
![]() |
![]() |
![]() |
![]() |
#69 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
well, how can I test that WM_NCOMPPROCS is not set ?
|
|
![]() |
![]() |
![]() |
![]() |
#70 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#71 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Thanks a lot for replaying..
|
|
![]() |
![]() |
![]() |
![]() |
#72 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Hi,
I have that error when applying the patch of ThirdParty Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file scotch_5.1.11/src/Makefile.inc.rej |
|
![]() |
![]() |
![]() |
![]() |
#73 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Whats in that file? Because that says "I can't apply THESE changes because the original file is different from what I'm expecting"
|
|
![]() |
![]() |
![]() |
![]() |
#74 | |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 ![]() |
Quote:
*************** *** 1 **** - ../../etc/wmakeFiles/scotch/Makefile.inc.i686_pc_linux2.shlib-OpenFOAM-64--- 1 ---- + ../../etc/wmakeFiles/scotch/Makefile.inc.i686_mac_darwin.shlib-OpenFOAM |
||
![]() |
![]() |
![]() |
![]() |
#75 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
Code:
../../etc/wmakeFiles/scotch/Makefile.inc.i686_pc_linux2.shlib-OpenFOAM-64 Code:
./../etc/wmakeFiles/scotch/Makefile.inc.i686_mac_darwin.shlib-OpenFOAM |
||
![]() |
![]() |
![]() |
![]() |
#76 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
That's just a symbolic link reference. It will be automatically re-generated by Allwmake, so I think that error can be ignored
![]()
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#77 |
New Member
Theo
Join Date: May 2012
Posts: 2
Rep Power: 0 ![]() |
Thanks guys!
I've a problem, I have installed openmpi via port but when I source etc/bashrc I can run openmpi anymore. Is this a problem? My compilation has crashed after 3 hours. Last edited by theoenderest; May 29, 2012 at 11:52. |
|
![]() |
![]() |
![]() |
![]() |
#78 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Theo and welcome to the forum!
There is a subsection on what to do when things go wrong ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#79 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 ![]() ![]() |
Quote:
![]() I used to have similar problems with 10.6 because the preinstalled openmpi clashed with the MacPorts-version. Which OS-version do you have What do you mean with crash? Or do you mean it reports some errors in the end? (depends on the errors whether this is a problem) |
||
![]() |
![]() |
![]() |
![]() |
#80 |
New Member
Theo
Join Date: May 2012
Posts: 2
Rep Power: 0 ![]() |
I have Lion 10.7. I got allot of error 2 messages. I threw the whole partition away out of anger. Also the first instance when running the patch-Mac-gcc46 it gave errors.
I'm trying to install it on a memory stick not on a partition on the hard drive do you think this could be the problem? (it is partitioned journaled case sensitive.) I'm going to get some rest first tonight and maybe try tomorrow again. :P I've done all the step 3 times now without success. :P I'll post my logs tomorrow, I'm sorry I didn't post it, but this is very new for me, I'm just learning. |
|
![]() |
![]() |
![]() |
Tags |
compilation error |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extend Project 1.6-ext Binary Release for Mac OS X | hjasak | OpenFOAM Announcements from Other Sources | 26 | November 5, 2013 16:50 |
Openfoam mac: Compiling custom libraries | atareen64 | OpenFOAM | 3 | April 14, 2011 11:01 |
OpenFOAM-1.6 on Mac OS X 10.6.1 | elvisjohndowson | OpenFOAM | 6 | October 21, 2009 15:45 |
Mac Simple Install Request or Processing Assistance Help | sjohnson | OpenFOAM Installation | 4 | December 12, 2008 07:46 |
MAC + SOLA for free surface | T | Main CFD Forum | 1 | April 11, 2001 13:43 |