source: trunk/examples/extended/parallel/MPI/mpi_interface/README @ 1230

Last change on this file since 1230 was 807, checked in by garnier, 16 years ago

update

File size: 1.1 KB
Line 
1$Id: README,v 1.1 2007/11/16 13:32:56 kmura Exp $
2==========================================================================
3Geant4 MPI Interface
4
5  Author:
6  Koichi Murakami (KEK) / Koichi.Murakami@kek.jp
7==========================================================================
8
9How to build
10============
11
121. Check "G4MPI.gmk" for yor MPI configuration:
13
14* Set "G4MPIROOT", which is the root path to your MPI library.
15* Redifine CXX as (wrapped) MPI C++ compiler.
16* Specify additional include paths and compiler flags to "CPPFLAGS".
17
18Sample makefiles for (LAM, MPICH2, OpenMPI) are also presented.
19An example of "G4MPI.gmk":
20
21  # ===========================================================
22  #  Makefile for building G4MPI (LAM)
23  # ===========================================================
24
25  ifndef G4MPIROOT
26    G4MPIROOT = /opt/lam
27  endif
28
29  # additional flags
30  CXX := mpic++
31  CPPFLAGS += -I$(G4MPIROOT)/include
32
33
342. Build the library
35
36# make
37# make includes
38
39The library (libG4UImpi) will be created in $G4LIB,
40and header files will be installed into $G4INCLUDE.
41
Note: See TracBrowser for help on using the repository browser.