Skip to content

Instantly share code, notes, and snippets.

@otreblan
Created November 3, 2023 00:44
Show Gist options
  • Save otreblan/408d797817bb34a9f3dcaab93b8d9091 to your computer and use it in GitHub Desktop.
Save otreblan/408d797817bb34a9f3dcaab93b8d9091 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#SBATCH --job-name=bucketsort-mpi
#SBATCH --nodes=2
#SBATCH --mem-per-cpu=6G
#SBATCH --mail-type=ALL
module load gcc/10.1.0 mpich/4.0
mpicxx bucketsort-mpi.cpp -o bucket-mpi
mpirun ./bucket-mpi
module purge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment