Skip to content
Snippets Groups Projects
Commit 1357316e authored by Danny Auble's avatar Danny Auble
Browse files

CRAY - make mention of how to make a select/cray configuration if not

already using select/cray
parent a1f27c61
No related branches found
No related tags found
No related merge requests found
...@@ -251,6 +251,21 @@ extern int slurm_select_init(bool only_default) ...@@ -251,6 +251,21 @@ extern int slurm_select_init(bool only_default)
"system use --enable-alps-cray-emulation."); "system use --enable-alps-cray-emulation.");
} }
#endif #endif
#ifdef HAVE_NATIVE_CRAY
if (strcasecmp(type, "select/cray")) {
error("%s is incompatible with a native Cray system.",
type);
fatal("Use SelectType=select/cray");
}
#else
if (!strcasecmp(type, "select/cray")) {
fatal("Requested SelectType=select/cray "
"in slurm.conf, but not running on a native Cray "
"system. If looking to run on a Cray "
"system natively use --enable-native-cray.");
}
#endif
} }
select_context_cnt = 0; select_context_cnt = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment