Skip to content

Commit

Permalink
add mpi launcher parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
plavin committed Apr 3, 2024
1 parent 359e4ed commit 86cf031
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sst/elements/ariel/frontend/pin3/pin3frontend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ Pin3Frontend::Pin3Frontend(ComponentId_t id, Params& params, uint32_t cores, uin
arg++;
}

mpilauncher = params.find<std::string>("mpilauncher");
mpiranks = params.find<int>("mpiranks");
mpitracerank = params.find<int>("mpitracerank");
mpilauncher = params.find<std::string>("mpilauncher", "");
mpiranks = params.find<int>("mpiranks", 1);
mpitracerank = params.find<int>("mpitracerank", 0);

if (mpilauncher.compare("") != 0) {
use_mpilauncher = true;
Expand Down Expand Up @@ -206,7 +206,7 @@ Pin3Frontend::Pin3Frontend(ComponentId_t id, Params& params, uint32_t cores, uin


if (use_mpilauncher) {
output->verbose(CALL_INFO, 1, 0, "MPI launcher: %s\n", mpilauncher);
output->verbose(CALL_INFO, 1, 0, "MPI launcher: %s\n", mpilauncher.c_str());
output->verbose(CALL_INFO, 1, 0, "MPI ranks: %d\n", mpiranks);
output->verbose(CALL_INFO, 1, 0, "MPI trace rank: %d\n", mpitracerank);
}
Expand Down

0 comments on commit 86cf031

Please sign in to comment.