Download Makefile source code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
include ../../common/Makefile

CC=mpicc
XC=mpic++
FLAG=-fopenmp

# macos: brew install gcc
ifneq (, $(shell which gcc-11))
	CC=MPICH_CC=gcc-11 mpicc
	XC=MPICH_CXX=g++-11 mpic++
endif