Rev | Line | |
---|
[1337] | 1 | # $Id: G4MPI.gmk,v 1.3 2010/05/18 06:01:09 kmura Exp $ |
---|
| 2 | # $Name: geant4-09-04-beta-01 $ |
---|
[807] | 3 | # =========================================================== |
---|
[1337] | 4 | # Makefile for building G4MPI (OpenMPI) |
---|
[807] | 5 | # =========================================================== |
---|
| 6 | |
---|
| 7 | ifndef G4MPIROOT |
---|
[1337] | 8 | G4MPIROOT = /opt/ompi |
---|
[807] | 9 | endif |
---|
| 10 | |
---|
| 11 | # additional flags |
---|
| 12 | CXX := mpic++ |
---|
[1337] | 13 | CPPFLAGS += -I$(G4MPIROOT)/include -I$(G4MPIROOT)/include/openmpi |
---|
[807] | 14 | |
---|
[1337] | 15 | # to suppress compiler warnings for OpenMPI headers |
---|
| 16 | CXXFLAGS := $(subst -Wall, , $(CXXFLAGS)) |
---|
Note: See
TracBrowser
for help on using the repository browser.