Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
opoplawski opened this issue Sep 1, 2024 · 1 comment
Open

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

opoplawski opened this issue Sep 1, 2024 · 1 comment

Comments

@opoplawski
Copy link
Contributor

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.

@opoplawski
Copy link
Contributor Author

Still an issue with 5.0.6.

ggouaillardet added a commit to ggouaillardet/ompi that referenced this issue Nov 18, 2024
Refs. open-mpi#12787

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants