Commit f0c55387cc2c52dea12904c44e23032c992ed8ad

Authored by kmazouzi
1 parent 7be5246f9f
Exists in master

fix mpi makefile

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

lab1/Makefile View file @ f0c5538
... ... @@ -21,8 +21,8 @@
21 21 pi_omp: pi_omp.o
22 22 $(GCC) $(CFLAGS) $(OMP_FLAG) -o $@ $^
23 23  
24   -pi_mpi: pi_mpi.o
25   - $(MPI) $(CFLAGS) -o $@ $^
  24 +pi_mpi:
  25 + $(MPI) $(CFLAGS) -o $@ pi_mpi.c
26 26  
27 27 %.o :%.c
28 28 $(GCC) $(CFLAGS) -c -o $@ $<
lab1/pi_mpi.c View file @ f0c5538
1 1 #include <stdio.h>
2 2 #include <string.h>
3   -#include "mpi.h"
  3 +#include <mpi.h>
4 4 #define N 100000000
5 5  
6 6 int main (int argc, char** argv)