Compiling Paraview 3.12.0 and the PV3FoamReader Module
I'm trying to install OpenFOAM-2.1.0 on our linux cluster.
Our system is running on CentOS 5.5
all libraries are built in the ThirdParty-2.1.0 directory.
ParaView is built correctly.
And I tried to compile ParaView and the PV3FoamReader Module.
For this, cmake is needed and I already installed it in the ThirdParty-2.1.0
And I add cmake PATH in my .bashrc file as below.
also, I add ParaView environment variables in .bashrc
I got correct cmake path when I commanded which cmake
until now, it looks everything's fine.
I changed directory to $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
and typed command.
./Allwmake 2>&1 | tee make.log.pv3foamreader
I got Error as follows.
+ cd PV3blockMeshReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
PV3blockMeshReader/Allwmake: line 13: cmake: command not found
make: *** No targets specified and no makefile found. Stop.
So, I typed which cmake. Then, says
/usr/bin/which: no cmake in (~~)
I am comfused because it gave correct cmake PATH before I try to compile.
I think it seems that environment configuration is broken.
Any advice would help me to solve this problem.
Thanks in advanced.
Did you confirm that each variable is properly set?
And did you start a new terminal window/tab to make sure the environment was working as intended?
All environment variables are okay.
Finally, I solved this problem an hour ago.
The reason why environment configuration was broken is the wmSET command.
wmSET command written on the official OpenFOAM web page makes environment
Without wmSET command, I compiled ParaView and PV3FoamReader module.
|All times are GMT -4. The time now is 09:27.|