CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   April 29, 2013, 08:06
Default paraFoam command no longer working after upgrading to Ubuntu 13.04
  #1
New Member
 
Cameron
Join Date: Jul 2012
Posts: 21
Rep Power: 2
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, 08:24
Default
  #2
New Member
 
Cameron
Join Date: Jul 2012
Posts: 21
Rep Power: 2
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, 10:03
Default
  #3
New Member
 
William Lane
Join Date: Apr 2013
Posts: 1
Rep Power: 0
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, 05:29
Default
  #4
New Member
 
Cameron
Join Date: Jul 2012
Posts: 21
Rep Power: 2
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, 07:32
Default
  #5
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 121
Rep Power: 4
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

Reply

Tags
parafoam, paraview, ubuntu 13.04

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam (Ubuntu): paraFoam via Xming+PuTTY raketenmaid OpenFOAM Paraview & paraFoam 4 February 5, 2013 05:20
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working Leech OpenFOAM Installation 7 November 26, 2012 08:43
Filter menu of ParaView is disabled after upgrading from Ubuntu 10.04 to 10.10 maysmech OpenFOAM 12 July 19, 2011 16:13
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Problem with paraFoam (ubuntu 9.04) peb OpenFOAM Paraview & paraFoam 4 August 24, 2009 09:50


All times are GMT -4. The time now is 21:05.