- Timestamp:
- Sep 30, 2010, 2:47:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/parallel/MPI/mpi_interface/README
r807 r1337 1 $Id: README,v 1. 1 2007/11/16 13:32:56kmura Exp $1 $Id: README,v 1.2 2010/05/18 06:00:18 kmura Exp $ 2 2 ========================================================================== 3 3 Geant4 MPI Interface … … 16 16 * Specify additional include paths and compiler flags to "CPPFLAGS". 17 17 18 Sample makefiles for ( LAM, MPICH2, OpenMPI) are also presented.18 Sample makefiles for (OpnMPI, LAM, MPICH2) are also presented. 19 19 An example of "G4MPI.gmk": 20 20 21 # ===========================================================22 # Makefile for building G4MPI (LAM)23 # ===========================================================21 # =========================================================== 22 # Makefile for building G4MPI (OpenMPI) 23 # =========================================================== 24 24 25 ifndef G4MPIROOT26 G4MPIROOT = /opt/lam27 endif25 ifndef G4MPIROOT 26 G4MPIROOT = /opt/ompi 27 endif 28 28 29 # additional flags 30 CXX := mpic++ 31 CPPFLAGS += -I$(G4MPIROOT)/include 29 # additional flags 30 CXX := mpic++ 31 CXXFLAGS := $(subst -Wall, , $(CXXFLAGS)) 32 CPPFLAGS += -I$(G4MPIROOT)/include -I$(G4MPIROOT)/include/openmpi 32 33 33 34
Note:
See TracChangeset
for help on using the changeset viewer.
