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

[OpenFOAM.org] OF_2.3.0 in HPC cluster with paths modified

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 08:09
Default OF_2.3.0 in HPC cluster with paths modified
  #1
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Dear all,

I have the following problem with OF in a machine where it worked perfectly a couple of weeks ago.

What has happened since then? This HPC cluster (cluster01) has been joined to another cluster (cluster02), so let's call the new machine 'clusterXX', and the home directories of the users are not under /home anymore. Mine, for example, is under /data2. But, when logging to clusterXX the session starts under /home/<user>

I have made a couple of changes to my /home/<user>/.bashrc file to define the new value for $FOAM_RUN, a 'cd' command pointing to my /data2/<user> location, and I also have the following line:
source /data2/<user>/OpenFOAM/bashrc being bashrc a copy of the file /installation_directory/etc/bashrc so I can make any modifications that could solve my problem.

When submitting my jobs in clusterXX with the command qsub [OPTIONS] <script_file>, OpenFOAM looks for the /0 /system and /constant directories in /data2/<user>, instead of /data2/<user>/OpenFOAM/<user>-2.3.0/run/<project_name>

Because different users have their home directories under different /data#/ we cannot re-install OF again. We would like to find a list of "local" changes that users can make to their .bashrc and OF bashrc so OF knows where the project directory is located.

By the way, if I run foamInstallationTest I get the following FATAL Error:

OpenFOAM environment not configured

Thanks

Last edited by aerospain; May 12, 2015 at 09:38.
aerospain is offline   Reply With Quote

Old   May 13, 2015, 10:02
Default Problem solved!!!!
  #2
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Hi guys,

I am replying to myself to close this problem and give hints to anyone who could step into the same situation I have been in for the last couple of weeks.

Copy the file /<installation_path>/etc/bashrc in your own OpenFOAM directory, and manage CAREFULLY the environment variables.

I was overwriting, I don't know how, some instructions by setting the FOAM_RUN variable at an inappropriate time during the submission of the simulation jobs to the cluster nodes.

That's it! simplesss!!!
aerospain 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
[OpenFOAM.org] Problems with installing openfoam 5.0 on HPC Cluster sjlouie91 OpenFOAM Installation 4 January 20, 2019 15:35
HPC Cluster Configuration Question chuckb Hardware 1 September 8, 2018 08:26
modified OF version on HPC federicabi OpenFOAM Running, Solving & CFD 3 October 10, 2016 19:18
Parallel Solving with HPC Cluster? bah OpenFOAM Running, Solving & CFD 8 October 13, 2011 03:08


All times are GMT -4. The time now is 18:50.