Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #SBATCH --job-name=LAT # Job name
- #SBATCH --ntasks=2 # Number of MPI tasks (i.e. processes)
- #SBATCH --nodes=2 # Maximum number of nodes to be allocated
- #SBATCH --partition=but2 # Partition to use
- echo "Date = $(date)"
- echo "Hostname = $(hostname -s)"
- echo "Working Directory = $(pwd)"
- echo ""
- echo "Number of Nodes Allocated = $SLURM_JOB_NUM_NODES"
- echo "Number of Tasks Allocated = $SLURM_NTASKS"
- echo "Number of Cores/Task Allocated = $SLURM_CPUS_PER_TASK"
- mpirun --mca btl_tcp_if_include eth0 -np ${SLURM_NTASKS} /clusterfs/OSUmicro/libexec/osu-micro-benchmarks/mpi/pt2pt/osu_latency
- ~
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement