int nthreads = 1;
const char *procstring[] =
- { NULL, "-np", "-n", "none", NULL };
+ { NULL, "np", "n", "none", NULL };
const char *npmevalues_opt[] =
{ NULL, "auto", "all", "subset", NULL };
{ "-np", FALSE, etINT, {&nnodes},
"Number of ranks to run the tests on (must be > 2 for separate PME ranks)" },
{ "-npstring", FALSE, etENUM, {procstring},
- "Specify the number of ranks to [TT]$MPIRUN[tt] using this string"},
+ "Name of the [TT]$MPIRUN[tt] option that specifies the number of ranks to use ('np', or 'n'; use 'none' if there is no such option)" },
{ "-ntmpi", FALSE, etINT, {&nthreads},
"Number of MPI-threads to run the tests on (turns MPI & mpirun off)"},
{ "-r", FALSE, etINT, {&repeats},
* mpirun command. */
if (std::strcmp(procstring[0], "none") != 0)
{
- sprintf(bbuf, " %s %d ", procstring[0], nnodes);
+ sprintf(bbuf, " -%s %d ", procstring[0], nnodes);
}
else
{
fprintf(fp, "The mpirun command is : %s\n", cmd_mpirun);
if (std::strcmp(procstring[0], "none") != 0)
{
- fprintf(fp, "Passing # of ranks via : %s\n", procstring[0]);
+ fprintf(fp, "Passing # of ranks via : -%s\n", procstring[0]);
}
else
{