|
[Sponsors] |
paraFoam command no longer working after upgrading to Ubuntu 13.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2013, 09:06 |
paraFoam command no longer working after upgrading to Ubuntu 13.04
|
#1 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Hi all.
I suspect this to be a relatively simple error on my part, but I don't know much about linux and googling hasn't helped me, so i'm a bit lost. I recently upgraded to Ubuntu 13.04, and now everytime i try and run the paraFoam command I get the following error : Code:
created temporary 'whirl_0.05r_0.01in_4.0w.OpenFOAM' bytesRead < bytesLeft bytesRead 0 bytesLeft512 Read float past end of buffer Read float past end of buffer bytesRead < bytesLeft bytesRead 0 bytesLeft512 Read float past end of buffer Read float past end of buffer Warning in: /build/buildd/paraview-3.98.0/Plugins/SciberQuestToolKit/BOVReader.cxx, line 76 This class requires the MPI runtime, you must run ParaView in client-server mode launched via mpiexec. Warning in: /build/buildd/paraview-3.98.0/Plugins/SciberQuestToolKit/BOVReader.cxx, line 76 This class requires the MPI runtime, you must run ParaView in client-server mode launched via mpiexec. ERROR: In /build/buildd/paraview-3.98.0/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 307 vtkSISourceProxy (0x31f8630): Failed to create vtkAdiosPixieReader. Aborting for debugging purposes. |
|
April 29, 2013, 09:24 |
|
#2 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
I've also just tried reinstalling openfoam. I still have the same problem.
|
|
April 29, 2013, 11:03 |
|
#3 |
New Member
William
Join Date: Apr 2013
Posts: 11
Rep Power: 13 |
How did you install paraview?
Code:
sudo apt-get install paraview Code:
sudo apt-get install paraviewopenfoam3120 The only thing I had to do special was change the mirror it was accessing. OpenFOAM.org says to use: Code:
VERS=$(lsb_release -cs) sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list" Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu precise main > /etc/apt/sources.list.d/openfoam.list" |
|
April 30, 2013, 06:29 |
|
#4 |
Member
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14 |
Thanks for the help! I don't quite have it working yet though. If anyone else is trying this, remember to type:
Code:
sudo apt-get update Code:
/opt/openfoam220/bin/paraFoam: 267: /opt/openfoam220/bin/paraFoam: paraview: not found |
|
April 30, 2013, 08:32 |
|
#5 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17 |
With Ubuntu 13 and paraview 3.98.0, I get some crash with 3D mesh.
If someone wants a quick solution: 1) remove paraview 3.98.0 (exp1) 2) download the last paraview binary installer (3.98.1) : http://www.paraview.org/paraview/resources/software.php 3) extract everything to your home folder. 4) add an alias to your bash. At the end of the file, add something like Code:
alias para='/home/YourName/ParaView-3.98.1-Linux-64bit/bin/paraview' |
|
May 18, 2013, 12:12 |
|
#6 |
New Member
Eduard Englberth
Join Date: Aug 2012
Location: Vrchlabí
Posts: 6
Rep Power: 14 |
Hello all,
the solution is quite simple. The paraFoam is a script and you can run it with parameters. The paraFoam script file you can find in /opt/openfoam220/bin. Simply start the paraView application with paraFoam -builtin command and the application starts as before. Usage: ${0##*/} [OPTION] [PARAVIEW_OPTION] options: -block use blockMesh reader (uses .blockMesh extension) -builtin use VTK builtin OpenFOAM reader (uses .foam extension) -case <dir> specify alternative case directory, default is the cwd -region <name> specify alternative mesh region -touch only create the file (eg, .blockMesh, .OpenFOAM, etc) -touchAll create .blockMesh, .OpenFOAM files (and for all regions) -help print the usage I hope it will help you. Eduard |
|
June 23, 2013, 02:19 |
|
#7 |
New Member
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13 |
Hi Eduard,
the solution you have given is quiet simple. But as I'm a new user of OpenFOAM and don't have much idea of Ubuntu, couldn't understand your solution clearly. As you have paraFoam script file can be find in /opt/openfoam220/bin, what to after that? Could you please explain a little bit more? Thanks! Tariq
__________________
tariqridwan.github.io/ |
|
June 23, 2013, 02:21 |
|
#8 | |
New Member
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13 |
Quote:
Is paraFoam running in your computer now? If yes, can you please help me installing it?
__________________
tariqridwan.github.io/ |
||
June 24, 2013, 09:13 |
|
#9 |
New Member
Eduard Englberth
Join Date: Aug 2012
Location: Vrchlabí
Posts: 6
Rep Power: 14 |
Hello Tariq,
Once you have paraView installed (use the installation manual on openFoam page) you normally start the application from terminal window using the command paraFoam (note: you must be in your solved task directory). Unfortunately, this does not work at Ubuntu 13.04. However, if you start the paraView by command "paraFoam -builtin", it starts the paraView and loads your calculated task. I hope it helps you now. Eduard |
|
June 24, 2013, 09:28 |
|
#10 | |
New Member
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13 |
Quote:
thank you very much, it's working now!
__________________
tariqridwan.github.io/ |
||
Tags |
parafoam, paraview, ubuntu 13.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working | Leech | OpenFOAM Installation | 8 | August 10, 2014 21:42 |
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY | raketenmaid | ParaView | 4 | February 5, 2013 06:20 |
Filter menu of ParaView is disabled after upgrading from Ubuntu 10.04 to 10.10 | maysmech | OpenFOAM | 12 | July 19, 2011 17:13 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
[OpenFOAM] Problem with paraFoam (ubuntu 9.04) | peb | ParaView | 4 | August 24, 2009 10:50 |