This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:gromacs [2013/11/14 15:55] dane |
howto:gromacs [2024/08/12 13:29] (current) alopis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Before running your scripts remember to run <code bash> | + | ====== Gromacs ====== |
| - | Then your job script called // | + | |
| - | <file bash> | + | |
| - | #/bin/sh | + | |
| - | #MSUB -l procs=64 | + | |
| - | #MSUB -l feature=dell | + | |
| - | #MSUB -l walltime=10:00:00 | + | |
| - | #MSUB -m be | + | |
| - | #MSUB -V | + | |
| - | #MSUB -o ${HOME}/ | + | |
| - | #MSUB -e ${HOME}/ | + | |
| - | #MSUB -d ${HOME}/ | + | |
| - | #MSUB -N MyGromacsJob | + | |
| - | #MSUB -mb | + | |
| - | NP=`cat ${PBS_NODEFILE} | wc -l` | + | The available **Easy Scripts** (cpu and gpu versions) for Gromacs are: |
| - | EXE=mdrun | + | **qgromacs_2024-1, |
| - | ARGS="-s input.tpr -deffnm input.tpr" | + | |
| + | **qgromacs_2024-1_gpu, | ||
| + | |||
| + | |||
| + | Execute any of these **Easy Scripts** on the login node (on a lustre subdirectory) and follow the prompts. | ||
| + | This script handles PBS setup and submission. | ||
| + | Sets up the mpi environment variables allowing you to run over multiple processors and nodes. | ||
| + | Examples of script execution are provided below. | ||
| + | |||
| + | |||
| + | **Note**, please first include this **module load** | ||
| + | |||
| + | module load chpc/ | ||
| + | |||
| + | |||
| + | EXAMPLE1 | ||
| + | Enter project name/ | ||
| + | CHEM0100 | ||
| + | Enter default filename for all file options (without any extension to the file) | ||
| + | test | ||
| + | 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 [PLEASE TAKE NOTE OF EMPTY SPACES] | ||
| + | Enter project name/ | ||
| + | CHEM0100 | ||
| + | Enter default filename for all file options (without any extension to the file) | ||
| + | test | ||
| + | Enter number of nodes on which to run job | ||
| + | |||
| + | 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 | ||
| + | |||
| + | ====== Gromacs on GPU ====== | ||
| + | |||
| + | ** //Please note that you need to first be added to the gpu_1 queue before you can submit jobs to the GPU cluster// ** | ||
| + | |||
| + | Execute **qgromacs_2018-2_gpu**, | ||
| + | Examples of script execution are provided below. | ||
| + | |||
| + | EXAMPLE1 | ||
| + | Enter research programme name | ||
| + | CHEM0100 | ||
| + | Enter default filename for all file options (without any extension to the file) | ||
| + | test | ||
| + | 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 [PLEASE TAKE NOTE OF EMPTY SPACES] | ||
| + | Enter research programme name | ||
| + | CHEM0100 | ||
| + | Enter default filename for all file options (without any extension to the file) | ||
| + | test | ||
| + | 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 | ||
| - | mpirun -np ${NP} -machinefile ${PBS_NODEFILE} ${EXE} ${ARGS} | ||
| - | </ | ||