17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
# $Id: G4MPI.gmk,v 1.3 2010-05-18 06:01:09 kmura Exp $
|
|
# $Name: not supported by cvs2svn $
|
|
# ===========================================================
|
|
# Makefile for building G4MPI (OpenMPI)
|
|
# ===========================================================
|
|
|
|
ifndef G4MPIROOT
|
|
G4MPIROOT = /opt/ompi
|
|
endif
|
|
|
|
# additional flags
|
|
CXX := mpic++
|
|
CPPFLAGS += -I$(G4MPIROOT)/include -I$(G4MPIROOT)/include/openmpi
|
|
|
|
# to suppress compiler warnings for OpenMPI headers
|
|
CXXFLAGS := $(subst -Wall, , $(CXXFLAGS))
|