paraFoam Error on Mac 10.8.2 (mountain lion)
I have a working recompiled OpenFoam on my OSX 10.8.2 (I followed the instructions http://www.optimulation.com/2013/03/...n-lion-10-8-3/)
Then I downloaded the paraview4.0.0 and placed it into my /Applications folder I tried running the cavity test run with the commands in the OpenFoam/OpenFOAM-2.2.0/tutorials/incompressible/icoFoam/cavity directory: Code:
blockMesh (produced initial value input files) Code:
############################### When I open up the directory: /OpenFoam-v2.2/applications/utilities/postProcessing/graphics/PV3Readers/ and open the Allwmake executable with a text editor, I found the following content: Code:
############################### When I echoed these two variables in the terminal, I found them to be empty. Now, there is one source on this forum that I found that is relevant (post #8): http://www.cfd-online.com/Forums/ope...d-problem.html However, when I searched for the mac equivalent folder: /OpenFOAM-2.2.0/platforms/darwininteL64GccDPOpt/lib no paraview-3.12 or any version variation can be found. The closest thing that I was able to find was: /Applications/paraview.app/Contents/MacOS/paraview Now my question is: How do I fix this problem and run paraFoam on OSX? do I simply need the correct paths for the two variables listed? if so, what are they? Please advise. |
Greetings Mike and welcome to the forum!
Check these instructions: http://openfoamwiki.net/index.php/Ho...using_ParaView - namely section "Installing and using ParaView" Best regards, Bruno |
FATAL ERROR: ParaView reader module libraries do not exist
I tried the same link but eventually ended up installing the binary paraView 4.0 app
My .alias file now looks like: alias paraview="/Applications/paraview.app/Contents/MacOS/paraview" alias paraView="/Applications/paraview.app/Contents/MacOS/paraview" alias parax="touch case.foam && paraview --data=case.foam &" alias paraFoam="paraFoam -builtin" paraview will launch just fine but if i try to run paraview from paraFOAM I get the above message about missing pv3reader libraries Are these libs built at the same time as paraview? Since I have the paraview 4.0 in my Applications folder and being pointed to by the .alias file, how can I jump ahead in the paraview build process and just do the pv3reader libraries? or can I? Thanks |
Greetings Mike and welcome to the forum!
There is no building/compiling involved for ParaView on Mac OS X. You only need to install it, from the package provided at http://www.paraview.org As for having this working properly, does is work if you run: Code:
parax If not, then what happens if you run the following two commands? Code:
alias parax Bruno |
testing parax
/Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > parax
[1] 2218 /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid [1]+ Done touch case.foam && /Applications/paraview.app/Contents/MacOS/paraview --data=case.foam /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > alias parax alias parax='touch case.foam && paraview --data=case.foam &' /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > alias paraFoam alias paraFoam='paraFoam -builtin' /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > |
Hi Mike,
This seems strange... What happens if you run ParaView directly from the command line? Namely if you simply run: Code:
/Applications/paraview.app/Contents/MacOS/paraview Best regards, Bruno |
Testing parax
Nope. The paraview window comes up as expected and stays until I dismiss it.
|
OK, try replacing the 4 lines you have in ".alias" with this single one:
Code:
alias paraFoam="touch case.foam && /Applications/paraview.app/Contents/MacOS/paraview --data=case.foam" Code:
source ~/.alias Code:
paraFoam |
PV3Reader libraries missing
Still the same problem:
Code:
/Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > paraFOAM |
Hi Mike,
Mmmm... Perhaps you didn't notice this very important detail: Quote:
Code:
paraFoam Code:
paraFOAM Therefore, please try using the exact command: Code:
paraFoam Bruno |
ParaView/paraFoam installation trouble
Hi guys,
I'm having the exact same problem; however, I'm much less familiar with open source software (and Terminal in general, I should clarify...) and have no idea what a .alias file is, or how to create/edit one. I've followed the instructions on the page http://openfoamwiki.net/index.php/Ho...enFOAM_v21_Mac and have all the OpenFOAM commands working properly up until the ParaView installation. Is anyone able to clarify those instructions, please? :) dreamer ps. I should probably also add that I've searched all the corners of the internet that google will give me access to without any luck in finding a solution. >.< |
Greetings Rachel and welcome to the forum!
I've updated the instructions: http://openfoamwiki.net/index.php/Ho...using_ParaView - let me know if it's now easier to understand. As for understanding how the terminal works: http://linuxcommand.org/learning_the_shell.php Best regards, Bruno |
Thanks so much, Bruno! The clarifications were perfect, and I have paraFoam working seamlessly now. There was just one thing I had noticed: the wiki says to use the code
Quote:
Quote:
Thanks again for your help! Rachel |
Installation problem
Hello,
I m a french student in university of Rouen. I have to install paraFoam and can't make it! I have this error message : ew-host-4:OpenFOAM-2.2.0 IdFx$ ./Allwmake ./Allwmake: line 4: wmakeCheckPwd: command not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. Do you have a solution to help me please? Thank you |
Greetings IdFx and welcome to the forum!
There is absolutely no need to build ParaView/paraFoam on Mac OS X! Simply follow the instructions provided here: http://openfoamwiki.net/index.php/Ho...using_ParaView - namely in section "3 Installing and using ParaView". Best regards, Bruno |
Thank's fo your reply
It's not when I want to instal paraview this error appears when I try to install openFoam when the tutorial. all seems to be good and when i try to install openFoam it doesn't work i have to work on openfoam to study fluid modelisation for my 2nd master degree. |
If the problem is with building OpenFOAM 2.2, then please read this thread: http://www.cfd-online.com/Forums/ope...-mac-os-x.html
|
All times are GMT -4. The time now is 14:37. |