Manual machinefile script example

From Relion
Jump to navigation Jump to search

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