|
[Sponsors] |
OF21 not running when submitted to queue in ROCKS cluster |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2012, 07:32 |
OF21 not running when submitted to queue in ROCKS cluster
|
#1 |
Senior Member
|
Hi all,
We have managed to install OpenFOAM2.1.0 in a ROCKS cluster and I can run it either when logged in the front-end or when I ssh to one of the compute.nodes and I launch it locally from inside there. Now, I want to be able to 'qsub' to any computer.node from the front-end. I have created the 'machines' file and I also have a 'run.sh' script file. I have paste them below in case someone would be so kind to take a look at them and guide me. I have read the User's guide and looked for forum threads. Thanks! *********************** *** machines file *** *********************** all.q@compute-1-6.local cpu=4 *********************** *** run.sh *** *********************** #!/bin/bash # #$ -cwd #$ -j y #$ -S /bin/bash #$ -pe * 4 export PATH=$PATH:/opt/openmpi/bin # FORMATO GENERAL: # mpirun --hostfile <machines> -np <nProcs> <foamExec> <otherArgs> -parallel > log & mpirun --hostfile machines -np 4 icoFoam -parallel > log & |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Installing OpenFOAM 2.1.0 on ROCKS cluster | aerospain | OpenFOAM Installation | 6 | December 15, 2014 03:35 |
Fluent on Rocks 5.4.3 Cluster | kami146 | FLUENT | 0 | March 29, 2012 03:51 |
Rocks and linux for fluent cluster | Far | FLUENT | 2 | March 2, 2012 09:31 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 09:38 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 07:52 |