Manual machinefile script example: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== The environment setup == | == The environment setup == | ||
The cluster at Columbia does not use any queue. Multiple jobs get nodes assigned by manual editing of an MPI machinefile. The location of this machinefile may be accessible from the GUI through the use of the XXXextra1XXX variable. In their environment (.cshrc) one includes: | |||
<code> | <code> | ||
setenv RELION_QSUB_TEMPLATE "/home/hstau/relion-0.9/bin/qsub.csh" | setenv RELION_QSUB_TEMPLATE "/home/hstau/relion-0.9/bin/qsub.csh" | ||
Line 7: | Line 7: | ||
</code> | </code> | ||
Note that the (perhaps unusual) command used for job submission (to be given in the GUI) is <code>csh</code>. | |||
== The template script == | == The template script == |
Revision as of 17:13, 4 October 2011
The environment setup
The cluster at Columbia does not use any queue. Multiple jobs get nodes assigned by manual editing of an MPI machinefile. The location of this machinefile may be accessible from the GUI through the use of the XXXextra1XXX variable. In their environment (.cshrc) one includes:
setenv RELION_QSUB_TEMPLATE "/home/hstau/relion-0.9/bin/qsub.csh"
setenv RELION_QSUB_EXTRA1 "MPI machinefile"
setenv RELION_QSUB_EXTRA1_DEFAULT "/home/hstau/machinefile.dat"
Note that the (perhaps unusual) command used for job submission (to be given in the GUI) is csh
.
The template script
The following script is saved as /home/hstau/relion-0.9/bin/qsub.csh:
#!/usr/bin/env csh
#
mpirun -n XXXmpinodesXXX -machinefile XXXextra1XXX XXXcommandXXX