mpi/{hello → hello_hybrid}/Makefile RENAMED
@@ -1,4 +1,11 @@
1
  include ../../common/Makefile
2
 
3
  CC=mpicc
4
  XC=mpic++
 
 
 
 
 
 
 
1
  include ../../common/Makefile
2
 
3
  CC=mpicc
4
  XC=mpic++
5
+ FLAG=-fopenmp
6
+
7
+ # macos: brew install gcc
8
+ ifneq (, $(shell which gcc-11))
9
+ CC=MPICH_CC=gcc-11 mpicc
10
+ XC=MPICH_CXX=g++-11 mpic++
11
+ endif