GROMACS¶
This example demonstrates how to run GROMACS on AMD GPUs with rocmcontainers modules.
First, download the .tpr input files for 'lysozyme in water' tutorial from this archive. Then unzip the folder and go to that folder by
Submit a Slurm job, making sure to request GPU-enabled queue and desired number of GPUs. The following example shows an Slurm job submission, asking for one node (128 cores) in the "gpu" account with and two GPUs for 6 hours:
The above batch script will perform energy minimization, NVT and NPT equilibrations and production MD simulations in sequence. The .log files contain the performance of GPU nodes. For better performance, please refer to the 'Getting good performance from mdrun' documentation for help.
Afterwards you can do interactive post analysis as usual:
To compare generated .xvg figures with reference, please see the analysis step of the 'lysozyme in water' tutorial for help.