We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1190e8 commit 881cc26Copy full SHA for 881cc26
src/mpi/mpi_caf.c
@@ -700,6 +700,13 @@ void *
700
/* PREFIX(sync_all) (NULL,NULL,0); */
701
}
702
703
+ if(error_called == 1)
704
+ {
705
+ communicator_shrink(&CAF_COMM_WORLD);
706
+ error_called = 0;
707
+ ierr = STAT_FAILED_IMAGE;
708
+ }
709
+
710
caf_static_t *tmp = malloc (sizeof (caf_static_t));
711
tmp->prev = caf_tot;
712
tmp->token = *token;
@@ -715,6 +722,8 @@ void *
715
722
716
723
if (stat)
717
724
*stat = 0;
725
+ else if(ierr == STAT_FAILED_IMAGE)
726
+ error_stop (ierr);
718
727
719
728
return mem;
720
729
0 commit comments