#!/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