CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] How to get OpenFoam compiled on a cluster with CentOS 6.5 and no root permissions

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hulli

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2014, 01:38
Default 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
hulli is on a distinguished road
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 ...
hulli is offline   Reply With Quote

Old   November 6, 2014, 17:30
Default Cluster
  #2
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 12
hulli is on a distinguished road
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 !
Attached Files
File Type: gz make_a.log.gz (60.3 KB, 0 views)
File Type: gz make_b.log.gz (39.4 KB, 0 views)

Last edited by hulli; November 6, 2014 at 19:01.
hulli is offline   Reply With Quote

Old   November 6, 2014, 19:01
Default --
  #3
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 12
hulli is on a distinguished road
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 !!!




gabrielfelix likes this.
hulli is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:12.