Skip to content

Conversation

bosilca
Copy link
Member

@bosilca bosilca commented Oct 23, 2024

nvfortran needs to be passed -fPIC when building shared libraries, so patch the generated configure script in order to properly handle nvfortran:

  • add nvfortran to the list of known fortran compilers
  • pass -fPIC to the compiler

Refs. #8919
Backport of #12722

Signed-off-by: Gilles Gouaillardet gilles@rist.or.jp
Signed-off-by: George Bosilca gbosilca@nvidia.com
(cherry picked from commit ccd6415)

nvfortran needs to be passed -fPIC when building shared libraries,
so patch the generated configure script in order to properly
handle nvfortran:
- add nvfortran to the list of known fortran compilers
- pass -fPIC to the compiler

Refs. open-mpi#8919

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Signed-off-by: George Bosilca <gbosilca@nvidia.com>
(cherry picked from commit ccd6415)
@github-actions github-actions bot added this to the v5.0.6 milestone Oct 23, 2024
@jsquyres jsquyres changed the title configury: patch configure to support nvfortran v5.0.x: configury: patch configure to support nvfortran Oct 23, 2024
@janjust janjust merged commit 0ebc462 into open-mpi:v5.0.x Oct 30, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants