How to use GROMACS on ENEA-grid
Application Name
Gromacs
Discipline: Computational Biology
GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles. It is primarily designed for biochemical molecules like proteins and lipids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the nonbonded interactions (that usually dominate simulations) many groups are also using it for research on non-biological systems, e.g. polymers.
In this page you can find the launching and submission syntax for Gromacs code on the ENEA-GRID. Please, read the following documentation for running serial/parallel application on CRESCO clusters using LSF framework: Batch Jobs / LSF. This is not a tutorial about using codes like Gromacs, for that, you may find documentation and tutorial on the official web site www.gromacs.org.
ENEA-GRID/CRESCO utilization rules (link).
JOB SUBMISSION SCRIPT on CRESCO6
To submit on CRESCO6 use the script named gromacs . To know the installed versions simply type:
gromacs --version
For help on how to use the script:
gromacs --help
JOB SUBMISSION SCRIPT on CRESCOn (with n <6)
Gromacs version 5.0.7 (manual.pdf, manual.html)
example for submission on CRESCO4: cresco4x001, cresco4x002.
bsub -n 400 -q cresco4_256h24 -o file.out -e err.dat gromacs5.0.7_par args
bsub -n 64 -q cresco4_16h24 -o file.out -e err.dat gromacs5.0.7_par args
bsub -n 64 -q cresco4_h6 -o file.out -e err.dat gromacs5.0.7_par args
N.B.
-R "same[model]", -R K40, -R S2050, -R "select[model==xxx]",
-R "select[hname==crescoxx1 || hname==crescoxx2]", -R "select[hname!=crescoxx3]".
Discipline: Computational Biology
GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles. It is primarily designed for biochemical molecules like proteins and lipids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the nonbonded interactions (that usually dominate simulations) many groups are also using it for research on non-biological systems, e.g. polymers.
In this page you can find the launching and submission syntax for Gromacs code on the ENEA-GRID. Please, read the following documentation for running serial/parallel application on CRESCO clusters using LSF framework: Batch Jobs / LSF. This is not a tutorial about using codes like Gromacs, for that, you may find documentation and tutorial on the official web site www.gromacs.org.
ENEA-GRID/CRESCO utilization rules (link).
To submit on CRESCO6 use the script named gromacs . To know the installed versions simply type:
| CRESCO Cluster |
CRESCO6 front-ends cresco6x001 cresco6x002 | |||||
| LSF submission |
bsub -n N -q queue bsub_options -o lsf_file.out -e file.err gromacs version mode args export OMP_NUM_THREADS=nthreads
where:
version = gromacs version (e.g. 2019) mode = par or ser args = mdrun (or other gormacs executables) -s input.in -o trajectory.trr -c structure.gro -g md.log -e energy.edr ... |
|||||
Example of job submission
- To submit a job on CRESCO6 using the 2019 version with only MPI parallelism and using 96 processors:
bsub -n 96 -q cresco6_48h24 -o lsf_file.out -e file.err gromacs 2019 par mdrun -s topol.tpr - To submit a job on CRESCO6 using the 2019 version with hybrid MPI+OpenMP parallelism and using 96 processors and 2 threads per core (pt*threads=48 since CRESCO6 has 48 cores per node):
export OMP_NUM_THREADS=2
bsub -n 96 -q cresco6_48h24 -R "span[ptile=24]" -o lsf_file.out -e file.err gromacs 2019 par mdrun -s topol.tpr - To submit a job on CRESCO6 using the intel compiler and the serial version:
bsub -n 1 -q cresco6_h4 -o lsf_file.out -e file.err gromacs 2019 ser mdrun -s topol.tpr -ntmpi 1
|
CRESCO Cluster |
CRESCO4 front-end cresco4x001 cresco4x002 |
|||||
| LSF submission |
bsub -n N -q queue bsub_options -i file.in -o file.out -e file.err gromacs5.0.7_par args bsub -n 1 -q queue bsub_options -i file.in -o file.out -e file.err gromacs5.0.7_ser args |
|||||
Gromacs version 5.0.7 (manual.pdf, manual.html)
example for submission on CRESCO4: cresco4x001, cresco4x002.
bsub -n 400 -q cresco4_256h24 -o file.out -e err.dat gromacs5.0.7_par args
bsub -n 64 -q cresco4_16h24 -o file.out -e err.dat gromacs5.0.7_par args
bsub -n 64 -q cresco4_h6 -o file.out -e err.dat gromacs5.0.7_par args
N.B.
- Example of arguments: -s input.in -o trajectory.trr -c structure.gro -g md.log -e energy.edr
- For the interactive submission on the front-end cresco4x002 use the command:
- gromacs5.0.7_ser args
-R "same[model]", -R K40, -R S2050, -R "select[model==xxx]",
-R "select[hname==crescoxx1 || hname==crescoxx2]", -R "select[hname!=crescoxx3]".
Materials
science