#!/bin/bash
#SBATCH --mem-per-cpu=2000 --time=1:0:0 -c1 --ntasks=384 --nodes=2
export OMP_NUM_THREADS="${SLURM_CPUS_PER_TASK:-1}"
module load StdEnv/2023 gcc/12.3 openmpi/4.1.5 gromacs/2024.4
srun gmx_mpi mdrun -s topol.tpr
#!/bin/bash
#SBATCH --mem-per-cpu=2000 --time=1:0:0 -c1 --ntasks=960 --nodes=5
export OMP_NUM_THREADS="${SLURM_CPUS_PER_TASK:-1}"
module load StdEnv/2023 gcc/12.3 openmpi/4.1.5 gromacs/2024.4
srun gmx_mpi mdrun -s topol.tpr -cpt 0
grep Brand md.log
grep "The number of OpenMP threads" md.log
grep "MPI pro" md.log
echo ntasks=$SLURM_TASKS_PER_NODE
grep Performance: md.log