Last active
December 24, 2020 18:52
-
-
Save DaisukeMiyamoto/fb791765d9c9bcec75aae566b2e1c4b5 to your computer and use it in GitHub Desktop.
sample setup and job script for OSU benchmark with Slurm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# module load intelmpi | |
module load openmpi | |
wget http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-5.6.2.tar.gz | |
tar zxvf ./osu-micro-benchmarks-5.6.2.tar.gz | |
cd osu-micro-benchmarks-5.6.2/ | |
./configure CC=mpicc CXX=mpicxx | |
make -j 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
#SBATCH -N 2 | |
#SBATCH --ntasks-per-node 64 | |
mpirun -np ${SLURM_NTASKS} /shared/osu-micro-benchmarks-5.6.2/mpi/pt2pt/osu_mbw_mr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
#SBATCH -N 2 | |
#SBATCH --ntasks-per-node 1 | |
mpirun -np ${SLURM_NTASKS} /shared/osu-micro-benchmarks-5.6.2/mpi/pt2pt/osu_latency |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment