This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:bioinformatics:gromacs [2014/07/02 16:16] dane updated for pbspro |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Running Gromacs ====== | ||
| - | |||
| - | If you would like to try running gromacs on the gpu please take a look at [[howto: | ||
| - | |||
| - | There are many different versions of gromacs, to see what's available try:< | ||
| - | |||
| - | ===== Job script ===== | ||
| - | <file bash my_job.msub> | ||
| - | #!/bin/bash | ||
| - | #PBS -l select=10: | ||
| - | #PBS -l walltime=00: | ||
| - | #PBS -q workq | ||
| - | #PBS -M user@someinstitution.ac.za | ||
| - | #PBS -m be | ||
| - | #PBS -V | ||
| - | #PBS -e / | ||
| - | #PBS -o / | ||
| - | #PBS -N GROMACS_JOB | ||
| - | #PBS -mb | ||
| - | |||
| - | MODULEPATH=/ | ||
| - | source / | ||
| - | |||
| - | ####### | ||
| - | module add gromacs/ | ||
| - | |||
| - | NP=`cat ${PBS_NODEFILE} | wc -l` | ||
| - | |||
| - | EXE=" | ||
| - | ARGS=" | ||
| - | |||
| - | cd / | ||
| - | mpirun -np ${NP} -machinefile ${PBS_NODEFILE} ${EXE} ${ARGS} | ||
| - | </ | ||
| - | |||
| - | ===== Submit your job ===== | ||
| - | Finally submit your job using:< | ||