Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hmeiland/amlhpc into main
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeiland committed Jan 10, 2024
2 parents 0bc63b5 + ff56400 commit 28c4418
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/GROMACS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ total 4.7M
Now create a small runscript to mount the EESSI stack, load Gromacs and run the job:
```
#!/bin/bash
mount -t cvmfs pilot.eessi-hpc.org /cvmfs/pilot.eessi-hpc.org
sudo mount -t cvmfs pilot.eessi-hpc.org /cvmfs/pilot.eessi-hpc.org
source /cvmfs/pilot.eessi-hpc.org/latest/init/bash
ml load GROMACS
export OMP_NUM_THREADS=12
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
mpirun -np 8 gmx_mpi mdrun \
-s ion_channel.tpr \
Expand Down Expand Up @@ -57,13 +55,11 @@ The next step is to run Gromacs over multiple nodes using MPI and the InfiniBand
To do this, the runscript-2N.sh needs to be teaked to prepare the nodes and provide mpirun with the right variables:
```
#!/bin/bash
parallel-ssh -i -H "${AZ_BATCH_HOST_LIST//,/ }" "mount -t cvmfs pilot.eessi-hpc.org /cvmfs/pilot.eessi-hpc.org"
parallel-ssh -i -H "${AZ_BATCH_HOST_LIST//,/ }" "sudo mount -t cvmfs pilot.eessi-hpc.org /cvmfs/pilot.eessi-hpc.org"
source /cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash
ml load GROMACS
export OMP_NUM_THREADS=14
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
for i in ${AZ_BATCH_HOST_LIST//,/ }
do
Expand Down

0 comments on commit 28c4418

Please sign in to comment.