Skip to content

Commit

Permalink
use die instead of MPI_Abort
Browse files Browse the repository at this point in the history
  • Loading branch information
stgeke committed Dec 9, 2024
1 parent d5d4ee0 commit 95acf5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/crystal.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void crystal_router(struct crystal *p)
fprintf(stderr, "Error in crystal_router: rank = %d send_n = %lld (> "
"INT_MAX)\n", p->comm.id, send_n_long);
fflush(stderr);
MPI_Abort(p->comm.c, EXIT_FAILURE);
die(EXIT_FAILURE);
}

recvn = 1, targ = n-1-(id-bl)+bl;
Expand Down
4 changes: 2 additions & 2 deletions src/findpts_imp.h
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,8 @@ void findpts( uint *const code_base , const unsigned code_stride ,
const uint npt, struct findpts_data *const fd)
{
if (fd->local.ims==1) {
printf("Please use findptsms\n");
die(1);
printf("call findptsms for multi-session support\n");
die(EXIT_FAILURE);
}
unsigned int sess_base = 0;
unsigned int sess_match = 0;
Expand Down

0 comments on commit 95acf5b

Please sign in to comment.