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/25 17:07] swyngaard [Example Expected Output] |
howto:gromacs [2024/08/12 13:29] (current) alopis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Gromacs ====== | ====== Gromacs ====== | ||
| - | ===== Initial Setup ===== | + | The available **Easy Scripts** (cpu and gpu versions) for Gromacs |
| - | In order to use Gromacs | + | |
| - | <code bash> | + | |
| - | export MODULEPATH=/ | + | |
| - | module add gromacs/ | + | |
| - | </ | + | |
| - | To complete the setup log out of the cluster | + | **qgromacs_2024-1, |
| - | ===== Example Job Submission Script ===== | + | **qgromacs_2024-1_gpu, |
| - | The following file is a Gromacs template job submission script that can used as a starting point for creating your own scripts: | + | |
| - | <file bash gromacs.job> | + | |
| - | #This job tests GROMACS, it requires the input file min.steep0.tpr to be in the working directory. | + | |
| - | #MSUB -l nodes=2: | ||
| - | #MSUB -l feature=dell | ||
| - | #MSUB -l walltime=24: | ||
| - | #MSUB -j oe | ||
| - | #MSUB -o out.log | ||
| - | #MSUB -d / | ||
| - | #MSUB -V | ||
| - | NP=`cat $PBS_NODEFILE | wc -l` | + | Execute any of these **Easy Scripts** on the login node (on a lustre subdirectory) and follow the prompts. |
| - | BIN=mdrun_mpi | + | This script handles PBS setup and submission. |
| - | ARGS=" | + | Sets up the mpi environment variables allowing you to run over multiple processors and nodes. |
| + | Examples of script execution are provided below. | ||
| - | mpirun -np $NP -machinefile $PBS_NODEFILE $BIN $ARGS | ||
| - | </ | ||
| - | This job submission script requires that the file '' | + | **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: |
| - | **NOTE:** Please ensure that all file I/O associated with your job only occurs in a sub-directory of the '' | + | module load chpc/easy_scripts |
| - | ===== Job Submission ===== | ||
| - | Submit the job using the following command: | ||
| - | <code bash> | ||
| - | msub gromacs.job | ||
| - | </ | ||
| - | ===== Example Expected Output ===== | + | EXAMPLE1 |
| - | <file text out.log> | + | Enter project name/ |
| - | | + | CHEM0100 |
| + | Enter default filename for all file options (without any extension to the file) | ||
| + | | ||
| + | Enter number of nodes on which to run job | ||
| + | 1 | ||
| + | Enter total walltime (hour:minute) | ||
| + | 2:00 | ||
| + | Enter email address | ||
| + | testing@gmail.com | ||
| + | Generated pbs file for test | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | |||
| + | |||
| - | Giant Rising Ordinary Mutants | + | EXAMPLE2 [PLEASE TAKE NOTE OF EMPTY SPACES] |
| + | Enter project name/ | ||
| + | CHEM0100 | ||
| + | Enter default filename | ||
| + | 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 | ||
| - | :-) VERSION 4.6.1 (-: | + | ====== Gromacs on GPU ====== |
| - | Contributions from Mark Abraham, Emile Apol, Rossen Apostolov, | + | ** //Please note that you need to first be added to the gpu_1 queue before you can submit jobs to the GPU cluster// ** |
| - | | + | |
| - | Rudi van Drunen, Anton Feenstra, Gerrit Groenhof, Christoph Junghans, | + | |
| - | Peter Kasson, Carsten Kutzner, Per Larsson, Pieter Meulenhoff, | + | |
| - | Teemu Murtola, Szilard Pall, Sander Pronk, Roland Schulz, | + | |
| - | Michael Shirts, Alfons Sijbers, Peter Tieleman, | + | |
| - | Berk Hess, David van der Spoel, and Erik Lindahl. | + | Execute **qgromacs_2018-2_gpu**, **qgromacs_2018-6_gpu**, **qgromacs_2019-4_gpu**, |
| + | Examples of script execution are provided below. | ||
| - | | + | EXAMPLE1 |
| - | Copyright | + | Enter research programme name |
| - | | + | CHEM0100 |
| - | check out http:// | + | Enter default filename for all file options |
| + | | ||
| + | Enter total walltime | ||
| + | 2:00 | ||
| + | Enter email address | ||
| + | testing@gmail.com | ||
| + | Generated pbs file for test | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | |||
| - | This program is free software; you can redistribute it and/or | + | |
| - | | + | |
| - | as published by the Free Software Foundation; either version 2.1 | + | |
| - | of the License, or (at your option) any later version. | + | |
| - | + | test | |
| - | :-) mdrun_mpi | + | Enter total walltime |
| - | + | ||
| - | Option | + | |
| - | ------------------------------------------------------------ | + | |
| - | | + | |
| - | | + | Do you wish to submit job to cluster |
| - | | + | |
| - | -cpi min.steep0.cpt | + | |
| - | -cpo min.steep0.cpt | + | |
| - | -c min.steep0.gro | + | |
| - | -e min.steep0.edr | + | |
| - | -g min.steep0.log | + | |
| - | -dhdl min.steep0.xvg | + | |
| - | -field min.steep0.xvg | + | |
| - | -table min.steep0.xvg | + | |
| - | -tabletf min.steep0.xvg | + | |
| - | -tablep min.steep0.xvg | + | |
| - | -tableb min.steep0.xvg | + | |
| - | -rerun min.steep0.xtc | + | |
| - | -tpi min.steep0.xvg | + | |
| - | -tpid min.steep0.xvg | + | |
| - | -ei min.steep0.edi | + | |
| - | -eo min.steep0.xvg | + | |
| - | -j min.steep0.gct | + | |
| - | -jo min.steep0.gct | + | |
| - | -ffout min.steep0.xvg | + | |
| - | -devout min.steep0.xvg | + | |
| - | -runav min.steep0.xvg | + | |
| - | -px min.steep0.xvg | + | |
| - | -pf min.steep0.xvg | + | |
| - | -ro min.steep0.xvg | + | |
| - | -ra min.steep0.log | + | |
| - | -rs min.steep0.log | + | |
| - | -rt min.steep0.log | + | |
| - | -mtx min.steep0.mtx | + | |
| - | -dn min.steep0.ndx | + | |
| - | -multidir | + | |
| - | -membed min.steep0.dat | + | |
| - | -mp min.steep0.top | + | |
| - | -mn min.steep0.ndx | + | |
| - | + | ||
| - | Option | + | |
| - | ------------------------------------------------------ | + | |
| - | -[no]h | + | |
| - | -[no]version bool | + | |
| - | -nice int 0 Set the nicelevel | + | |
| - | -deffnm | + | |
| - | -xvg | + | |
| - | -[no]pd | + | |
| - | -dd vector 0 0 0 | + | |
| - | -ddorder | + | |
| - | -npme int 4 | + | |
| - | is guess | + | |
| - | -nt int 0 Total number of threads to start (0 is guess) | + | |
| - | -ntmpi | + | |
| - | -ntomp | + | |
| - | to start (0 is guess) | + | |
| - | -ntomp_pme | + | |
| - | to start (0 is -ntomp) | + | |
| - | -pin | + | |
| - | auto, on or off | + | |
| - | -pinoffset | + | |
| - | cores; used to avoid pinning threads from | + | |
| - | different mdrun instances to the same core | + | |
| - | -pinstride | + | |
| - | use 0 to minimize the number of threads per | + | |
| - | physical core | + | |
| - | -gpu_id | + | |
| - | -[no]ddcheck bool | + | |
| - | -rdd | + | |
| - | DD (nm), 0 is determine from initial coordinates | + | |
| - | -rcon real | + | |
| - | -dlb | + | |
| - | -dds | + | |
| - | -gcom int -1 Global communication frequency | + | |
| - | -nb enum | + | |
| - | gpu or gpu_cpu | + | |
| - | -[no]tunepme bool | + | |
| - | -[no]testverlet bool | + | |
| - | -[no]v | + | |
| - | -[no]compact bool | + | |
| - | -[no]seppot | + | |
| - | | + | |
| - | -pforce | + | |
| - | -[no]reprod | + | |
| - | | + | |
| - | -cpt | + | |
| - | -[no]cpnum | + | |
| - | -[no]append | + | |
| - | from checkpoint instead of adding the simulation | + | |
| - | part number to all file names | + | |
| - | -nsteps | + | |
| - | | + | |
| - | -maxh real | + | |
| - | -multi | + | |
| - | -replex | + | |
| - | period (steps) | + | |
| - | -nex | + | |
| - | exchange interval (N^3 is one suggestion). | + | |
| - | zero or not specified gives neighbor replica | + | |
| - | exchange. | + | |
| - | -reseed | + | |
| - | -[no]ionize | + | |
| - | bombardment on your system | + | |
| - | + | ||
| - | Reading file min.steep0.tpr, | + | |
| - | Note: file tpx version 58, software tpx version 83 | + | |
| - | Using 24 MPI processes | + | |
| - | + | ||
| - | Steepest Descents: | + | |
| - | | + | |
| - | | + | |
| - | =>> PBS: job killed: walltime 3620 exceeded limit 3600 | + | |
| - | </ | + | |