Quote:
The compiler you have: where did you get him from? MacPorts, Fink or self-compiled? |
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 |
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 |
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 |
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) |
Hello together,
do someone know is there meanwhile a solution to use "mpirun" in openFoam on Lion? Thanks. |
Library not loaded
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 |
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. |
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... |
Quote:
|
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 |
Is there a restriction for gcc45 on Mac-10.6?
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! |
Quote:
|
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 |
Quote:
|
All times are GMT -4. The time now is 01:40. |