Skip to content
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

Merged
merged 4 commits into from Jul 9, 2020

Conversation

s-sajid-ali
Copy link
Contributor

Copy link
Member

@becker33 becker33 left a 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.

lib/spack/spack/build_environment.py Outdated Show resolved Hide resolved
Copy link
Member

@becker33 becker33 left a 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.

# 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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'MPICC', 'MPICXX', 'MPIFC', 'MPIF70', 'MPIF90'
'MPICC', 'MPICXX', 'MPIFC', 'MPIF77', 'MPIF90'

Copy link
Contributor Author

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.

@becker33 becker33 merged commit 12099ed into spack:develop Jul 9, 2020
@becker33
Copy link
Member

becker33 commented Jul 9, 2020

@scheibelp do you want this in 0.15.1 or 0.15.2?

@s-sajid-ali s-sajid-ali deleted the mpi_env_clean branch July 15, 2020 21:27
becker33 pushed a commit that referenced this pull request Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Installation issue: openmpi@3.1.6 %gcc@8.4.0
2 participants