Changeset 1337 for trunk/examples/extended/parallel/MPI/README
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/parallel/MPI/README
r807 r1337 1 $Id: README,v 1. 2 2007/11/16 14:04:05kmura Exp $1 $Id: README,v 1.3 2010/05/18 06:09:09 kmura Exp $ 2 2 ========================================================================== 3 3 Geant4 MPI Interface … … 12 12 a Geant4 UI library and a couple of parallelized examples. 13 13 Using this interface, users applications can be parllelized with 14 different MPI compliant libraries, such as LAM/MPI, MPICH2, OpenMPI,14 different MPI compliant libraries, such as OpenMPI, LAM/MPI, MPICH2, 15 15 and so on. 16 16 … … 25 25 * MPI implementation 26 26 27 - LAM/MPI (7.1.3) 27 - Open MPI (1.4.2) 28 http://www.open-mpi.org/ 29 30 - LAM/MPI (7.1.3) (development is terminated. maintenance only) 28 31 http://www.lam-mpi.org/ 29 32 30 - MPICH2 (1. 0.6p1)33 - MPICH2 (1.2.1p1) 31 34 http://www.mcs.anl.gov/research/projects/mpich2/ 32 33 - Open MPI (1.2.4)34 http://www.open-mpi.org/35 36 35 37 36 * Optional … … 42 41 ---------------- 43 42 G4MPI UI library is provided in the "mpi_interface" directory. 44 Start with building the G4MPI UI library according to the instruction 43 Start with building the G4MPI UI library according to the instruction 45 44 in the directory. 46 45 … … 60 59 // MPI session (G4MPIsession) instead of G4UIterminal 61 60 G4MPIsession* session= g4MPI-> GetMPIsession(); 62 63 // LAM users can use G4tcsh.64 G4String prompt= "G4MPI";65 G4UItcsh* tcsh= new G4UItcsh(prompt);66 session-> SetShell(tcsh);67 61 68 62 // user application setting … … 86 80 For other users (Open MPI/MPICH2), plese use G4csh (default). 87 81 82 In case of OpenMPI, LD_LIBRARY_PATH for OpenMPI runtime libraries 83 should be set at run time. Alternatively, you can add this path 84 to the dynamic linker configuration using `ldconfig`. 85 (needs sys-admin authorization) 86 88 87 89 88 How to use: … … 93 92 1. Make hosts/cluster configuration of your MPI environment. 94 93 95 2. Launch MPI runtime environment, typically executing 94 2. Launch MPI runtime environment, typically executing 96 95 lamboot (LAM) / mpdboot (MPICH2). 97 96 … … 119 118 execute * Execute a macro file. (=/control/execute) 120 119 beamOn * Start a parallel run w/ thread. 121 .beamOn * Start a parallel run w/o thread. (=/run/beamOn)120 .beamOn * Start a parallel run w/o thread. 122 121 masterWeight * Set weight for master node. 122 wait * Wait until beamOn-s on all nodes are done. (batch mode only) 123 123 showSeeds * Show seeds of MPI nodes. 124 124 setMasterSeed * Set a master seed for the seed generator. … … 126 126 127 127 * Notes: 128 While "/run/beamOn" is executed in foreground, the "/mpi/beamOn" 129 command invokes beam-on in background, so you can input UI commands 130 even while event processing. 128 While "/run/beamOn" and "/mpi/beamOn" commands invoke beam-on in background, 129 so you can input UI commands even while event processing. 131 130 132 The original "/control/execute" and "/run/beamOn" are overwritten 133 with "/mpi/execute" and "/mpi/ .beamOn" commands, customized for134 the MPI interface.131 The original "/control/execute" and "/run/beamOn" are overwritten 132 with "/mpi/execute" and "/mpi/beamOn" commands respectively, 133 customized for the MPI interface. 135 134 136 135 … … 142 141 for running examples: 143 142 144 - G4LEVELGAMMADATA : directory path for the data of 143 - G4LEVELGAMMADATA : directory path for the data of 145 144 "low energy electromagnetic processes". 146 145 147 For running ROOT applications, 146 For running ROOT applications, 148 147 149 148 - ROOTSYS : root path of the ROOT package … … 174 173 * treat multiple outputs properly: 175 174 each slave node generate a ROOT file, whose file name should 176 be different from each other. 175 be different from each other. 177 176
Note: See TracChangeset
for help on using the changeset viewer.