Skip to content

Commit 95acf5b

Browse files
committed
use die instead of MPI_Abort
1 parent d5d4ee0 commit 95acf5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/crystal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void crystal_router(struct crystal *p)
141141
fprintf(stderr, "Error in crystal_router: rank = %d send_n = %lld (> "
142142
"INT_MAX)\n", p->comm.id, send_n_long);
143143
fflush(stderr);
144-
MPI_Abort(p->comm.c, EXIT_FAILURE);
144+
die(EXIT_FAILURE);
145145
}
146146

147147
recvn = 1, targ = n-1-(id-bl)+bl;

src/findpts_imp.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,8 @@ void findpts( uint *const code_base , const unsigned code_stride ,
658658
const uint npt, struct findpts_data *const fd)
659659
{
660660
if (fd->local.ims==1) {
661-
printf("Please use findptsms\n");
662-
die(1);
661+
printf("call findptsms for multi-session support\n");
662+
die(EXIT_FAILURE);
663663
}
664664
unsigned int sess_base = 0;
665665
unsigned int sess_match = 0;

0 commit comments

Comments
 (0)