|
[Sponsors] |
April 30, 2012, 13:46 |
ulimit issue
|
#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. |
|
April 30, 2012, 18:45 |
|
#62 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
__________________
|
|
May 10, 2012, 08:58 |
|
#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 |
|
May 10, 2012, 09:15 |
|
#64 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
__________________
|
|
May 10, 2012, 09:46 |
|
#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 |
|
May 10, 2012, 10:02 |
|
#66 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 10:03. Reason: didn't preview... |
||
May 10, 2012, 15:14 |
|
#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 ?
|
|
May 10, 2012, 15:27 |
|
#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 15:28. Reason: not multi |
||
May 10, 2012, 15:38 |
|
#69 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 |
well, how can I test that WM_NCOMPPROCS is not set ?
|
|
May 10, 2012, 15:52 |
|
#70 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Bruno
__________________
|
|
May 10, 2012, 16:14 |
|
#71 |
New Member
Heba
Join Date: Apr 2012
Posts: 9
Rep Power: 14 |
Thanks a lot for replaying..
|
|
May 11, 2012, 06:35 |
|
#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 |
|
May 11, 2012, 07:16 |
|
#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"
|
|
May 11, 2012, 07:24 |
|
#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 |
||
May 11, 2012, 08:33 |
|
#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 |
||
May 11, 2012, 09:30 |
|
#76 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
__________________
|
|
May 29, 2012, 07:35 |
|
#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 12:52. |
|
May 29, 2012, 16:41 |
|
#78 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 See here: 2.6.1 Diagnosing problems Best regards, Bruno
__________________
|
|
May 29, 2012, 18:37 |
|
#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) |
||
May 29, 2012, 18:43 |
|
#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 |
|
|
Similar Threads | ||||
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 17:50 |
Openfoam mac: Compiling custom libraries | atareen64 | OpenFOAM | 3 | April 14, 2011 12:01 |
OpenFOAM-1.6 on Mac OS X 10.6.1 | elvisjohndowson | OpenFOAM | 6 | October 21, 2009 16:45 |
Mac Simple Install Request or Processing Assistance Help | sjohnson | OpenFOAM Installation | 4 | December 12, 2008 08:46 |
MAC + SOLA for free surface | T | Main CFD Forum | 1 | April 11, 2001 14:43 |