>
> If you use modules, perhaps you could detect when the module is loaded from a
> gateway and not set I_MPI_PMI_LIBRARY there. If you're not using SLURM on
> your gateways for interactive jobs then it becomes even easier-- just make
> I_MPI_PMI_LIBRARY conditional on finding one of the SLURM_* job variables.
>
Yeah, I’ve thought about solutions like this but this also assumes that a user
will always use srun rather than Intel’s mpirun/mpiexec in a SLURM job. I
suppose that’s the best we can do. Thanks for the reply.