<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Hi Elena,
<div><br>
</div>
<div>If you’re not using visualization, you should include “/vis/disable” in your macro.<br>
<br>
Cheers,<br>
<div dir="ltr">Matthew</div>
<div dir="ltr"><br>
<blockquote type="cite">On Mar 22, 2020, at 9:04 AM, Elena Vlastou <sarell88@yahoo.gr> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"><!-- START CAUTION Box Code -->
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding:10px 0 10px 0" width="100%">
<tbody>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="background:#707372;background-color:#707372;width:100%;border-radius:5px;overflow:hidden;">
<tbody>
<tr>
<td style="border-top:solid 8px #fbe122;padding:4px 8px;text-align:left;vertical-align:top;">
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left">
<div style="font-family:Arial,sans-serif;font-size:12px;line-height:16px;text-align:left;color:#ffffff;">
<span style="font-weight:bold;font-size:12px;">CAUTION:</span> The Sender of this email is not from within Dalhousie.</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END CAUTION Box Code -->
<div>
<div dir="ltr" data-setdir="false">
<div>
<div class="ydp1e37b725yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">
<span style="color: rgb(38, 40, 42);">Dear Gate users,</span><br>
</div>
<div id="ydpff9eae9dyahoo_quoted_5560548088" class="ydpff9eae9dyahoo_quoted">
<div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; color: rgb(38, 40, 42);">
<div id="ydpff9eae9dyiv2181560354">
<div class="ydpff9eae9dyiv2181560354yahoo-style-wrap" style="font-size: 16px;">
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I hope this worldwide crisis finds all of you and your families in good spirit and health! </div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I would like to ask your help about a weird issue that occurred in a simple photon source simulation. Running the following macro, I had indeed the expected output recorded (dose, energy, uncertainty etc) and all primaries seem tο have run. </div>
<div dir="ltr">However, the message while the simulation is ending depicts a crash that I cannot explain:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><i>End of macro test.mac/ Graphics systems deleted./ Visualization Manager deleting...</i><i>*** Break *** segmentation violation</i> </div>
<div dir="ltr">followed by a stack trace of all threads...</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Any ideas about it?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thank you in advance.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Regards,</div>
<div dir="ltr">Elena</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div><br>
</div>
<div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/geometry/setMaterialDatabase data/GateMaterials.db</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># WORLD</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/setMaterial            <span style="white-space: pre-wrap;">         </span>Air</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/geometry/setXLength    <span style="white-space: pre-wrap;">
</span>1 m</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/geometry/setYLength    <span style="white-space: pre-wrap;">
</span>1 m</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/geometry/setZLength    <span style="white-space: pre-wrap;">
</span>1 m</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># WATERbox</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/daughters/name              <span style="white-space: pre-wrap;">
</span>waterbox</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/world/daughters/insert            <span style="white-space: pre-wrap;">
</span>box</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/waterbox/setMaterial              <span style="white-space: pre-wrap;">
</span>Water</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/waterbox/placement/setTranslation <span style="white-space: pre-wrap;">
</span>0 0 0 mm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setXLength      <span style="white-space: pre-wrap;">
</span>10 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setYLength      <span style="white-space: pre-wrap;">
</span>10 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/waterbox/geometry/setZLength      <span style="white-space: pre-wrap;">
</span>10 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># PHYSICS</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/physics/addPhysicsList emstandard_opt3</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># DETECTORS</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/addActor               <span style="white-space: pre-wrap;">
</span>SimulationStatisticActor stat</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/stat/save              <span style="white-space: pre-wrap;">
</span>teststat.txt</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/stat/saveEveryNSeconds <span style="white-space: pre-wrap;">
</span>300</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/addActor                                DoseActor  Db</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/attachTo    <span style="white-space: pre-wrap;">
</span>   <span style="white-space: pre-wrap;"> </span>  <span style="white-space: pre-wrap;">
</span>waterbox</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/stepHitType           <span style="white-space: pre-wrap;">
</span>random</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/setPosition           <span style="white-space: pre-wrap;">
</span>0 0 0 mm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/setSize               <span style="white-space: pre-wrap;">
</span>10 10 10 mm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/setVoxelSize     <span style="white-space: pre-wrap;">
</span>10 10 5 mm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/saveEveryNSeconds     <span style="white-space: pre-wrap;">
</span>300</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/enableEdep            <span style="white-space: pre-wrap;">         </span>true</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/enableUncertaintyEdep <span style="white-space: pre-wrap;">
</span>true</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/enableDose            <span style="white-space: pre-wrap;">         </span>true</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/enableNumberOfHits    <span style="white-space: pre-wrap;">
</span>false</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/actor/Db/save                  <span style="white-space: pre-wrap;">
</span>testD.txt                  <span style="white-space: pre-wrap;"> </span></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/run/initialize</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># BEAMS</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/addSource                         <span style="white-space: pre-wrap;">         </span>PS gps</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/energytype <span style="white-space: pre-wrap;">
</span>Mono</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/monoenergy <span style="white-space: pre-wrap;">
</span>100 keV</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/particle <span style="white-space: pre-wrap;">         </span>gamma</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/type <span style="white-space: pre-wrap;">         </span>Plane</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/shape <span style="white-space: pre-wrap;">         </span>Square</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/centre <span style="white-space: pre-wrap;">
</span>0 0 -15 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/halfx<span style="white-space: pre-wrap;">
</span>1 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/pos/halfy<span style="white-space: pre-wrap;">
</span>1 cm</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/angtype <span style="white-space: pre-wrap;">         </span>iso</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/mintheta <span style="white-space: pre-wrap;">
</span>0 deg</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/maxtheta <span style="white-space: pre-wrap;">
</span>0 deg</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/minphi <span style="white-space: pre-wrap;">         </span>0 deg</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/source/PS/gps/maxphi <span style="white-space: pre-wrap;">         </span>0 deg</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;"># START BEAMS</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/random/setEngineName MersenneTwister</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/random/setEngineSeed auto</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/application/setTotalNumberOfPrimaries 5000</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif;">/gate/application/start</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<span>_______________________________________________</span><br>
<span>Gate-users mailing list</span><br>
<span>Gate-users@lists.opengatecollaboration.org</span><br>
<span>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</span></div>
</blockquote>
</div>
</body>
</html>