Skip to content

--with-mpi-moduledir does not create the installation directory #12787

Open
@opoplawski

Description

@opoplawski

Thank you for taking the time to submit an issue!

Background information

What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)

5.0.5

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Building Fedora package from source

Please describe the system on which you are running

  • Operating system/version: Fedora Rawhide

Details of the problem

Configured with --with-mpi-moduledir=/usr/lib64/gfortran/modules/openmpi, install fails with:

/usr/bin/make  install-exec-hook
make[4]: Entering directory '/builddir/build/BUILD/openmpi-5.0.5-build/openmpi-5.0.5/ompi/mpi/fortran/use-mpi'
/usr/bin/install -p mpi_types.mod /builddir/build/BUILD/openmpi-5.0.5-build/BUILDROOT/usr/lib64/gfortran/modules/openmpi
/usr/bin/install: cannot create regular file '/builddir/build/BUILD/openmpi-5.0.5-build/BUILDROOT/usr/lib64/gfortran/modules/openmpi': No such file or directory
make[4]: *** [Makefile:1707: install-exec-hook] Error 1

I would expect it to be able to create any needed sub-directories.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions