diff --git a/src/sst/elements/ariel/frontend/pin3/pin3frontend.cc b/src/sst/elements/ariel/frontend/pin3/pin3frontend.cc index e7974c5407..9262f4241e 100644 --- a/src/sst/elements/ariel/frontend/pin3/pin3frontend.cc +++ b/src/sst/elements/ariel/frontend/pin3/pin3frontend.cc @@ -170,9 +170,9 @@ Pin3Frontend::Pin3Frontend(ComponentId_t id, Params& params, uint32_t cores, uin arg++; } - mpilauncher = params.find("mpilauncher"); - mpiranks = params.find("mpiranks"); - mpitracerank = params.find("mpitracerank"); + mpilauncher = params.find("mpilauncher", ""); + mpiranks = params.find("mpiranks", 1); + mpitracerank = params.find("mpitracerank", 0); if (mpilauncher.compare("") != 0) { use_mpilauncher = true; @@ -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); }