Hi!<br><br>I have encountered a little problem. I run my simulations on a cluster so I use the jobsplitter module. I want to combine this with running in batch mode... I haven't found how you can pass the variables when using gjs, so I've simply added a few lines at the top of my macro so I can easily change them without having to change things in different files or at different places. For example, I add:<br>
<br><span style="color: rgb(51, 51, 255);">/control/alias CylActivity "100000"</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/control/alias RawOutputName "output/test/rawOutput"</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">/control/alias RootOutputName "output/test/rootOutput"</span><br><br>at the top, and later in the macro I have:<br><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/source/positron/setActivity {CylActivity}. becquerel</span><br>
<span style="color: rgb(51, 51, 255);">/gate/output/raw/setFileName {RawOutputName}</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/gate/output/root/setFileName {RootOutputName}</span><br>
<br>The problem is that the file names for root and raw output don't seem to work! Strangely, the source activity does... Anyway, my output files end up in my current directory, default filenames. My aliases do work (outputs end up in subdirectories) when I run directly in Gate without splitting the job, i.e.<br>
<br><span style="color: rgb(51, 51, 255);">>> Gate Main.mac</span><br><br>but not when I use jobsplitter<br><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">>> gjs -numberofsplits 8 -clusterplatform openmosix Main.mac </span><br>
<br>Any ideas? thanks!<br>Ida<br>