MOLECULAR DYNAMICS PERFORMANCE GUIDE - Digital Research Alliance of CANADA

SOFTWARE DETAILS

ID=33, GROMACS.cuda.mpi

  • Module/Version: gromacs/2023.2
  • Toolchain/Version: gofbfc/2020.1.403.114
  • CPU instruction set: avx2
  • Example job submission script:

    #!/bin/bash
    #SBATCHi --mem-per-cpu 2000 --time 1:0:0
    #SBATCH --nodes 1 --ntasks 2 -c 12 --gpus-per-task 1

    td=$SLURM_TMPDIR
    wd=$SLURM_SUBMIT_DIR
    cp topol.tpr $td && cd $td

    module load StdEnv/2020 gcc/9.3.0 cuda/11.4 openmpi/4.0.3 gromacs/2023.2

    srun gmx mdrun -ntomp ${SLURM_CPUS_PER_TASK:-1} \
    -nb gpu -pme gpu -update gpu -bonded cpu -s topol.tpr

    cp md.log $wd

  • Benchmark submission script:
      

    #!/bin/bash
    #SBATCHi --mem-per-cpu 2000 --time 1:0:0
    #SBATCH --nodes 1 --ntasks 2 -c 12 --gpus-per-task 1

    td=$SLURM_TMPDIR
    wd=$SLURM_SUBMIT_DIR
    cp topol.tpr $td && cd $td

    module load StdEnv/2020 gcc/9.3.0 cuda/11.4 openmpi/4.0.3 gromacs/2023.2

    srun gmx mdrun -ntomp ${SLURM_CPUS_PER_TASK:-1} \
    -nb gpu -pme gpu -update gpu -bonded cpu -s topol.tpr

    cp md.log $wd