#include <stdio.h>
#include <mpi.h>
Go to the source code of this file.
◆ main()
Definition at line 3 of file tc_UseMpich.c.
4{
6 int fcomm;
7 extern void *MPIR_ToPointer();
8 extern int MPIR_FromPointer();
9 extern void *MPIR_RmPointer();
10
11 if (sizeof(int) < sizeof(int*))
12 {
14 ccomm = (
MPI_Comm) MPIR_ToPointer(fcomm);
16 printf("Set TRANSCOMM = -DUseMpich -DPOINTER_64_BITS=1\n");
17 else
18 printf("Do _NOT_ set TRANSCOMM = -DUseMpich -DPOINTER_64_BITS=1\n");
19 }
20 else
21 {
22 printf("Compile and run xtc_CsameF77 for correct TRANSCOMM setting.\n");
23 printf("If xtc_CsameF77 fails, leave TRANSCOMM blank.\n");
24 }
25}
static MPI_Comm MPI_COMM_WORLD