8000 ENH: Use f90 compiler specified in f2py command line args for pgi compiler by danbeibei · Pull Request #16730 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Use f90 compiler specified in f2py command line args for pgi compiler #16730

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

Merged
merged 1 commit into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions doc/release/upcoming_changes/16730.improvement.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Use f90 compiler specified in command line args
--------------------------------------------------------

The compiler command selection for Fortran Portland Group Compiler is changed in `numpy.distutils.fcompiler`.
This only affects the linking command.
This forces the use of the executable provided by the command line option (if provided)
instead of the pgfortran executable.
If no executable is provided to the command line option it defaults to the pgf90 executable,
wich is an alias for pgfortran according to the PGI documentation.
2 changes: 1 addition & 1 deletion numpy/distutils/fcompiler/pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PGroupFCompiler(FCompiler):
'compiler_f77': ["pgfortran"],
'compiler_fix': ["pgfortran", "-Mfixed"],
'compiler_f90': ["pgfortran"],
'linker_so': ["pgfortran"],
'linker_so': ["<F90>"],
'archiver': ["ar", "-cr"],
'ranlib': ["ranlib"]
}
Expand Down
0