Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 147: Line 147:  
== Running on a Cluster ==
 
== Running on a Cluster ==
 
To run on the Cluster, the following settings need to be added to the configuration file:
 
To run on the Cluster, the following settings need to be added to the configuration file:
 +
BATCH_TYPE = batch_type
 +
BATCH_OPTS = options to your batch system, as you would normally specify them
   −
<--- Following may need revision --->
+
Alternatively, <code>--batchtype</code> and <code>--batchopts</code> can be specified on the command line.
TODO: COMING SOON
+
 
SLEEP_MULT =    20
+
Valid values for BATCH_TYPE are: mosix, sge, sgei, slurm, slurmi, pbs, local
REMOTE_PREFIX =  # REMOTE_PREFIX : Set if cluster node see the directory differently (e.g. /net/mymachine/[original-dir])
+
* If you are at UM and are using flux, you can specify either <code>flux</code> or <code>pbs</code>.
<--- End: Following may need revision --->
+
* <code>sgei</code> and <code>slurmi</code> run in interactive mode.
 +
* For any BATCH_TYPEs that run in batch mode, GotCloud generates a script that will wait until the step is complete before returning.
 +
** In a sense, it "fakes" interactive mode for all batch types since it will not proceed until a command is finished.
     

Navigation menu