|
[Sponsors] |
[OpenFOAM.org] OF_2.3.0 in HPC cluster with paths modified |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 12, 2015, 09:09 |
OF_2.3.0 in HPC cluster with paths modified
|
#1 |
Senior Member
|
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 10:38. |
|
May 13, 2015, 11:02 |
Problem solved!!!!
|
#2 |
Senior Member
|
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!!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
[OpenFOAM.org] Problems with installing openfoam 5.0 on HPC Cluster | sjlouie91 | OpenFOAM Installation | 4 | January 20, 2019 16:35 |
HPC Cluster Configuration Question | chuckb | Hardware | 1 | September 8, 2018 09:26 |
modified OF version on HPC | federicabi | OpenFOAM Running, Solving & CFD | 3 | October 10, 2016 20:18 |
Parallel Solving with HPC Cluster? | bah | OpenFOAM Running, Solving & CFD | 8 | October 13, 2011 04:08 |