|November 7, 2013, 05:00||
Problem with spaces in paraFoam execution
Join Date: Jul 2013
Posts: 85Rep Power: 5
I'm running a parallel ParaView 4.0.1 pre-built binary download using the multicore option that the settings in paraview offers. I'm also running OpenFOAM-2.2.2 and have made a couple of changes to the paraFoam file so that I can match these two up hopefully easily instead of using all of the ThirdParty.tar.gz files available with OpenFOAM.
The changes I've made are
When I go to a case directory (I'm using the cavity tutorial for simplicity) and type paraFoam, I get
$ paraFoam created temporary 'cavity.foam' AutoMPI: SUCCESS: command is: "/home/christian/Downloads/ParaView-4.0.1-Linux-64bit/lib/paraview-4.0/mpiexec" "-np" "6" "/home/christian/Downloads/ParaView-4.0.1-Linux-64bit/lib/paraview-4.0/pvserver" "--server-port=54130" AutoMPI: starting process server -------------- server output -------------- Waiting for client... AutoMPI: server successfully started. Cannot open data file " cavity.foam "
it "Cannot open data file " cavity.foam ""
I looked through the paraFoam file, but can find no spaces enclosed within quotation marks that would need to not be there.
What am I missing? And is it the spaces that are the problem?
Thank you in advance
|November 9, 2013, 16:06||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 99
Interesting bug! Unfortunately those spaces are a misleading error message.
The actual problem is that the file "cavity.foam" is not being found by ParaView's pvserver, because the automatic parallel mechanism is launching the executable from its own folder, namely at:
I also have ParaView 4.0.1 handy, using an alias... which I'll write about in a bit. In the meantime, the solution is to give the full path to the file, e.g.:
alias paraFoam4='(. $WM_PROJECT_DIR/etc/config/unset.sh; touch case.foam && $HOME/OpenFOAM/ParaView-4.0.1-Linux-64bit/bin/paraview --data=$PWD/case.foam)'
|openfoam 2.2.2, parafoam, paraview 4.0.1|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Post processing problem in Xfce desktop environment using paraFoam||tariq||OpenFOAM Paraview & paraFoam||4||July 8, 2013 10:09|
|UDF execution problem||argeus||Fluent UDF and Scheme Programming||4||April 15, 2011 14:04|
|Problem in parafoam data import/visualization||beto||OpenFOAM Paraview & paraFoam||2||September 11, 2009 08:32|
|Problem with paraFoam (ubuntu 9.04)||peb||OpenFOAM Paraview & paraFoam||4||August 24, 2009 09:50|
|problem with paraFoam||mauro||ParaView||0||August 24, 2009 07:33|