MPI_and_OpenMP_course/Exercises/ex_0/shmem1.c

13 lines
202 B
C
Raw Normal View History

2021-04-12 14:06:50 +02:00
#include <stdio.h>
#include <mpp/shmem.h>
int main(int argc, char*argv[])
{
shmem_init();
printf("SHMEM: n_pes = %d : my_pe = %d\n",
shmem_n_pes(), shmem_my_pe());
return 0;
}