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

Add "module purge" to reproducer reload_modules.sh #718

Merged
merged 1 commit into from
May 4, 2020

Conversation

brian-kelley
Copy link
Contributor

This is just a one-line change to cm_test_all_sandia. It fixes the reproducer instructions for bowman, which was saying "module intel/18... conflicts with loaded module...". This matches the actual behavior of the testing script, which purges module before each build.

@brian-kelley brian-kelley requested a review from ndellingwood May 4, 2020 19:41
@brian-kelley brian-kelley self-assigned this May 4, 2020
@@ -1142,6 +1142,7 @@ single_build_and_test() {
then
echo " $MODULE_ENVIRONMENT" &>> reload_modules.sh
fi
echo " module purge" &>> reload_modules.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

@brian-kelley shouldn't this be placed before the $MODULE_ENVIRONMENT call? Otherwise I think this will blow away modules for some of the systems.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ndellingwood Are you concerned thatpurge will undo commands in $MODULE_ENVIRONMENT? I was worried about that too, but before my changes (before Apr 28) the script also did the machine-specific setup once and then purged before each build.

sems-env is the first in the list of modules for the builds that need it, and I just made sure that module use isn't undone by purge.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for checking, merge when you're ready

@brian-kelley brian-kelley merged commit ff45591 into kokkos:develop May 4, 2020
@brian-kelley brian-kelley deleted the ReproducerPurge branch May 4, 2020 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants