Can I use mpirun to run my parallel codes?

To avoid automatic distribution errors of the mpi processes on the compute nodes, and to guarantee a distribution which is consistent with the resources requested in your Slurm submission file, we recommend using the Slurm srun command to execute your code instead of the mpirun command.