Choose paraview version by environment variable
Dear all,
I use the pvFoam script to launch Paraview and the external parallel reader. This works find and has the advantage of being independent from OpenFOAM. I want to update to Paraview 3.6.2 and there is no need to recompile paraFoam or anything else from the OF package. Now I want the user to have the choice of which pv to be used. This can be done by setting ParaView_VERSION. However, etc/apps/paraview3/bashrc overwrites this setting: Code:
export ParaView_VERSION=3.6.1 Code:
: ${ParaView_VERSION:="3.6.1"}; export ParaView_VERSION Regards BastiL |
Hi Bastil
OpenFOAM comes with paraview 3.6.1 and I have downloaded the new paraview 3.6.2. I have tried to modify the etc/apps/paraview3/bashrc with your suggestion and it still opens up with paraview 3.6.1 when I use "paraFoam" Could you please explain a bit more about how to integrate the new paraview 3.6.2 with OpenFOAM 1.6? Thanks a lot. |
Thanks for the change. I've pushed something similar to 1.6.x. You now have
ParaView_MAJOR ParaView_VERSION which default to paraview-3.6 and 3.6.1. |
All times are GMT -4. The time now is 05:46. |