summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-07-20 11:51:16 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-07-20 11:51:16 +0000
commitbc5248fbd473b83081cd83bfe36b6b4d09a0b6d3 (patch)
treefce0a594f4c156cc5db64e6388bce4ae322f5090 /src/comm
parent90f063e08d8a820ac37a6f1b222b717a9a71d621 (diff)
Replaced assert(0) with abort() in CactusDefaultAbort
However, it is now commented out, otherwise you get a core file if you give a wrong parameter, and we want to add less drastic behaviour git-svn-id: http://svn.cactuscode.org/flesh/trunk@1772 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/CactusDefaultComm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comm/CactusDefaultComm.c b/src/comm/CactusDefaultComm.c
index b9055027..30d921ed 100644
--- a/src/comm/CactusDefaultComm.c
+++ b/src/comm/CactusDefaultComm.c
@@ -330,7 +330,8 @@ int CactusDefaultAbort(cGH *GH, int retval)
CACTUS_MPI_ERROR(MPI_Abort(MPI_COMM_WORLD,retval));
}
#else
- assert(0);
+ /* FIXME */
+ /*abort();*/
#endif
exit(0);
return(0);