7 extern void *MPIR_ToPointer();
8 extern int MPIR_FromPointer();
9 extern void *MPIR_RmPointer();
11 if (
sizeof(
int) <
sizeof(
int*))
13 fcomm = MPIR_FromPointer(MPI_COMM_WORLD);
14 ccomm = (MPI_Comm) MPIR_ToPointer(fcomm);
15 if (ccomm == MPI_COMM_WORLD)
16 printf(
"Set TRANSCOMM = -DUseMpich -DPOINTER_64_BITS=1\n");
18 printf(
"Do _NOT_ set TRANSCOMM = -DUseMpich -DPOINTER_64_BITS=1\n");
22 printf(
"Compile and run xtc_CsameF77 for correct TRANSCOMM setting.\n");
23 printf(
"If xtc_CsameF77 fails, leave TRANSCOMM blank.\n");