Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:gromacs [2023/02/17 17:58] – [GPU Partition] msiegel | doku:gromacs [2023/02/21 12:04] – [Batch Script] goldenberg | ||
---|---|---|---|
Line 4: | Line 4: | ||
- Use the most recent version of GROMACS that we provide or build your own. | - Use the most recent version of GROMACS that we provide or build your own. | ||
- | - Use the newest Hardware: the partitions '' | + | - Use the newest Hardware: the partitions '' |
- Read our article on [[doku: | - Read our article on [[doku: | ||
- Run on multiple nodes with MPI; each with 1 GPU | - Run on multiple nodes with MPI; each with 1 GPU | ||
Line 17: | Line 17: | ||
available partitions. The partition has to be set in the batch script, | available partitions. The partition has to be set in the batch script, | ||
see the example below. Be aware that each partition has different | see the example below. Be aware that each partition has different | ||
- | hardware, | + | hardware, |
- | 1 GPU and a single socket à 4 cores, with 2 hyperthreads each core, | + | |
- | listed at [[doku: | + | |
- | makes sense to let GROMACS run on 8 threads ('' | + | |
- | makes little sense to force more threads than that, as this would lead | + | |
- | to oversubscribing. GROMACS decides mostly on its own how it wants to | + | |
work, so don't be surprised if it ignores settings like environment | work, so don't be surprised if it ignores settings like environment | ||
variables. | variables. | ||
Line 39: | Line 34: | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --job-name=myname | #SBATCH --job-name=myname | ||
- | #SBATCH --partition=gpu_gtx1080single | + | #SBATCH --partition=zen2_0256_a40x2 |
+ | #SBACTH --qos=zen2_0256_a40x2 | ||
#SBATCH --gres=gpu: | #SBATCH --gres=gpu: | ||
- | #SBATCH --nodes=1 | ||
unset OMP_NUM_THREADS | unset OMP_NUM_THREADS | ||
Line 47: | Line 42: | ||
module purge | module purge | ||
- | module load gcc/7.3 nvidia/1.0 cuda/10.1.168 cmake/3.15.4 openmpi/4.0.5 python/3.7 gromacs/2021.2_gtx1080 | + | module load cuda/11.5.0-gcc-11.2.0-ao7cp7w openmpi/4.1.4-gcc-11.2.0-ub765vm |
gmx_mpi mdrun -s topol.tpr | gmx_mpi mdrun -s topol.tpr |