#!/bin/bash
#
# Arguments:
#
#   $1  - Number of MPI Tasks
#   $2+ - Executable and its arguments
#

NP=$1
shift

srun -n $NP $@
