source:
CIVL/examples/mpi/mpiFeature/seq4_good.c@
950f705
| Last change on this file since 950f705 was 056aaa8, checked in by , 9 years ago | |
|---|---|
|
|
| File size: 208 bytes | |
| Line | |
|---|---|
| 1 | #include <mpi.h> |
| 2 | #include <assert.h> |
| 3 | |
| 4 | int main(int argc, char * argv[]) { |
| 5 | int deno = 0; |
| 6 | int undef; |
| 7 | int a[3]; |
| 8 | int * p = a; |
| 9 | |
| 10 | MPI_Init(&argc, &argv); |
| 11 | assert(a + 3); |
| 12 | MPI_Finalize(); |
| 13 | return 0; |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
