Skip to content

Commit

Permalink
Fixing puts in preload code
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Oct 14, 2024
1 parent c12d8d8 commit e21d9e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apex/apex_preload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ int apex_preload_main(int argc, char** argv, char** envp) {
fputs("!\n", stderr);
return true;
}
fputs("apex: executing ", stderr);
fputs(argv[0], stderr);
fputs("!\n", stderr);
return false;
};
if (validate_argv0("tclsh8.6")) {
Expand Down Expand Up @@ -96,6 +93,9 @@ int apex_preload_main(int argc, char** argv, char** envp) {
if (apex::apex_options::use_otf2() && apex::apex_options::use_mpi()) {
ret = main_real(argc, argv, envp);
} else {
fputs("apex: executing ", stderr);
fputs(argv[0], stderr);
fputs("!\n", stderr);
apex::init("APEX Preload", 0, 1);
const std::string timerName{__APEX_FUNCTION__};
auto t = apex::new_task(timerName);
Expand Down

0 comments on commit e21d9e4

Please sign in to comment.