failed to build in a clean noble-proposed schroot.
logs snippet:
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1055:(.text+0x59dca): undefined reference to `mpi_comm_group_'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1073:(.text+0x59dfc): undefined reference to `mpi_group_incl_'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1055:(.text+0x59e1e): undefined reference to `mpi_comm_create_'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1055:(.text+0x59e36): undefined reference to `mpi_group_free_'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1055:(.text+0x59e4e): undefined reference to `mpi_group_free_'
/usr/bin/ld: /<<PKGBUILDDIR>>/lib/Linux-s390x-gfortran/psmp/libcp2kmpiwrap.a(message_passing.o): in function `__message_passing_MOD_mp_world_init':
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1035:(.text+0x5a002): undefined reference to `mpi_comm_set_errhandler_'
/usr/bin/ld: /<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:1028:(.text+0x5a07a): undefined reference to `mpi_init_thread_'
collect2: error: ld returned 1 exit status
make[5]: *** [/<<PKGBUILDDIR>>/obj/Linux-s390x-gfortran/psmp/all.dep:147: /<<PKGBUILDDIR>>/exe/Linux-s390x-gfortran/parallel_rng_types_unittest.psmp] Error 1
make[5]: *** Waiting for unfinished jobs....
mpif90 -c -g -Wall -O2 -fopenmp -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -fallow-argument-mismatch -D__GFORTRAN -D__FFTSG -D__FFTW3 -D__LIBINT -D__LIBXC -D__SPGLI
B -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA=202111 -I/usr/include/elpa/modules/ -I/usr/include/elpa/elpa/ -I/usr/include -D__COMPILE_ARCH="\"Linux-s390x-gfortran\"" -D__COMPILE_DATE="\"M
on Jan 22 21:58:31 UTC 2024\"" -D__COMPILE_HOST="\"juju-29a42f-misc-model-26\"" -D__COMPILE_REVISION="\"git:65cca6c\"" -D__DATA_DIR="\"/usr/share/cp2k\"" -D__SHORT_FILE__="\"eri_mme/eri_mme_
lattice_summation.F\"" -I'/<<PKGBUILDDIR>>/src/eri_mme/' eri_mme_lattice_summation.F90
make[4]: *** [/<<PKGBUILDDIR>>/Makefile:145: all] Error 2
make[3]: *** [/<<PKGBUILDDIR>>/Makefile:127: psmp] Error 2
make[2]: *** [Makefile:122: all] Error 2