source: CIVL/examples/mpi/mpiFeature/seq3_good.c@ e5cec5ae

1.23 2.0 main test-branch
Last change on this file since e5cec5ae was 056aaa8, checked in by Ziqing Luo <ziqing@…>, 9 years ago

Add MPI feature examples into CIVL

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

  • Property mode set to 100644
File size: 189 bytes
Line 
1#include <mpi.h>
2#include <stdio.h>
3
4int main(int argc, char * argv[]) {
5 float deno = 1.0;
6 float undef;
7
8 MPI_Init(&argc, &argv);
9 undef = 4 / deno;
10 MPI_Finalize();
11 return 0;
12}
Note: See TracBrowser for help on using the repository browser.