|
[Sponsors] |
October 25, 2011, 10:26 |
|
#61 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The compiler you have: where did you get him from? MacPorts, Fink or self-compiled? |
||
October 25, 2011, 22:40 |
|
#62 |
Senior Member
Matthew Denno
Join Date: Feb 2010
Posts: 138
Rep Power: 16 |
Unfortunately I think the problem you are dealing with is a bit over my head. Based on what you previously posted it looks like we both basically did the same thing and it worked for me. It looks like the only thing that you did differently was install openmpi from macports, which I didn't do...doesn't seem like that would cause your problem though.
The only other thing I can think of (and I really have no idea if this is relavent) is that I installed the scipy superpack [http://stronginference.com/scipy-superpack/] before compiling OpenFOAM which included installing a gfortran compiler which could have included some libraries that were needed? If there is anything that I can check on my machine to help you out I am happy to... MD |
|
October 26, 2011, 11:36 |
|
#63 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Florian: please try to compile a simple HelloWorld like I suggested a fex posts ago (just the first part from http://pages.cs.wisc.edu/~beechung/ref/gcc-intro.html). If that doesn't work then the compiler installation has a problem and you should consider reinstalling it |
||
October 29, 2011, 17:47 |
|
#64 |
New Member
Flo bucken
Join Date: Mar 2009
Location: Germany
Posts: 8
Rep Power: 17 |
Dear Gschaider,
I compiled the small "Hello Wold" c++-program without any problem. I´m using gcc4.5.3. I got it from macports... Dear Mgdenno, I tried compiling OpenFOAM with the openmpi from macports and with openmpi from the ThirdParty-folder. Both with the same result. Greetings |
|
October 30, 2011, 05:20 |
|
#65 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- You've got a working compiler (gcc45 from MacPorts) - When compiling you encounter lots of errors on cwchar What is unclear to me is: when does this error happen the first time. During compilation of the ThirdParty-stuff or of OF itself. Could you please post from the first time this error happens - the compiler call - the first few errors (the most important error is not the one you see most often, but the one that happens first) |
||
January 22, 2012, 07:24 |
|
#66 |
New Member
Benjamin Stanke
Join Date: Sep 2011
Posts: 18
Rep Power: 15 |
Hello together,
do someone know is there meanwhile a solution to use "mpirun" in openFoam on Lion? Thanks. |
|
February 20, 2012, 10:12 |
Library not loaded
|
#67 |
New Member
Arnaud J
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Hi,
I'm trying to generate the mesh with "blocmesh" in a tutorial but apparently one library was not loaded. These are the lines on my terminal... h-191-245:cavity arnaudjacques$ blockMesh dyld: Library not loaded: /usr/lib/libmpi.0.dylib Referenced from: /Users/arnaudjacques/OpenFOAM/OpenFOAM-2.0.x/platforms/darwinIntel64Gcc45DPOpt/lib/openmpi-system/libPstream.dylib Reason: image not found Trace/BPT trap: 5 How can I deal with this pb? thx |
|
February 21, 2012, 12:42 |
|
#68 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Check with ls /usr/lib/libmpi* if there is ANYTHING MPIish there. If there is not then it is hard for me to see how you could compile it anyway. |
||
February 21, 2012, 12:54 |
|
#69 |
New Member
Arnaud J
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
Thanks Bernhard
the version i have comes from this website http://www.optimulation.com/category.../installation/ When I copy ls /usr/lib/libmpi* in my terminal it's said there is no such file or directory... |
|
February 21, 2012, 13:55 |
|
#70 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
March 24, 2012, 18:49 |
|
#71 |
New Member
Giovani Haryadi
Join Date: Mar 2012
Posts: 2
Rep Power: 0 |
I tried patch all but it seemed not working in my computer :
Giovanis-MacBook-Pro:OpenFOAM-2.0.x giovaniharyadi$ patch -pl < OpenFOAM-2.0.x-Mac.patch patch: **** strip count l is not a number Can anyone help me? Thank you |
|
March 27, 2012, 16:59 |
Is there a restriction for gcc45 on Mac-10.6?
|
#72 |
New Member
Alonso
Join Date: Mar 2012
Posts: 1
Rep Power: 0 |
Hi,
Attempting 2.0.x I was following the instructions from http://www.optimulation.com/category/openfoam/ and http://macopenfoam.blogspot.com/p/detailed-setup.html After attempting both in different scenarios I come to a cul-de-sac and the message ~/OpenFOAM no file-directory appears. I am under the impression that gcc45 cannot be used for this but I have no answer. Any help is well received! |
|
March 27, 2012, 18:47 |
|
#73 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
You misstyped the command. It should say -p1. Not -pl (I think the error message is very clear about what is required)
|
|
March 28, 2012, 08:55 |
|
#74 |
New Member
Jie Qin
Join Date: Mar 2011
Posts: 8
Rep Power: 15 |
I download the Sparseimage and install the OpenFOAM following the instructions:
(My system is 10.7.3. A tutorial from YouTube successfully installed the OF to 10.7.2 following this instruction.) 1. Install Macports for Lion. 2. sudo port install gcc45 3. sudo port install openmpi +gcc45 4. Extract Mac-OF-2.0.x.sparseimage.zip, and mount the image 5. >> cd ~ >> ln -sf /Volumes/Mac-OF-2.0.x OpenFOAM >> cd OpenFOAM >> ln -sf ~/Documents/OF-User ‘whoami’-2.0.x >> cd ~ >> vi .profile and add this line . ~/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc Quit and restart Terminal… When I restart Terminal, following errors appeared, Please give me some advices. -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: /bin/sh: bad interpreter: Operation not permitted |
|
March 28, 2012, 16:46 |
|
#75 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fluent @ Mac OSx | ignazio | FLUENT | 12 | July 25, 2017 07:03 |
foamToTecplot360 on mac osx 10.6 SL | mohanamuraly | OpenFOAM | 0 | April 27, 2011 00:26 |
Mac OSX and Homebrew | egp | OpenFOAM Installation | 1 | February 15, 2011 10:21 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 05:06 |
OpenFOAM on mac OSX | Nick Colam | Main CFD Forum | 3 | January 27, 2009 00:06 |