|
[Sponsors] |
[OpenFOAM.org] How to get OpenFoam compiled on a cluster with CentOS 6.5 and no root permissions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 5, 2014, 01:38 |
How to get OpenFoam compiled on a cluster with CentOS 6.5 and no root permissions
|
#1 |
Member
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 12 |
Hi all!!!
I was just wondering, if there is anybody out there who is able to explain how to get OpenFoam running on a cluster, for dummies. Since a couple of days I got the possibility to use some nodes of our University cluster. May be it is due to my windows background, but I was expecting kind of a pre-installed Ubuntu server version with a GUI, but I ended up with the great possibility to connect to the cluster via a ssh terminal something. So I connected to the cluster and tried to install the deb pack from the open foam hompage. It turned out that I do not have any root rights. So basically I found out that I am supposed to compile Openfoam from scratch. I was able to download the .tar files and I also unpacked them. However, I do not have any idea how to proceed any further. So it would be really nice if one of you could help me out... How can I edit the bashrc file? I remember I had to edit that when installing the deb pack. How can I addapt the bashrc file because I am supposed to work in the folder: home/myname/ instead of home? How can I start the compilation? I managed to start it by typing ./Allwmake, however I do not understand what it is doing and if I set up anything correctly or not... And at the it would be nice to know how can I run my cases? Thank you very much I appreciate your help ... |
|
November 6, 2014, 17:30 |
Cluster
|
#2 |
Member
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 12 |
Due to the fact that I did not get any reply, I guess that my question was too general. Some barckgroud information.
The cluster runs CentOs 6.5. In order to compile OpenFoam I followed the installation guide of http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL. Due to the fact I do not have any root permissions I sipped the first three steps. The architecture is x86_64. My personal . bachrc file looks like this: # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions alias of230='module load openmpi-x86_64; source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=40 foamCompiler=ThirdParty WM_COMPILER=Gcc48 WM_MPLIB=SYSTEMOPENMPI' Everything was fine until I reached step 14 of the Wiki. At the end I was not able to test icoFoam -h Please find attached the make.log separated in two parts. Thank you very much ! Last edited by hulli; November 6, 2014 at 19:01. |
|
November 6, 2014, 19:01 |
--
|
#3 |
Member
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 12 |
Hi all!!! I finally got it running using a mega cool python script:
centFOAM.py http://sourceforge.net/projects/centfoam/?source=navbar MANY THANKS TO THAT GENIUS WHO DEVELOPED THAT !!! |
|
|
|