FS#74878 - [openmpi] build with slurm support

Attached to Project: Arch Linux
Opened by yuh (yuhldr) - Saturday, 28 May 2022, 11:50 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 21 September 2022, 09:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Felix Yan (felixonmars)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I don't understand why openmpi can be compiled through --without-slurm. Even if you don't rely on slurm, you can compile through --with-slurm (or ignore the --without-slurm option).

Now it will cause parallel error messages from slurm:

```bash
The application appears to have been direct launched using "srun",
but OMPI was not built with SLURM support. This usually happens
when OMPI was not configured --with-slurm and we weren't able
to discover a SLURM installation in the usual places.

Please configure as appropriate and try again.
```

Additional info:
* package version(s):4.1.3-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 21 September 2022, 09:15 GMT
Reason for closing:  Implemented
Additional comments about closing:  4.1.4-4
Comment by Carlos Aznarán (carlosal1015) - Tuesday, 21 June 2022, 23:22 GMT
Is related with `/usr/lib/openmpi/libmpi_cxx.so` was dropped in the last upgrade and replaced with `/usr/lib/openmpi/libompi_dbg_msgq.so`?
Comment by Toolybird (Toolybird) - Saturday, 30 July 2022, 01:08 GMT
IIUC, reporter is requesting openmpi be built with support for slurm? slurm is AUR but openmpi is dynamic in nature which means slurm doesn't need to be present. Just omitting the `--without-slurm' switch is enough for configure to report:

Resource Managers
-----------------------
<...>
Slurm: yes

FWIW, both Fedora and Debian appear to support slurm.
(Disclaimer: I'm not 100% certain on any of the above as I haven't built/tested it)

Loading...