help run Fortran coarray programs with SLURM

help run Fortran coarray programs with SLURM

I'm using ifort and mpiifort 17.0.1. Previously I was able to run Fortran coarray programs with PBS. Now I need to use SLURM, and I cannot  adjust my old PBS scripts for this to work. I get lots of errors like this:

Error in system call pthread_mutex_unlock: Operation not permitted

My coarray SLURM script is:


#SBATCH --nodes=2
#SBATCH --tasks-per-node=28
#SBATCH --time=00:30:00
#SBATCH -p test

module load intel/2017.01
echo -genvall -genv -np ${SLURM_NTASKS} ./$EXE > xx14.conf
srun -N ${SLURM_NNODES} --nodelist=${SLURM_NODELIST} /bin/hostname > nodes

The executable and the Intel coarray distributed memory config file are created according to Intel's instructions:

Again, all that's changed is that I need to use SLURM instead of PBS. The executable hasn't changed.


1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.