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
clear mpicc and friends before each build #17450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One quick change to the env names needed, otherwise looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You addressed one of the two changes in the previous suggestion. MPIF77 is the name of the variable, not MPIF70.
lib/spack/spack/build_environment.py
Outdated
# Unset mpi environment vars. These flags should only be set by | ||
# mpi providers for packages with mpi dependencies | ||
mpi_vars = [ | ||
'MPICC', 'MPICXX', 'MPIFC', 'MPIF70', 'MPIF90' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'MPICC', 'MPICXX', 'MPIFC', 'MPIF70', 'MPIF90' | |
'MPICC', 'MPICXX', 'MPIFC', 'MPIF77', 'MPIF90' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for resolving the prior thread while overlooking that suggestion.
@scheibelp do you want this in 0.15.1 or 0.15.2? |
Fixes #17322
@becker33