|
[Sponsors] |
May 30, 2013, 05:45 |
paraFoam Error on Mac 10.8.2 (mountain lion)
|
#1 |
New Member
Mike
Join Date: May 2013
Posts: 1
Rep Power: 0 |
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) icoFoam (produced text results) paraFoam Code:
############################### FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake ############################### 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:
############################### #!/bin/sh cd ${0%/*} || exit 1 # run from this directory #set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then [ -n "$PV_PLUGIN_PATH" ] || { echo "$0 : PV_PLUGIN_PATH not valid - it is unset" exit 1 } # ensure CMake gets the correct C++ compiler [ -n "$WM_CXX" ] && export CXX="$WM_CXX" wmake libso vtkPV3Readers PV3blockMeshReader/Allwmake PV3FoamReader/Allwmake else echo "ERROR: ParaView not found in $ParaView_DIR" fi # ----------------------------------------------------------------- end-of-file ################################# 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. Last edited by wyldckat; October 16, 2013 at 16:11. Reason: Added [CODE][/CODE] |
|
June 8, 2013, 18:14 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 9, 2013, 22:23 |
FATAL ERROR: ParaView reader module libraries do not exist
|
#3 |
New Member
Mike Page
Join Date: Aug 2013
Posts: 4
Rep Power: 13 |
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 |
|
September 10, 2013, 17:41 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 alias paraFoam Bruno
__________________
|
|
September 10, 2013, 17:56 |
testing parax
|
#5 |
New Member
Mike Page
Join Date: Aug 2013
Posts: 4
Rep Power: 13 |
/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 $ > |
|
September 10, 2013, 18:13 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 10, 2013, 18:16 |
Testing parax
|
#7 |
New Member
Mike Page
Join Date: Aug 2013
Posts: 4
Rep Power: 13 |
Nope. The paraview window comes up as expected and stays until I dismiss it.
|
|
September 10, 2013, 18:42 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 13, 2013, 13:47 |
PV3Reader libraries missing
|
#9 |
New Member
Mike Page
Join Date: Aug 2013
Posts: 4
Rep Power: 13 |
Still the same problem:
Code:
/Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > paraFOAM + unset FOAM_ABORT + unset regionName optTouch + export LC_ALL=C + LC_ALL=C + extension=OpenFOAM + requirePV=1 + '[' 0 -gt 0 ']' + '[' 1 -eq 1 -a '!' -f /Users/mpage/OpenFOAM/OpenFOAM-2.2.x/platforms/darwinIntel64GccDPOpt/lib/paraview-3.12/libPV3FoamReader_SM.so ']' + cat FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake + exit 1 /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > ls -l /Users/mpage/OpenFOAM/OpenFOAM-2.2.x/platforms/darwinIntel64GccDPOpt/lib/paraview-3.12/libPV3FoamReader_SM.so ls: /Users/mpage/OpenFOAM/OpenFOAM-2.2.x/platforms/darwinIntel64GccDPOpt/lib/paraview-3.12/libPV3FoamReader_SM.so: No such file or directory /Users/mpage/OpenFOAM/mpage-2.2.x/run/tutorials/incompressible/icoFoam/cavity $ > Last edited by wyldckat; October 16, 2013 at 16:12. Reason: Added [CODE][/CODE] |
|
September 14, 2013, 09:10 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
September 16, 2013, 00:58 |
ParaView/paraFoam installation trouble
|
#11 |
New Member
Rachel R.
Join Date: Aug 2013
Posts: 2
Rep Power: 0 |
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. >.< |
|
September 21, 2013, 16:31 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 21, 2013, 23:24 |
|
#13 | ||
New Member
Rachel R.
Join Date: Aug 2013
Posts: 2
Rep Power: 0 |
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 |
|||
October 16, 2013, 14:10 |
Installation problem
|
#14 |
New Member
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
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 |
|
October 16, 2013, 16:05 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
October 16, 2013, 16:09 |
|
#16 |
New Member
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
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. |
|
October 16, 2013, 16:13 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
Tags |
mac, mountain lion, openfoam, parafoam, paraview |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2.1 installation on Mountain Lion help please! | PeteH | OpenFOAM Installation | 4 | April 23, 2013 11:23 |
installation on mac os x lion | achyutan | OpenFOAM Installation | 1 | February 28, 2013 09:15 |
Installing OpenFoam 2.1.1 on OS X 10.8.2 (Mountain Lion) | TomGEO | OpenFOAM Installation | 11 | December 11, 2012 12:08 |
[OpenFOAM] Save animation bug in paraFoam on Mac OSX | deinstein | ParaView | 3 | May 1, 2010 16:29 |