<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Dear Dimitrios,</div><div><br data-mce-bogus="1"></div><div>The simulations in parallel have all auto engine seed.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thank you,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Sarah<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Ps: thank you for your remark, the duplicate command setEngineName is a mistake.<br data-mce-bogus="1"></div><div><br></div><div><span id="zwchr" data-marker="__DIVIDER__">----- Le 3 Avr 22, à 23:23, Dimitrios Thanasas <dthanas@uoa.gr> a écrit :<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Dear Sarah,<br><br>You have the command "/gate/random/setEngineName MersenneTwister " in two<br>lines. In file main.mac and in file physcis.mac.<br>You do not need it in physics.mac.<br>The two simulations have "auto" engine seed or you have set a specific<br>number?<br>If you have set a specific number, try a different one (eg 123456789) at<br>the second simulation.<br>Running two different simulations does not cause a problem.<br><br>Best regards,<br>Dimitris Thanasas<br><br><br>> Dear Gate users,<br>><br>> I'm analysing the deposited dose in Gy of the irradiation simulation of a<br>> cell with in its inside a certain number of nanoparticles composed of 16%<br>> bismuth.<br>> Looking at the deposited dose on the nanoparticles focci, for several<br>> simulations I obtain very different results and computation times:<br>><br>><br>> * Simulation 1 : 105,545 Gy with a computation time of ~10h,<br>> * Simulation 2 : 10.07 Gy with a computation time of ~ 2h.<br>><br>> I run these two simulations in parallel, each in a different file and a<br>> different number for setEngineSeed.<br>><br>> I have a gamma beam and I send 300 000 Bq for a 60 secondes irradiation<br>> simulation on 35^3 nanoparticles.<br>> I think the simulation 2 failed ; can the fact that I run several<br>> simulations at the same time be a problem ?<br>><br>> If this speak to anyone, thank your for your advices!<br>><br>> Sarah Blind<br>><br>><br>><br>><br>> PS: Here is my code:<br>><br>> MAIN.MAC<br>><br>><br>><br>><br>> /gate/geometry/setMaterialDatabase ../data/GateMaterials.db<br>><br>> /control/execute world.mac<br>> /control/execute physics.mac<br>> /control/execute detectors.mac<br>><br>> /gate/run/initialize<br>><br>> /control/execute 5sourceSpectrumMeV.mac<br>><br>> /gate/application/setTimeSlice 60. s<br>> /gate/application/setTimeStart 0. s<br>> /gate/application/setTimeStop 60. s<br>><br>> /gate/random/setEngineName MersenneTwister<br>> /gate/random/setEngineSeed auto<br>> /gate/application/start<br>><br>><br>><br>><br>> WORLD.MAC<br>><br>><br>> BQ_BEGIN<br>><br>> /gate/world/geometry/setXLength 30 um<br>> /gate/world/geometry/setYLength 30 um<br>> /gate/world/geometry/setZLength 30 um<br>> /gate/world/setMaterial Air<br>><br>> /gate/world/daughters/name cell<br>> /gate/world/daughters/insert sphere<br>> /gate/cell/geometry/setRmin 0.0 mm<br>> /gate/cell/geometry/setRmax 10 um<br>> /gate/cell/placement/setTranslation 0 0 0 um<br>> /gate/cell/setMaterial G4_WATER<br>> /gate/cell/vis/setVisible 1<br>> /gate/cell/vis/setColor blue<br>> /gate/cell/vis/forceSolid false<br>><br>><br>> /gate/cell/daughters/name NP<br>> /gate/cell/daughters/insert sphere<br>> /gate/NP/geometry/setRmin 0 mm<br>> /gate/NP/geometry/setRmax 0.5 um<br>> /gate/NP/placement/setTranslation 0 0 0 mm<br>> /gate/NP/setMaterial AGuIX_bis<br>><br>> /gate/NP/repeaters/insert cubicArray<br>> /gate/NP/cubicArray/setRepeatNumberX 30<br>> /gate/NP/cubicArray/setRepeatNumberY 30<br>> /gate/NP/cubicArray/setRepeatNumberZ 30<br>> /gate/NP/cubicArray/setRepeatVector 5 5 5 nm<br>><br>> BQ_END<br>><br>><br>> PHYSICS.MAC<br>><br>> BQ_BEGIN<br>><br>><br>> /gate/physics/addPhysicsList QGSP_BERT_EMV<br>><br>> /gate/physics/Gamma/SetCutInRegion world 50 nm<br>> /gate/physics/Electron/SetCutInRegion world 50 nm<br>><br>> /gate/physics/Gamma/SetCutInRegion cell 20 nm<br>> /gate/physics/Electron/SetCutInRegion cell 20 nm<br>><br>> /gate/physics/Gamma/SetCutInRegion NP 0.5 nm<br>> /gate/physics/Electron/SetCutInRegion NP 0.5 nm<br>><br>> /gate/random/setEngineName MersenneTwister<br>><br>> /gate/physics/addAtomDeexcitation<br>><br>> /gate/physics/addProcess PhotoElectric gamma<br>> /gate/physics/processes/PhotoElectric/setModel LivermoreModel<br>> /gate/physics/processes/PhotoElectric/setAugerElectron true<br>> /gate/physics/processes/PhotoElectric/setDeltaRayCut 10 eV<br>> /gate/physics/processes/PhotoElectric/setXRayCut 10 eV<br>> /gate/physics/processes/PhotoElectric/setStepFunction e- 0.2 0.1 nm<br>><br>> /gate/physics/addProcess Compton gamma<br>> /gate/physics/processes/Compton/setModel LivermoreModel<br>> /gate/physics/processes/Compton/setStepFunction e- 0.2 0.1 nm<br>><br>> /gate/physics/addProcess RayleighScattering<br>> /gate/physics/processes/RayleighScattering/setModel LivermoreModel<br>><br>> /gate/physics/addProcess GammaConversion<br>> /gate/physics/processes/GammaConversion/setModel LivermoreModel<br>><br>> /gate/physics/addProcess ElectronIonisation<br>> /gate/physics/processes/ElectronIonisation/setModel LivermoreModel e-<br>> /gate/physics/processes/ElectronIonisation/setModel PenelopeModel e+<br>> /gate/physics/processes/ElectronIonisation/setStepFunction e- 0.2 0.1 nm<br>><br>> /gate/physics/addProcess Bremsstrahlung e-<br>> /gate/physics/addProcess Bremsstrahlung e+<br>> /gate/physics/processes/Bremsstrahlung/setModel LivermoreModel e-<br>> /gate/physics/processes/Bremsstrahlung/setModel PenelopeModel e+<br>><br>> /gate/physics/addProcess eMultipleScattering e-<br>> /gate/physics/addProcess eMultipleScattering e+<br>> /gate/physics/processes/eMultipleScattering/setModel UrbanModel e-<br>> /gate/physics/processes/eMultipleScattering/setModel UrbanModel e+<br>><br>> /gate/physics/SetMinKineticEnergyInRegion world 1 eV<br>> /gate/physics/SetMinKineticEnergyInRegion cell 1 eV<br>> /gate/physics/ActivateSpecialCuts gamma<br>><br>> BQ_END<br>><br>><br>> DETECTOR.MAC<br>><br>><br>> BQ_BEGIN<br>><br>> /gate/actor/addActor DoseActor dose<br>> /gate/actor/dose/save output/dose1.hdr<br>> /gate/actor/dose/attachTo cell<br>> /gate/actor/dose/stepHitType random<br>> /gate/actor/dose/setPosition 0.0 0.0 0.0 mm<br>> /gate/actor/dose/setSize 20 20 20 um<br>> /gate/actor/dose/setResolution 400 400 400<br>> /gate/actor/dose/saveEveryNSeconds 30<br>><br>> BQ_END<br>><br>><br>> SOURCE.MAC<br>><br>><br>> BQ_BEGIN<br>><br>> /gate/source/addSource mybeam gps<br>> /gate/source/mybeam/gps/particle gamma<br>> /gate/source/mybeam/gps/ene/type User<br>> /gate/source/mybeam/gps/hist/type energy<br>> /gate/source/mybeam/setActivity 300000. becquerel<br>><br>><br>> [histogram]<br>><br>> /gate/source/mybeam/gps/position 0 0 15 um<br>> /gate/source/mybeam/gps/pos/type Volume<br>> /gate/source/mybeam/gps/pos/shape Cylinder<br>> /gate/source/mybeam/gps/pos/inner_radius 0 mm<br>> /gate/source/mybeam/gps/pos/radius 10 um<br>> /gate/source/mybeam/gps/pos/halfz 0.01 um<br>> /gate/source/mybeam/gps/ang/type beam2d<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> BQ_END<br>><br>><br>> _______________________________________________<br>> Gate-users mailing list<br>> Gate-users@lists.opengatecollaboration.org<br>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br></blockquote></div><div><br></div><div data-marker="__SIG_POST__">-- <br></div><div>Sarah Blind<br>Ingénieure de recherche - CNRS<br>Centre de Recherche en Automatique de Nancy (CRAN) <br>Département Biologie, Signaux et Systèmes en Cancérologie et Neurosciences (BioSiS)<br>Site de la faculté de médecine <br>9, Avenue de la Forêt de Haye <br>54505 Vandoeuvre les Nancy <br>Tél : 03.72.74.61.13</div></div></body></html>