<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
the most straightforward approach in slurm cluster is to run GATE using arrays, not MPI.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Here is an simplified example of the command you need to use/add in your bash:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>#!/bin/bash<br>
</span>
<div>#SBATCH --account=<br>
</div>
<div>#SBATCH --mem-per-cpu=<br>
</div>
<div><span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">#SBATCH --time= # simulation time for each array </span></div>
<div>#SBATCH --array=1-200 # number of job needed<br>
</div>
<div><br>
</div>
<div>Gate -a[outputName,output<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">.$SLURM_ARRAY_TASK_ID</span>] launch.mac<br>
</div>
<div><br>
</div>
<div>Here, outputAlias is an alias referring to setFileName (i.e.: /gate/output/root/setFileName {outputName})</div>
<div>Make sure your random seed is set to auto in your digitizer.<br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Emilie</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><br>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText"><br>
<br>
Today's Topics:<br>
<br>
1. MPI job simulation GATE (Deae Eddine)<br>
<br>
<br>
<br>
Hey all<br>
is it possible to run GATE simulation on multiprocessor for using MPI on<br>
slurm cluster ?<br>
Can anyone provide some more information or links inorder to run simulation<br>
on multi processor using MPI.<br>
Best regards<br>
================================<br>
Mr. Deae-eddine KRIM<br>
Physics department<br>
Laboratory of Physics of Matter and Radiations<br>
Faculty of Sciences, University Mohammed First Oujda Morocco<br>
Bvd Mohamed VI, Oujda<br>
-------------------------------------------------------<br>
Tel: +212 6 36866827<br>
================================<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191129/77d5a988/attachment-0001.html">http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20191129/77d5a988/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
Gate-users@lists.opengatecollaboration.org<br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 162, Issue 21<br>
*******************************************<br>
</div>
</span></font></div>
</body>
</html>