Skip to content
Snippets Groups Projects
Commit 79f925c5 authored by Damian Alvarez's avatar Damian Alvarez
Browse files

To allow to install MPIs in overlays using user installations, without bumping into a blocker

parent 969818c4
No related branches found
No related tags found
No related merge requests found
...@@ -463,7 +463,8 @@ def pre_ready_hook(self, *args, **kwargs): ...@@ -463,7 +463,8 @@ def pre_ready_hook(self, *args, **kwargs):
# overridden, only experts should know that) # overridden, only experts should know that)
override_mpi_check = os.getenv("JSC_OVERRIDE_MPI_CHECK") override_mpi_check = os.getenv("JSC_OVERRIDE_MPI_CHECK")
if not override_mpi_check: if not override_mpi_check:
if is_mpi and GOLDEN_REPO not in path_to_ec and os.getenv('USER') not in 'swmanage': if is_mpi and GOLDEN_REPO not in path_to_ec and 'Overlays' not in path_to_ec \
and os.getenv('USER') not in 'swmanage':
print_warning( print_warning(
"\nYou are attempting to install a non-system MPI implementation (%s), " "\nYou are attempting to install a non-system MPI implementation (%s), "
"this is very likely to lead to severe performance degradation. Please " "this is very likely to lead to severe performance degradation. Please "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment