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