fsub, submits a job to the queuing system as a batch job. ufsub
and fsub-mpi submit batch single processor and mpi jobs.
fsub [program_name] [options] [arguments]
A typical single processor batch submission line on the architecture cluster would be:
ufsub mysimscript.sh -stdout myoutput.out -time "4:0:0"
program_name is the name of your compiled executable or script,
You should NOT provide an mpirun or a charmrun on the command line.
All jobs should have a predicted completion time. As this will
facilitate more efficient scheduling of resources. If you do not
supply a time the scheduler will assume 12 hours. Running jobs will be
terminated after their time completes.
Options
-
-stdout [filename]: The Std. Output file of the job (default /dev/null)
-
-stderr [filename]: The Std. Error file of the job (default /dev/null)
-
-stdin [filename]: The Std. Input file of the job (default /dev/null)
-
-type [mpi/charm/mcharm/uni]: The type of the job (default charm)
-
-time [hh:mm:ss] : time requested for the job (12 hours by default)
-
-pwd [directory name]: Process Working Directory, (default current directory)
-
-name [name]: Name that will be reported by fjobs, no spaces allowed (default executable name)
- +n : Number of nodes requested for the job
- +ppn : Number of processors per node to use
- +p : Alternative to +n<> and +ppn<>.
Number of processors requested for the job, assumes
that all processors on a node will be used
If a processor range needs to be provided for the job
- -minnode : minimum number of nodes used by the job
- -maxnode : maximum number of nodes used by the job
- -minpe : minimum number of processors used by the job
- -maxpe : maximum number of processors used by the job
#Processors allocated to the job varies between these bounds
-
++notify-start, to send email when job starts
-
++notify-end, to send email when job finishes
default email address used is userid@arch-gw.cs.uiuc.edu
-
-email [address], to send email to address, also sets notify-end by default
-
++debug, to enable charm++ programs to be debugged, SHOULD HAVE DISPLAY set
Commands ufrun, frun-mpi, and frun run a jobs interactively. Command ufrun submits single processor interactive jobs and frun-mpi submits interactive MPI jobs. Command frun is the generic command to submit jobs and it takes job type as an argument. By default frun runs a charm job.
frun [program_name] [options] [arguments]
frun interactively runs the job on the parallel machine (cool cluster)
program_name is the name of your compiled executable or script,
you should NOT provide an mpirun or a charmrun
Options
-
-I : For interactive debugging jobs. It opens up an xterm and sets the nodelist to the nodes allocated by the scheduler. You can then run anything you wish from the shell. Primarily useful for long compilation sessions or porting work best kept off the head node. For multiprocessor jobs consult the .nodelist file written by Faucets for your node allocation.
-
-stdout [filename]: The Std. Output file of the job (default frun terminal)
-
-stderr [filename]: The Std. Error file of the job (default frun terminal)
-
-stdin [filename]: The Std. Input file of the job (default frun terminal)
-
-type [mpi/charm/mcharm/uni]: The type of the job (default charm)
-
-time [hh:mm:ss] : time requested for the job (12 hours by default)
-
-pwd [directory name]: Process Working Directory, (default current directory)
-
-name [name]: Name that will be reported by fjobs, no spaces allowed (default executable name)
- +n : Number of nodes requested for the job
- +ppn : Number of processors per node to use
- +p : Alternative to +n<> and +ppn<>.
Number of processors requested for the job, assumes
that all processors on a node will be used
If a processor range needs to be provided for the job
- -minnode : minimum number of nodes used by the job
- -maxnode : maximum number of nodes used by the job
- -minpe : minimum number of processors used by the job
- -maxpe : maximum number of processors used by the job
#Processors allocated to the job varies between these bounds
-
++notify-start, to send email when job starts
-
++notify-end, to send email when job finishes
default email address used is userid@cool2.cs.uiuc.edu
-
-email [address], to send email to address, also sets notify-end by default
-
++debug, to enable charm++ programs to be debugged, SHOULD HAVE DISPLAY set
For Example :
frun +n2 +ppn2 ./hello -time 1:0:0
runs the charm program hello interactively on 2 nodes and 4 processors for 1 hour.
ufrun /bin/ls,
runs /bin/ls on one processor. For single processor
jobs ufrun should be used.
frun +n2 +ppn2 ./hello -time 1:0:0
frun +n2 +ppn2 ./hello_mpi -time 1:0:0
runs the mpi program hello_mpi interactively on 2 nodes and 4 processors for 1 hour.