configuring paraFoam to use a different version of Paraview
Hi,
Newbie question. I'm compiling up 2.1.1 for a HPC system where we already have a version of ParaView installed. How do I configure parafoam to use this version, instead of having to compile the version that's in ThirdParty? Thanks, Mike. |
I don't have a direct answer to your question… but… what I usually do is to create a .foam file within the case folder and then open it in paraview. It is almost the same as running paraFoam.
|
Greetings to all!
@Mike: it depends on the ParaView version you've got on your HPC system. Was it a custom build or did it come with the installed Linux distribution? As lovecraft22 indicated, you can use the internal reader, by using the file extension ".foam". If you want this by default, edit the file paraFoam and change the line: Code:
# reader extension Code:
# reader extension Code:
which paraFoam Best regards, Bruno |
Everything else is good, but I'd make a slight improvement here:
Quote:
Your modified version hooks into the shipped version: Code:
foamFile=$($WM_PROJECT_DIR/bin/foamEtcFile -mode o config/paraview.sh 2>/dev/null) && . $foamFile ParaView_VERSION=3.9.0 |
Thanks, everybody! The point of all this is so that I can build and deploy OpenFOAM as a module for multiple users on the cluster, and there are users of ParaView on the system who don't use OpenFOAM so I'd like to keep the two applications as separated as possible.
You've been really helpful and I really appreciate it. |
Quote:
This is interesting. One question, where do you have to place this file exactly? |
All times are GMT -4. The time now is 23:02. |