Modifications to get PGI working#493
Merged
tgamblin merged 1 commit intospack:developfrom Mar 5, 2016
Merged
Conversation
Member
|
Looks good. This is also consistent with how things like |
tgamblin
added a commit
that referenced
this pull request
Mar 5, 2016
Modifications to get PGI working
Member
Author
|
@tgamblin: Any thoughts on the auto-detection problem? I would like it to default to |
matz-e
added a commit
to matz-e/spack
that referenced
this pull request
Apr 27, 2020
greenc-FNAL
added a commit
to greenc-FNAL/spack
that referenced
this pull request
Jan 14, 2025
…iner-updates FNAL Maintainer updates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was having trouble installing HDF4 with PGI compilers. If you take a look at this discussion you'll see the exact problem that was occurring for me. The HDF4 configure script only accepts the
F77environment variable, notFC. But somehow, some F90 code slipped in there, and HDF4 cannot be compiled with a purely F77 Fortran compiler. The suggestion posted by PGI is to use thepgfortrancompiler, which compiles both F77 and F90 code.If you take a look at the latest PGI Installation Guide you'll see that PGI actually recommends using
pgc++, andpgfortraninstead of the olderpgCC,pgf77, andpgf90compilers. Older versions of PGI don't seem to havepgCC, so I left it in the list ofcxx_namesfor backwards compatibility.The last stumbling block left is auto-detection. When I run:
it still finds
pgCC,pgf77, andpgf90. Isspack compiler addnot setup to prefer the first executable it finds incxx_names,f77_names, andfc_names?