/* Create nprocs processes. Have them exchange data in a cycle. * Run with: * civl verify -inputNPROCS=2 mpithreads.cvl */ #include $input int NPROCS; $proc __procs[NPROCS]; _Bool __start = 0; $comm MPI_COMM_WORLD; void MPI_Process (int rank); void init() { for (int i=0; i