Added error statement
authorFilippo Gioachin <gioachin@uiuc.edu>
Fri, 19 Mar 2010 20:54:28 +0000 (15:54 -0500)
committerFilippo Gioachin <gioachin@uiuc.edu>
Fri, 19 Mar 2010 20:54:28 +0000 (15:54 -0500)
src/arch/mpi/machine.c

index 27dfaaab60e0c360e22971fea030c87672f8daf7..b066d991bdf58ee2eb57e77a3bc80944070c68ca 100644 (file)
@@ -153,6 +153,7 @@ static int checksum_flag = 0;
 #define MPI_POST_RECV_SIZE 200
 #endif
 /* #undef  MPI_POST_RECV_DEBUG  */
+#error "The following variables are never CpvInitialize'd. If you want to use POST_RECV, fix this first."
 CpvDeclare(unsigned long long, Cmi_posted_recv_total);
 CpvDeclare(unsigned long long, Cmi_unposted_recv_total);
 CpvDeclare(MPI_Request*, CmiPostedRecvRequests); /* An array of request handles for posted recvs */