Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
same as before, to make ci happy
authorAugustin Degomme <degomme@idpann.imag.fr>
Tue, 25 Jun 2013 15:01:48 +0000 (17:01 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Tue, 25 Jun 2013 15:01:48 +0000 (17:01 +0200)
teshsuite/smpi/shared.c

index 61ea3e4..15b1a3a 100644 (file)
@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
   
   MPI_Barrier(MPI_COMM_WORLD);
   //everyobne reads from it. 
   
   MPI_Barrier(MPI_COMM_WORLD);
   //everyobne reads from it. 
-  printf("[%d] The value in the shared buffer is: %llu\n", rank, (unsigned long long)*buf);
+  printf("[%d] The value in the shared buffer is: %" PRIu64"\n", rank, *buf);
   
   
   MPI_Barrier(MPI_COMM_WORLD);
   
   
   MPI_Barrier(MPI_COMM_WORLD);