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 [email protected]
Signed-off-by: George Bosilca [email protected]
(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 <[email protected]>
Signed-off-by: George Bosilca <[email protected]>
(cherry picked from commit ccd6415)
@github-actions github-actions bot added this to the v4.1.7 milestone Oct 23, 2024
@jsquyres jsquyres changed the title configury: patch configure to support nvfortran v4.1.x: configury: patch configure to support nvfortran Oct 23, 2024
@jsquyres jsquyres merged commit 546e5f9 into open-mpi:v4.1.x Oct 23, 2024
12 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.

3 participants