
* Orca: Add new versions. * Orca: Support OpenMPI without the legacy wrappers. By default, Spack builds OpenMPI without the legacy wrappers when using the Slurm scheduler. This breaks Orca since its binaries are hardcoded to call "mpirun". To workaround this issue, add a "mpirun" wrapper which calls "srun" when required.
5 lines
110 B
Bash
Executable File
5 lines
110 B
Bash
Executable File
#!/bin/sh
|
|
# Replacement wrapper for mpirun when only srun is available
|
|
|
|
srun $(echo "${@}" | sed 's/-np/-n/')
|