Trouble when use ParaView binary on CentOS
Hi,
I am going to use ParaView binary on my linux cluster instead of compiling it as I did before. What I did is download ParaView-4.2 Binary Installer and put it in /home/myname/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/ Then, I can run it by ./paraview in its bin directory. In order to make it run everywhere, I modify $PATH by: export PATH=$PATH:/home/myname/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/ParaView-4.2/bin Then, I echo $PATH and the new path is there. However, when I launch a new terminal and input paraview it still shows me bash: paraview: command not found Anyone have idea on this? Is there any information on how to run ParaView binary with OpenFOAM-2.2.2? Thanks. |
Greetings y_jiang,
Try running the following command: Code:
export PATH=/home/$USER/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/ParaView-4.2/bin:$PATH The objective is to first determine what's wrong with the other command you used. The command I wrote above is using "$USER", which should be the variable for the currently working user name. You can double-check by running: Code:
echo $USER Code:
which paraview Code:
ls -l /home/$USER/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/ParaView-4.2/ Code:
ls -l /home/$USER/OpenFOAM/ThirdParty-2.2.2/platforms/linux64Gcc45/ Code:
echo $PATH Either way, unless you show us what you're seeing, it becomes really difficult to try and deduce what's wrong. Best regards, Bruno |
All times are GMT -4. The time now is 18:35. |