Talk:Amber: Difference between revisions
Jump to navigation
Jump to search
(Sample amber submit script) |
(Sample amber submit script with qsub) |
||
Line 1: | Line 1: | ||
Sample Job script for Amber | Sample Job script for Amber | ||
<pre> | |||
Next, create a job submit script as shown below called 'amberSubmit', make sure to edit the following parameters: | |||
* s_rt to an appropriate soft wall time limit | |||
* h_rt to the maximum wall time for your job | |||
* -N - job name | |||
* -M - user email | |||
* -pe openmpi numberOfProcessors (-pe openmpi 8 - run the code in parallel on 8 processors on the Cheaha compute nodes.) | |||
* -l vf to the maximum memory needed for each task | |||
* cd to the current working directory where the job data is stored | |||
* Replace file.{in,out,restrt,prmtop,cmd} name with your files. | |||
</pre> | |||
<pre> | <pre> | ||
Line 32: | Line 47: | ||
</pre> | |||
Submit the script to the scheduler with | |||
<pre> | |||
$ qsub amberSubmit | |||
</pre> | |||
The output will be | |||
<pre> | |||
Your job 82341234 ("ambertest_1") has been submitted | |||
</pre> | </pre> |
Revision as of 13:00, 16 July 2012
Sample Job script for Amber
Next, create a job submit script as shown below called 'amberSubmit', make sure to edit the following parameters: * s_rt to an appropriate soft wall time limit * h_rt to the maximum wall time for your job * -N - job name * -M - user email * -pe openmpi numberOfProcessors (-pe openmpi 8 - run the code in parallel on 8 processors on the Cheaha compute nodes.) * -l vf to the maximum memory needed for each task * cd to the current working directory where the job data is stored * Replace file.{in,out,restrt,prmtop,cmd} name with your files.
#!/bin/bash #$ -S /bin/bash # # Example Amber job submission script can be found here: # # Execute from the current working directory #$ -cwd # # Job runtime (1 hour, at 55 minutes Amber will be notified to shut down) #$ -l h_rt=1:00:00,s_rt=0:55:00 #$ -j y # # Job Name and email #$ -N ambertest_1 #$ -M YOUR_EMAIL_ADDRESS # Email options to determine when to send emails #$ -m be # #$ -pe openmpi 4 # # Load the appropriate module(s) . /etc/profile.d/modules.sh module load amber/amber-10-intel # #$ -V #$ -l vf=1G # mpirun -np $NSLOTS $AMBERHOME/exe/sander.MPI -O -i file.in -o file.out -c file.restrt -p file.prmtop -r file.restrt -x file.cmd -ref file.restrt
Submit the script to the scheduler with
$ qsub amberSubmit
The output will be
Your job 82341234 ("ambertest_1") has been submitted