You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
213 B

#!/bin/bash
#SBATCH --ntasks=6
# Requires python3, a configured MPI environment
# and the Python packages mpi4py and numpy to be
# available in PATH.
cd $SLURM_SUBMIT_DIR
mpiexec -n 6 python3 ./calculate_pi.py