CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] ParaFoam conflicting version of paraview (https://www.cfd-online.com/Forums/paraview/61281-parafoam-conflicting-version-paraview.html)

xponticq May 11, 2006 07:26

ParaFoam conflicting version of paraview
 
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

gschaider May 11, 2006 08:24

The problem is that the OpenFO
 
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 ....

xponticq May 11, 2006 09:17

Thanks a lot Bernhard, everyth
 
Thanks a lot Bernhard, everything works just fine now

mattijs May 16, 2006 12:52

>The problem is that the OpenF
 
>The problem is that the OpenFOAM-xxhrc-files are too humble

Not anymore. We'll prepend the paraview stuff to the path. Thanks.


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