Skip to content

Commit

Permalink
AMPI: Fail compilation when unable to get binary path (#2282)
Browse files Browse the repository at this point in the history
In this case, any AMPI application would abort anyway on startup, so better to fail at AMPI compilation already.
  • Loading branch information
matthiasdiener committed Jun 5, 2019
1 parent e61af33 commit 91ad5b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/ck-libs/ampi/ampi.C
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,8 @@ static void getAmpiBinaryPath() noexcept
ampi_binary_path[n] = '\0';
}
#else
CkAbort("Could not get path to current binary!");
// FIXME: We do not need to abort here, only if user requests pipglobals or fsglobals
# error "AMPI: No known way to get path to current binary."
#endif
}

Expand Down

0 comments on commit 91ad5b1

Please sign in to comment.