Installing and Running on a Cluster
Hello everyone,
I've been trying to install openFoamV10 on my college's cluster, which runs Ubuntu 20.04 on every node, it has a node for only management and 22 for computing. The thing is when I go streight to the node I want to install, I follow the steps for the OF foundation and go to the bashrc to add the source line to able openFoam commands in terminal. It all seems to go well but when I go test it with "simpleFoam -help" it shows that it is not installed, then I verify on terminal the installed programs and there it is the OFv10. I'll first try to use one node at the time, i'm not even looking into use them simultaneously for now. Have anyone gone through something like this?? Any guide or usefull tutorial for running OF on clusters? I'm a beginner on the subject. Thank you! |
Clone the OpenFOAM-9 repository
cd $HOME/OpenFOAM git clone https://github.com/OpenFOAM/OpenFOAM-9.git Compile OpenFOAM cd OpenFOAM-9 echo "source $HOME/OpenFOAM/OpenFOAM-9/etc/bashrc" >> ~/.bashrc source etc/bashrc ./Allwmake > log.Allwmake 2>&1 ///Try this process. it works pretty fine. just change the of-9 to of-10 as per the link. |
Thank you for your repply,
Unfortunatelly I've got the same result: gabrielluc@vulpecula:~/OpenFOAM$ $HOME/.bashrc -bash: /home/gabrielluc/.bashrc: Permission denied gabrielluc@vulpecula:~/OpenFOAM$ source $HOME/.bashrc -bash: /home/gabrielluc/OpenFOAM/OpenFOAM-10/etc/bashrc: No such file or directory vulpecula is the name of the node, it seems that I don't have access to the bash file, I'll ask my coordinator to add the source line there for me if its the cause should work next time. |
All times are GMT -4. The time now is 03:29. |