1.23
2.0
main
test-branch
| Rev | Line | |
|---|
| [aad342c] | 1 | #include<mpi.h>
|
|---|
| 2 |
|
|---|
| 3 | int 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 | @*/
|
|---|
| 14 | int foo(int x, MPI_Datatye datatype) {
|
|---|
| 15 | return x;
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | int main() {
|
|---|
| 19 |
|
|---|
| 20 | return 0;
|
|---|
| 21 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.