Changeset 1337 for trunk/examples/extended/parallel/MPI/exMPI02
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/parallel/MPI/exMPI02
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/parallel/MPI/exMPI02/GNUmakefile
r1230 r1337 1 # $Id: GNUmakefile,v 1. 1 2007/11/16 14:28:34 kmuraExp $2 # $Name: geant4-09-0 3-cand-01 $1 # $Id: GNUmakefile,v 1.2 2010/01/11 16:55:08 gcosmo Exp $ 2 # $Name: geant4-09-04-beta-01 $ 3 3 # =========================================================== 4 4 # Makefile for building G4 MPI aplication 5 5 # =========================================================== 6 name := exMPI02# 6 7 name := exMPI02 7 8 G4TARGET := $(name) 8 9 G4EXLIB := true 9 10 10 G4WORKDIR := . 11 ifndef G4INSTALL 12 G4INSTALL = ../../../../.. 13 endif 11 14 12 15 .PHONY: all -
trunk/examples/extended/parallel/MPI/exMPI02/History
r807 r1337 1 $Id: History,v 1. 1 2007/11/16 14:28:34 kmuraExp $1 $Id: History,v 1.3 2010/06/06 05:07:23 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 9 9 --------------- 10 10 11 4 June 2010 J.Perl 12 - Updated vis usage. 13 14 18 May 2010 K.Murakami 15 - use G4UIcsh instead of G4UItcsh because OpenMPI is now default. 16 11 17 16 Nov. 2007 K.Murakami 12 18 - commited to G4 CVS. 13 19 14 -
trunk/examples/extended/parallel/MPI/exMPI02/exMPI02.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: exMPI02.cc,v 1. 1 2007/11/16 14:28:34kmura Exp $27 // $Name: geant4-09-0 3-cand-01 $26 // $Id: exMPI02.cc,v 1.2 2010/05/18 06:08:30 kmura Exp $ 27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== … … 45 45 #include "G4MPImanager.hh" 46 46 #include "G4MPIsession.hh" 47 #include "G4UItcsh.hh"48 47 49 48 #ifdef G4VIS_USE … … 71 70 prompt+= "G4MPI"; 72 71 prompt+= "[40;31m(%s)[40;36m[%/][00;30m:"; 73 74 G4UItcsh* tcsh= new G4UItcsh(prompt); 75 tcsh-> SetLsColor(BLUE,RED); 76 session-> SetShell(tcsh); 72 session-> SetPrompt(prompt); 77 73 78 74 // -------------------------------------------------------------------- -
trunk/examples/extended/parallel/MPI/exMPI02/include/Analysis.hh
r807 r1337 25 25 // 26 26 // $Id: Analysis.hh,v 1.1 2007/11/16 14:29:32 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/include/DetectorConstruction.hh
r807 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.1 2007/11/16 14:29:32 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/include/EventAction.hh
r807 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.2 2007/12/10 16:28:34 gunter Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // EventAction.hh -
trunk/examples/extended/parallel/MPI/exMPI02/include/MedicalBeam.hh
r807 r1337 25 25 // 26 26 // $Id: MedicalBeam.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // MedicalBeam.hh -
trunk/examples/extended/parallel/MPI/exMPI02/include/RunAction.hh
r807 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.2 2007/12/10 16:28:39 gunter Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // RunAction.hh -
trunk/examples/extended/parallel/MPI/exMPI02/include/VoxelParam.hh
r807 r1337 25 25 // 26 26 // $Id: VoxelParam.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/include/VoxelSD.hh
r807 r1337 25 25 // 26 26 // $Id: VoxelSD.hh,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/src/Analysis.cc
r807 r1337 25 25 // 26 26 // $Id: Analysis.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/src/DetectorConstruction.cc
r807 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/src/EventAction.cc
r807 r1337 25 25 // 26 26 // $Id: EventAction.cc,v 1.2 2007/12/10 16:28:52 gunter Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // EventAction.cc -
trunk/examples/extended/parallel/MPI/exMPI02/src/MedicalBeam.cc
r807 r1337 25 25 // 26 26 // $Id: MedicalBeam.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // MedicalBeam.cc -
trunk/examples/extended/parallel/MPI/exMPI02/src/RunAction.cc
r807 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.2 2007/12/10 16:28:54 gunter Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // ==================================================================== 29 29 // RunAction.cc -
trunk/examples/extended/parallel/MPI/exMPI02/src/VoxelParam.cc
r807 r1337 25 25 // 26 26 // $Id: VoxelParam.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/src/VoxelSD.cc
r807 r1337 25 25 // 26 26 // $Id: VoxelSD.cc,v 1.1 2007/11/16 14:29:33 kmura Exp $ 27 // $Name: $27 // $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // ==================================================================== -
trunk/examples/extended/parallel/MPI/exMPI02/v.mac
r807 r1337 1 /vis/verbose 0 2 3 /vis/open OGLIX 4 5 /vis/scene/create 6 /vis/scene/add/volume 7 8 /vis/sceneHandler/attach 9 1 # Use this open statement to create an OpenGL view: 2 /vis/open OGL 600x600-0+0 3 # 4 # Use this open statement to create a .prim file suitable for 5 # viewing in DAWN: 6 #/vis/open DAWNFILE 7 # 8 # Use this open statement to create a .heprep file suitable for 9 # viewing in HepRApp: 10 #/vis/open HepRepFile 11 # 12 # Use this open statement to create a .wrl file suitable for 13 # viewing in a VRML viewer: 14 #/vis/open VRML2FILE 15 # 16 # Disable auto refresh and quieten vis messages whilst scene and 17 # trajectories are established: 18 /vis/viewer/set/autoRefresh false 19 /vis/verbose errors 20 # 21 # Draw geometry: 22 /vis/drawVolume 23 # 24 # Specify view angle: 10 25 /vis/viewer/set/viewpointThetaPhi 90. 270. 11 12 /tracking/storeTrajectory 1 13 /vis/scene/add/trajectories 26 # 27 # Specify zoom value: 28 #/vis/viewer/zoom 2. 29 # 30 # Specify style (surface or wireframe): 31 #/vis/viewer/set/style wireframe 32 # 33 # Draw coordinate axes: 34 #/vis/scene/add/axes 0 0 0 1 m 35 # 36 # Draw smooth trajectories at end of event, showing trajectory points 37 # as markers 2 pixels wide: 38 /vis/scene/add/trajectories smooth 39 /vis/modeling/trajectories/create/drawByCharge 40 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 41 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 42 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 43 # 44 # Draw hits at end of event: 45 #/vis/scene/add/hits 46 # 47 # To draw only gammas: 48 #/vis/filtering/trajectories/create/particleFilter 49 #/vis/filtering/trajectories/particleFilter-0/add gamma 50 # 51 # To invert the above, drawing all particles except gammas, 52 # keep the above two lines but also add: 53 #/vis/filtering/trajectories/particleFilter-0/invert true 54 # 55 # Many other options are available with /vis/modeling and /vis/filtering. 56 # For example, to select colour by particle ID: 57 #/vis/modeling/trajectories/create/drawByParticleID 58 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 59 # 60 # To superimpose all of the events from a given run: 14 61 /vis/scene/endOfEventAction accumulate 15 #/vis/scene/endOfEventAction refresh 16 17 62 # 63 # Re-establish auto refreshing and verbosity: 64 /vis/viewer/set/autoRefresh true 65 /vis/verbose warnings 66 # 67 # For file-based drivers, use this to create an empty detector view: 68 #/vis/viewer/flush
Note: See TracChangeset
for help on using the changeset viewer.