<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I&#8217;m trying to learn and use Starcluster to run multiple Geant4 Monte Carlo simulations.&nbsp; Specifically, I was trying to see if I could use the Sun Grid Engine command qsub &#8211;t 1-# myshellscript where:</p>
<p class="MsoNormal">Myshellscript contains:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">#!/bin/bash</p>
<p class="MsoNormal">My_program $SGE_TASK_ID outputfile.$SGE_TASK_ID</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I wanted $SGE_TASK_ID to set the seed number for my simulations.&nbsp; This idea didn&#8217;t seem to work for me so my question is how can I accomplish this in the Starcluster environment?</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Sincerely,</p>
<p class="MsoNormal">Chuck Nelson</p>
<p class="MsoNormal">Clinical Physicist</p>
<p class="MsoNormal">Norris Cotton Cancer Center</p>
<p class="MsoNormal">Dartmouth-Hitchcock Medical Center</p>
<p class="MsoNormal">One Medical Center Drive</p>
<p class="MsoNormal">Lebanon, NH 03756-0001</p>
<p class="MsoNormal">Tel. (603) 650-6487</p>
<p class="MsoNormal">Email: Nathan.C.Nelson@Hitchcock.org</p>
<p class="MsoNormal">&nbsp;</p>
</div>
<br>
<font face="Verdana" color="Black" size="1"><br>
IMPORTANT NOTICE REGARDING THIS ELECTRONIC MESSAGE:<br>
<br>
This message is intended for the use of the person to whom it is addressed and may contain information that is privileged, confidential, and protected from disclosure under applicable law. If you are not the intended recipient, your use of this message for
 any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.<br>
</font>
</body>
</html>