source: CIVL/mods/dev.civl.abc/examples/contract/mpiEnumerator.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 392 bytes
RevLine 
[aad342c]1#include<mpi.h>
2
3int shared;
4
5/*@
6 @ requires x == \mpi_comm_rank;
7 @ ensures (\mpi_empty_in(0)) && (\mpi_empty_out(0));
8 @ \mpi_collective(MPI_COMM_WORLD, COL):
9 @ requires datatype == MPI_INT;
10 @ ensures \mpi_comm_size == 9;
11 @ behavior name:
12 @ ensures \mpi_comm_size == 9;
13 @*/
14int foo(int x, MPI_Datatye datatype) {
15 return x;
16}
17
18int main() {
19
20 return 0;
21}
Note: See TracBrowser for help on using the repository browser.