This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:amber [2015/06/19 10:21] ischeepers |
howto:amber [2024/10/09 12:42] (current) alopis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Amber job on GPU nodes ===== | + | ===== Amber jobs on non-GPU nodes ===== |
| - | < | + | When running jobs for either AMBER14, AMBER18 or AMBER20 use the easy setup and submission scripts provided on the login node. |
| - | #!/bin/sh | + | |
| - | #PBS -N eric.job | + | |
| - | #PBS -l select=1: | + | |
| - | #PBS -l walltime=1: | + | |
| - | #PBS -q kepla_k20 | + | |
| - | #PBS -m be | + | |
| - | #PBS -o / | + | |
| - | #PBS -e / | + | |
| - | #PBS -M email@mail.com | + | |
| - | cd $PBS_O_WORKDIR | + | **Note**, please first include this **module load** - even better if your add this line to your .bashrc, then the Easy Scripts should be visible and available: |
| - | pwd | + | |
| - | echo "My job starts here" | + | |
| - | date | + | |
| - | source / | + | |
| - | module add intel-XE/ | + | |
| - | module | + | |
| - | exe=pmemd.cuda.MPI | ||
| - | nproc=`cat $PBS_NODEFILE|wc -l` | ||
| - | time mpirun -np $nproc -machinefile $exe -O -i mdin -o mdout -p prmtop -c inpcrd | ||
| - | echo "My job ends here" | ||
| - | date | ||
| - | </ | ||
| + | Just execute **qamber_14** or **qamber_18** or **qamber_20**. | ||
| + | Examples of what the scripts look like are provided below. | ||
| - | ===== Amber job on non-GPU | + | |
| + | Enter project name/ | ||
| + | CHEM0100 | ||
| + | Enter input file (with .in extension) | ||
| + | test.in | ||
| + | Enter parameter and topology file | ||
| + | prmtop | ||
| + | Enter coordinate file | ||
| + | inpcrd | ||
| + | What do you wish to run SANDER, PMEMD or MDGX | ||
| + | SANDER | ||
| + | Enter number of nodes on which to run job | ||
| + | 1 | ||
| + | Enter total walltime (hour: | ||
| + | 2:00 | ||
| + | Enter email address | ||
| + | testing@gmail.com | ||
| + | Generated pbs file for test | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | | ||
| - | < | + | EXAMPLE2 (TAKE NOTE OF THE EMPTY SPACES) |
| - | #!/bin/sh | + | Enter project name/shortname |
| - | #PBS -N eric.job | + | |
| - | #PBS -l select=1: | + | Enter input file (with .in extension) |
| - | #PBS -l walltime=1:00:00 | + | test.in |
| - | #PBS -q workq | + | Enter parameter and topology file |
| - | #PBS -m abe | + | |
| - | #PBS -o / | + | Enter coordinate file |
| - | #PBS -e / | + | |
| - | #PBS -M email@mail.com | + | What do you wish to run SANDER, PMEMD or MDGX |
| + | |||
| + | Enter number of nodes on which to run job | ||
| + | |||
| + | Enter total walltime | ||
| + | |||
| + | Enter email address | ||
| + | | ||
| + | | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | |||
| + | ====== AMBER18 and AMBER20 on GPU ====== | ||
| - | cd $PBS_O_WORKDIR | + | ** //Please note that you need to first be added to the gpu_1 queue before you can submit jobs to the GPU cluster// ** |
| - | pwd | + | Execute **qamber_18_gpu** on login node and follow the prompts. |
| + | Examples of script execution are provided below. | ||
| - | source / | + | EXAMPLE1 |
| - | module add intel-XE/13.0 openmpi/openmpi-1.6.5-intel amber/12 | + | Enter research programme name |
| + | CHEM01 | ||
| + | Enter input file (with .in extension) | ||
| + | test.in | ||
| + | Enter parameter and topology file | ||
| + | prmtop | ||
| + | Enter coordinate file | ||
| + | inpcrd | ||
| + | Enter total walltime (hour: | ||
| + | 2:00 | ||
| + | Enter email address | ||
| + | testing@gmail.com | ||
| + | Generated pbs file for test | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| - | echo "My job starts here" | + | |
| - | date | + | |
| - | exe=sander.MPI | + | EXAMPLE2 [PLEASE TAKE NOTE OF EMPTY SPACES] |
| - | + | Enter research programme name | |
| - | nproc=`cat $PBS_NODEFILE|wc -l` | + | CHEM01 |
| - | time mpirun -np $nproc -machinefile $exe -O -i mdin -o mdout -p prmtop -c inpcrd | + | Enter input file (with .in extension) |
| - | echo "My job ends here" | + | |
| - | date | + | Enter parameter and topology file |
| - | </code> | + | |
| + | Enter coordinate file | ||
| + | |||
| + | Enter total walltime (hour: | ||
| + | |||
| + | Enter email address | ||
| + | testing@gmail.com | ||
| + | Generated pbs file for test | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||