|
[Sponsors] |
How to configure a job script? Example for another app available as a basis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 14, 2016, 18:06 |
How to configure a job script? Example for another app available as a basis
|
#1 |
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 11 |
Hi Bruno,
After all of this, I got compiled OpenFOAM 2.3.0 and swak4foam 0.3.2 in my home folder at the cluster with your huge help and your support is greatly appreciated. Well, for running my simulations I have to submit a script to the working directory of the cluster,not in my home folder. I don't know that the openFOAM works well by changing the directory or not. By the way, as you now an alias command do not work in a shell script, so I can't run "of230" in my job script in the working directory. Do you have any ideas to fix this problem?! A template of the job script is shown below for fluent simulations, and I am a bit confused with changing this template to that I need for a foam job! Code:
#!/bin/bash #PBS -N FLUENT #PBS -j oe #PBS -l nodes=1:ppn=2 #PBS -l walltime=00:30:00 module add ansys/v150 > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "unable to load module files" exit 1 fi cd $PBS_O_WORKDIR fluent 3d -g -i input > fluent.log 2>&1 Thank you so much again for your time and attention. Best Regards, Arsalan. [ Moderator note: Moved from here: http://www.cfd-online.com/Forums/ope...ot-access.html ] Last edited by wyldckat; April 15, 2016 at 19:14. Reason: see "Moderator note:" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mpirun, best parameters | pablodecastillo | Hardware | 18 | November 10, 2016 12:36 |
SGE fluent job submission script | mrji8011 | FLUENT | 2 | May 5, 2011 20:59 |
running OF on local machine with batch script / job scheduler | val46 | OpenFOAM | 13 | November 10, 2010 03:22 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |
cfd job | Dr. Don I anyanwu | Main CFD Forum | 20 | May 17, 1999 15:13 |