Skip to content

Instantly share code, notes, and snippets.

@jmchilton
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmchilton/9548516 to your computer and use it in GitHub Desktop.
Save jmchilton/9548516 to your computer and use it in GitHub Desktop.
Debug Galaxy tool for PBS/TORQUE GALAXY_SLOTS.
<tool id="pbsdebug" name="PBS DEBUG">
<command>
echo \$GALAXY_SLOTS > $out1;
env > $out3;
echo "No PBS_NODEFILE defined." > $out2;
if [ -f "\$PBS_NODEFILE" ]; then cp \$PBS_NODEFILE $out2; fi
</command>
<inputs>
</inputs>
<outputs>
<data format="txt" name="out1" label="Galaxy slots" />
<data format="txt" name="out2" label="PBS_NODEFILE contents" />
<data format="txt" name="out3" label="Cluster worker environment." />
</outputs>
</tool>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment