You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/src/sst/core/config.cc b/src/sst/core/config.cc
index 63939421..68be8397 100644
--- a/src/sst/core/config.cc
+++ b/src/sst/core/config.cc
@@ -798,7 +798,9 @@ static const struct sstLongOpts_s sstOptions[] = {
"verbose", 'v', "level", "Verbosity level to determine what information about core runtime is printed",
&ConfigHelper::incrVerbose, &ConfigHelper::setVerbosity, true),
DEF_ARG(
- "num_threads", 'n', "NUM", "Number of parallel threads to use per rank", &ConfigHelper::setNumThreads, true),
+ "num-threads", 'n', "NUM", "Number of parallel threads to use per rank", &ConfigHelper::setNumThreads, true),
+ DEF_ARG(
+ "num_threads", 'n', "NUM", "[DEPRECATED] Obsolete synonym for --num-threads.", &ConfigHelper::setNumThreads, true),
DEF_ARG(
"sdl-file", 0, "FILE",
"Specify SST Configuration file. Note: this is most often done by just specifying the file without an option.",
feldergast
added a commit
to feldergast/sst-core
that referenced
this issue
Oct 6, 2022
- Change command line option --num_threads to --num_threads. Fixessstsimulator#871
- Fix setting of threads in the Python input file. Fixessstsimulator#872
--num_threads
option is the only option which uses underscore_
instead of dash-
to separate words.Even the error message in
Config::setNumThreads
uses dashAn option
-num-threads
should be provided. (Keepnum_threads
for backwards compatibility)The text was updated successfully, but these errors were encountered: