CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaFoam conflicting version of paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 11, 2006, 07:26
Default Hi I've installed OpenFOAM v1
  #1
New Member
 
Xavier Ponticq
Join Date: Mar 2009
Posts: 4
Rep Power: 8
xponticq is on a distinguished road
Hi
I've installed OpenFOAM v1.3 for linux recently on my computer and all the related packages following the installation notes. The installation seems to be ok, FoamX and the solver running perfectly. However I've got a problem with the parafoam application. When I use parafoam, it doesn't launch the paraview version bundled with OpenFOAM but an older version installed previously on my computer, and then crashes because of VTK errors in the driver. I don't know if it is a problem due to environment variables because the cshrc file is source correctly. If anyone got an idea ...
Xavier
xponticq is offline   Reply With Quote

Old   May 11, 2006, 08:24
Default The problem is that the OpenFO
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
The problem is that the OpenFOAM-xxhrc-files are too humble: they append the OpenFOAM-paraview-implementation to the PATH-variable (instead of prepend it so that it is found earlier than the legacy-version).

Look for the line that says:

export PATH=$(PATH):/path/to/OpenFOAM/paraview

in the apps/paraview/xxhrc and change it to

export PATH=/path/to/OpenFOAM/paraview:$(PATH)

(or something similar for cshrc) and do the same for the LD_LIBRARY_PATH-variable. Then the right paraview is found earlier.

It has already been talked about and one of these days somebody should write a bug report about it ....
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   May 11, 2006, 09:17
Default Thanks a lot Bernhard, everyth
  #3
New Member
 
Xavier Ponticq
Join Date: Mar 2009
Posts: 4
Rep Power: 8
xponticq is on a distinguished road
Thanks a lot Bernhard, everything works just fine now
xponticq is offline   Reply With Quote

Old   May 16, 2006, 12:52
Default >The problem is that the OpenF
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
>The problem is that the OpenFOAM-xxhrc-files are too humble

Not anymore. We'll prepend the paraview stuff to the path. Thanks.
mattijs is offline   Reply With Quote

Reply

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
Problem with paraview and paraFoam openfoam_user OpenFOAM Paraview & paraFoam 36 May 13, 2014 07:37
Error starting paraFoam line 67 paraview command not found jango OpenFOAM Installation 4 July 19, 2007 01:39
Both paraview and paraFoam crash on Redhat Linux WS v4 64bit sek OpenFOAM Paraview & paraFoam 4 August 17, 2006 16:26
Building Paraview with reader builtin instead of parafoam script tj22 OpenFOAM Paraview & paraFoam 2 April 7, 2006 12:55
Problem running paraFoam paraview command not found spdracer22 OpenFOAM Pre-Processing 2 December 7, 2005 06:32


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