Package Details: openmpi-slurm 4.1.2-3

Git Clone URL: https://aur.archlinux.org/openmpi-slurm.git (read-only, click to copy)
Package Base: openmpi-slurm
Description: patch for openmpi to support slurm-llnl
Upstream URL: https://www.open-mpi.org
Keywords: openmpi slurm slurm-llnl
Licenses: custom:OpenMPI
Submitter: wookietreiber
Maintainer: yuhldr
Last Packager: yuhldr
Votes: 4
Popularity: 0.000000
First Submitted: 2012-09-19 17:29 (UTC)
Last Updated: 2022-04-23 13:15 (UTC)

Pinned Comments

yuhldr commented on 2022-04-23 09:47 (UTC)

Since --without-slurm is included in openmpi compilation, slurm-llnl compilation does not support the following openmpi commands even if pmix dependencies are included

srun -n 5 lmp -in file.in

so openmpi-slurm recompiles openmpi and only adds the missing slurm library files

Latest Comments

yuhldr commented on 2022-04-23 09:47 (UTC)

Since --without-slurm is included in openmpi compilation, slurm-llnl compilation does not support the following openmpi commands even if pmix dependencies are included

srun -n 5 lmp -in file.in

so openmpi-slurm recompiles openmpi and only adds the missing slurm library files

antoniotcosta commented on 2021-05-28 14:25 (UTC)

I apologize in advance for the naive question. Assuming this package really conflicts with openmpi in Extra, how should one deal with the dependence of fftw on openmpi? Is building a fftw-slurm depending on openmpi-slurm an "acceptable" solution? Thanks.

Telephonmast commented on 2020-05-10 20:47 (UTC) (edited on 2020-05-11 10:59 (UTC) by Telephonmast)

I think I got the package compiling with the following PKGBUILD:

Maintainer: Tyler Thorn <firebirdracer79[at]gmail>
Adapted from openmpi package by:
Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
Contributor: Stéphane Gaudreault stephane@archlinux.org

pkgname=openmpi-slurm pkgver=4.0.3 pkgrel=1 pkgdesc='High performance message passing library (MPI)' url='https://www.open-mpi.org' arch=('x86_64' 'aarch64') license=('custom:OpenMPI') depends=('libltdl' 'hwloc' 'openssh' 'zlib' 'libnl') conflicts=('openmpi') makedepends=('inetutils' 'valgrind' 'gcc-fortran') optdepends=('gcc-fortran: fortran support') options=('staticlibs') source=('https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.bz2') sha256sums=('1402feced8c3847b3ab8252165b90f7d1fa28c23b6b2ca4632b6e4971267fd03') sha512sums=('01f773064c575a0fe6ab081c20c5cf07ba1c9eada5ecfe520d14ce2b9fc6d021d0f56a0159fa354fd6c8e2bb7354a272aa8d0063b351f59251deb56474849acc')

build() { cd openmpi-${pkgver} ./configure --prefix=/usr \ --sysconfdir=/etc/openmpi \ --enable-mpi-fortran=all \ --libdir=/usr/lib/openmpi \ --enable-builtin-atomics \ --enable-mpi-cxx \ --with-valgrind \ --enable-memchecker \ --enable-pretty-print-stacktrace \ --with-slurm \ --with-hwloc=/usr \ --with-libltdl=/usr \ FC=/usr/bin/gfortran \ LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" make }

check() { cd openmpi-${pkgver} make check }

package() { cd openmpi-${pkgver} make DESTDIR="${pkgdir}" install

# FS#28583 install -dm 755 "${pkgdir}/usr/lib/pkgconfig" for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do ln -sf "/usr/lib/openmpi/pkgconfig/${i}" "${pkgdir}/usr/lib/pkgconfig/" done

install -dm 755 "${pkgdir}/etc/ld.so.conf.d" echo "/usr/lib/openmpi" > "${pkgdir}"/etc/ld.so.conf.d/openmpi.conf install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/openmpi" }

vim: ts=2 sw=2 et:

Telephonmast commented on 2020-05-10 14:42 (UTC)

Hello, there is a problem with the PKGBUILD file, the link appears to be broken (error 403), also as far as I understand this package will conflict with the binary openmpi package. The proper link, as far as I understand, is this: https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3.tar.bz2

wookietreiber commented on 2013-05-13 09:48 (UTC)

Dropped VampirTrace support completely from this package. This should be a separate package.