add CmiOutofMemory to blue_standalone
authorEhsan Totoni <totoni2@illinois.edu>
Tue, 19 Apr 2011 18:27:45 +0000 (13:27 -0500)
committerEhsan Totoni <totoni2@illinois.edu>
Tue, 19 Apr 2011 18:27:45 +0000 (13:27 -0500)
src/langs/bluegene/blue_standalone.C

index 3c2daaeaf227d979026f6a8473df2a85e1ab9bcc..c08fe8390b9d4d6d232d4ae493dce537f24ac19f 100644 (file)
@@ -5,6 +5,11 @@
 #include <string.h> /*<- for strlen */
 
 /* CkPrintf/CkAbort support: */
+extern "C" void CmiOutOfMemory(int nbytes) {
+       fprintf(stderr,"Fatal error> %d\n",nbytes);
+       abort();
+}
+
 extern "C" void CmiAbort(const char *why) {
         fprintf(stderr,"Fatal error> %s\n",why);
         abort();