Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
$Id: README,v 1.1 2007/11/16 13:32:56 kmura Exp $
|
||||
==========================================================================
|
||||
Geant4 MPI Interface
|
||||
|
||||
Author:
|
||||
Koichi Murakami (KEK) / Koichi.Murakami@kek.jp
|
||||
==========================================================================
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
1. Check "G4MPI.gmk" for yor MPI configuration:
|
||||
|
||||
* Set "G4MPIROOT", which is the root path to your MPI library.
|
||||
* Redifine CXX as (wrapped) MPI C++ compiler.
|
||||
* Specify additional include paths and compiler flags to "CPPFLAGS".
|
||||
|
||||
Sample makefiles for (LAM, MPICH2, OpenMPI) are also presented.
|
||||
An example of "G4MPI.gmk":
|
||||
|
||||
# ===========================================================
|
||||
# Makefile for building G4MPI (LAM)
|
||||
# ===========================================================
|
||||
|
||||
ifndef G4MPIROOT
|
||||
G4MPIROOT = /opt/lam
|
||||
endif
|
||||
|
||||
# additional flags
|
||||
CXX := mpic++
|
||||
CPPFLAGS += -I$(G4MPIROOT)/include
|
||||
|
||||
|
||||
2. Build the library
|
||||
|
||||
# make
|
||||
# make includes
|
||||
|
||||
The library (libG4UImpi) will be created in $G4LIB,
|
||||
and header files will be installed into $G4INCLUDE.
|
||||
|
||||
Reference in New Issue
Block a user