CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

paraFoam command no longer working after upgrading to Ubuntu 13.04

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2013, 09:06
Default paraFoam command no longer working after upgrading to Ubuntu 13.04
  #1
Member
 
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14
c_dowd is on a distinguished road
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.
If i run paraview just on its own it seems to work fine. Is the problem obvious, or is there some other way of getting paraview to read openfoam data without running the paraFoam comman?
c_dowd is offline   Reply With Quote

Old   April 29, 2013, 09:24
Default
  #2
Member
 
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14
c_dowd is on a distinguished road
I've also just tried reinstalling openfoam. I still have the same problem.
c_dowd is offline   Reply With Quote

Old   April 29, 2013, 11:03
Default
  #3
New Member
 
William
Join Date: Apr 2013
Posts: 11
Rep Power: 13
wilandlane is on a distinguished road
How did you install paraview?
Code:
sudo apt-get install paraview
or
Code:
sudo apt-get install paraviewopenfoam3120
OpenFOAM.org says "For Ubuntu versions 11.10 and 12.04 only," install paraviewopenfoam3120, and "For Ubuntu version 12.10," install paraview. I initially tried paraview (because I figured that it work work for version >= 12.10); however, it did not work. I then removed paraview and installed paraviewopenfoam3120. This version worked.

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"
but it was giving me trouble since at the time there was no 13.04 version. To get around this, just hardcode the precise version into the command:
Code:
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu precise main > /etc/apt/sources.list.d/openfoam.list"
Good luck!
wilandlane is offline   Reply With Quote

Old   April 30, 2013, 06:29
Default
  #4
Member
 
Cameron
Join Date: Jul 2012
Posts: 33
Rep Power: 14
c_dowd is on a distinguished road
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
My problem now is that when I try and run the paraFoam command i get the error:
Code:
/opt/openfoam220/bin/paraFoam: 267: /opt/openfoam220/bin/paraFoam: paraview: not found
However, I can't work out which bit in the paraFoam file that it's talking about to change to make it go to the older paraview.
c_dowd is offline   Reply With Quote

Old   April 30, 2013, 08:32
Default
  #5
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
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'
so you can launch paraview by typing "para" in your terminal.
fredo490 is offline   Reply With Quote

Old   May 18, 2013, 12:12
Default
  #6
New Member
 
Eduard Englberth
Join Date: Aug 2012
Location: Vrchlabí
Posts: 6
Rep Power: 14
Eduard is on a distinguished road
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
Eduard is offline   Reply With Quote

Old   June 23, 2013, 02:19
Default
  #7
New Member
 
tariq's Avatar
 
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13
tariq is on a distinguished road
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/
tariq is offline   Reply With Quote

Old   June 23, 2013, 02:21
Default
  #8
New Member
 
tariq's Avatar
 
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13
tariq is on a distinguished road
Quote:
Originally Posted by c_dowd View Post
I've also just tried reinstalling openfoam. I still have the same problem.
Hi Cameron,

Is paraFoam running in your computer now? If yes, can you please help me installing it?
__________________
tariqridwan.github.io/
tariq is offline   Reply With Quote

Old   June 24, 2013, 09:13
Default
  #9
New Member
 
Eduard Englberth
Join Date: Aug 2012
Location: Vrchlabí
Posts: 6
Rep Power: 14
Eduard is on a distinguished road
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
Eduard is offline   Reply With Quote

Old   June 24, 2013, 09:28
Default
  #10
New Member
 
tariq's Avatar
 
Tariq Ridwan
Join Date: Jun 2013
Location: Barcelona
Posts: 17
Rep Power: 13
tariq is on a distinguished road
Quote:
Originally Posted by Eduard View Post
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
Hi Eduard,
thank you very much, it's working now!
__________________
tariqridwan.github.io/
tariq is offline   Reply With Quote

Reply

Tags
parafoam, paraview, ubuntu 13.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:35.