<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.umiacs.umd.edu/umiacs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tgray26</id>
	<title>UMIACS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.umiacs.umd.edu/umiacs/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tgray26"/>
	<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php/Special:Contributions/Tgray26"/>
	<updated>2026-05-29T23:27:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7051</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7051"/>
		<updated>2016-07-14T14:32:48Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
srun is the command used to run a process on the compute nodes in the cluster. It works by passing it a command (this could be a script) which will be run on a compute node and then srun will return. srun accepts many command line options to specify the resources required by the command passed to it, some common command line arguments are listed below and full documentation of all available options is available in the man page for srun which can be accessed by running &amp;lt;code&amp;gt;man srun&amp;lt;/code&amp;gt;. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --mem=100mb --time=1:00:00 bash -c &#039;echo &amp;quot;Hello World from&amp;quot; `hostname`&#039;&lt;br /&gt;
Hello World from openlab06.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is important to understand that srun is an interactive command. By default input to srun is broadcast to all compute nodes running your process and output from the compute nodes is redirected to srun, this behavior can be changed; however, &#039;&#039;&#039;srun will always wait for the command passed to finish before exiting, so if you start a long running process and end your terminal session, your process will stop running on the compute nodes and your job will end&#039;&#039;&#039;. To run a non-interactive session that you can submit to the cluster and will remain running after you logout, you will need to wrap your srun commands in a batch script and submit it with [[#sbatch | sbatch]]&lt;br /&gt;
===Common srun arguments===&lt;br /&gt;
* &amp;lt;code&amp;gt;--mem=1gb&amp;lt;/code&amp;gt; &#039;&#039;if no unit is given MB is assumed&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--nodes=2&amp;lt;/code&amp;gt; &#039;&#039;if passed to srun, the given command will be run concurrently on each node&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--qos=dpart&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--time=hh:mm:ss&amp;lt;/code&amp;gt; &#039;&#039;time needed to run your job&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--job-name=helloWorld&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--output filename&amp;lt;/code&amp;gt; &#039;&#039;file to redirect stdout to&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--error filename&amp;lt;/code&amp;gt; &#039;&#039;file to redirect stderr&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--partition $PNAME&amp;lt;/code&amp;gt; &#039;&#039;request job run in the $PNAME partition&#039;&#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;--ntasks 2&amp;lt;/code&amp;gt; &#039;&#039;request 2 &amp;quot;tasks&amp;quot; which map to cores on a CPU, if passed to srun the given command will be run concurrently on each core&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Interactive Shell Sessions===&lt;br /&gt;
An interactive shell session on a compute node can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab06:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script to be submitted and run non-interactively on the compute nodes. To run a simple Hello World command on the compute nodes you could write a file, helloWorld.sh with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
srun bash -c &#039;echo Hello World from `hostname`&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then you need to submit the script with sbatch and request resources:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch --mem=1gb --time=1:00:00 helloWorld.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     dpart helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Advanced Batch Scripts====&lt;br /&gt;
You can also write a batch script with all of your resources/options defined in the script itself. This is useful for jobs that need to be run 10s/100s/1000s of times. You can then handle any necessary environment setup and run commands on the resources you requested by invoking commands with srun. The srun commands can also be more complex and be told to only use portions of your entire job allocation, each of these distinct srun commands makes up one &amp;quot;job step&amp;quot;. The batch script will be run on the first node allocated as part of your job allocation and each job step will be run on whatever resources you tell them to. In the following example I have a batch job that will request 2 nodes in the cluster, then I load a specific version of Python into my environment and submit two job steps, each one using one node. Since srun is blocks until the command finishes, I use the &#039;&amp;amp;&#039; operator to background the process so that both job steps can run at once; however, this means that I then need to use the wait command to block processing until all background processes have finished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                                   # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                              # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                               # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                                         # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                             # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                               # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --ntasks=4                                              # request 4 cpu cores be reserved for your node total&lt;br /&gt;
#SBATCH --ntasks-per-node=2                                     # request 2 cpu cores be reserved per node&lt;br /&gt;
#SBATCH --mem 1gb                                               # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                                        # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                            # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====More Examples====&lt;br /&gt;
More examples of how to use batch scripts to setup your environment for processing will be coming soon&lt;br /&gt;
===scancel===&lt;br /&gt;
The scancel command can be used to cancel job allocations or job steps that are no longer needed. It can be passed individual job IDs or an option to delete all of your jobs or jobs that meet certain criteria.&lt;br /&gt;
*&amp;lt;code&amp;gt;scancel 255&amp;lt;/code&amp;gt;     &#039;&#039;cancel job 255&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;scancel 255.3&amp;lt;/code&amp;gt;     &#039;&#039;cancel job step 3 of job 255&#039;&#039;&lt;br /&gt;
*&amp;lt;code&amp;gt;scancel --user tgray26 --partition dpart&amp;lt;/code&amp;gt;    &#039;&#039;cancel all jobs for tgray26 in the dpart partition&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Requesting GPUs=&lt;br /&gt;
If you need to do processing on a GPU, you will need to request that your job have access to GPUs just as you need to request processors or cpu cores. You will also need to make sure that you submit your job to the correct partition since nodes with GPUs are often put into their own partition to prevent the nodes from being tied up by jobs that don&#039;t utilize GPUs. In SLURM, GPUs are considered &amp;quot;generic resources&amp;quot; also known as GRES. To request some number of GPUs be reserved/available for your job you can use the flag &amp;lt;code&amp;gt;--gres:gpu:2&amp;lt;/code&amp;gt; or if there are multiple types of GPUs available in the cluster and you need a specific type, you can provide the type option to the gres flag &amp;lt;code&amp;gt;--gres:k20:1&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --partition gpu --gres=gpu:2 nvidia-smi&lt;br /&gt;
Wed Jul 13 15:33:18 2016&lt;br /&gt;
+------------------------------------------------------+&lt;br /&gt;
| NVIDIA-SMI 361.28     Driver Version: 361.28         |&lt;br /&gt;
|-------------------------------+----------------------+----------------------+&lt;br /&gt;
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |&lt;br /&gt;
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |&lt;br /&gt;
|===============================+======================+======================|&lt;br /&gt;
|   0  Tesla K20c          Off  | 0000:03:00.0     Off |                    0 |&lt;br /&gt;
| 30%   24C    P0    48W / 225W |     11MiB /  4799MiB |      0%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
|   1  Tesla K20c          Off  | 0000:84:00.0     Off |                    0 |&lt;br /&gt;
| 30%   23C    P0    52W / 225W |     11MiB /  4799MiB |     93%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
| Processes:                                                       GPU Memory |&lt;br /&gt;
|  GPU       PID  Type  Process name                               Usage      |&lt;br /&gt;
|=============================================================================|&lt;br /&gt;
|  No running processes found                                                 |&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note that your job will only be able to see/access the GPUs you requested. If you only need 1 GPU, please request only 1 GPU and the other one will be left available for other users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --partition gpu --gres=gpu:k20:1 nvidia-smi&lt;br /&gt;
Wed Jul 13 15:31:29 2016&lt;br /&gt;
+------------------------------------------------------+&lt;br /&gt;
| NVIDIA-SMI 361.28     Driver Version: 361.28         |&lt;br /&gt;
|-------------------------------+----------------------+----------------------+&lt;br /&gt;
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |&lt;br /&gt;
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |&lt;br /&gt;
|===============================+======================+======================|&lt;br /&gt;
|   0  Tesla K20c          Off  | 0000:03:00.0     Off |                    0 |&lt;br /&gt;
| 30%   24C    P0    50W / 225W |     11MiB /  4799MiB |     92%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
| Processes:                                                       GPU Memory |&lt;br /&gt;
|  GPU       PID  Type  Process name                               Usage      |&lt;br /&gt;
|=============================================================================|&lt;br /&gt;
|  No running processes found                                                 |&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;--gres&amp;lt;/code&amp;gt; flag may also be passed to [[#sbatch | sbatch]] and [[#salloc | salloc]] rather than directly to [[#srun | srun]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobStatus&amp;diff=7050</id>
		<title>SLURM/JobStatus</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobStatus&amp;diff=7050"/>
		<updated>2016-07-14T01:15:05Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* sstat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Status=&lt;br /&gt;
SLURM offers a variety of tools to check the status of your jobs before, during, and after execution. When you first submit your job, SLURM should give you a job ID which represents the resources allocated to your job. Individual calls to srun will spawn job steps which can also be queried individually.&lt;br /&gt;
&lt;br /&gt;
==squeue==&lt;br /&gt;
The squeue command shows job status in the queue. If your job has not yet started, you can ask for an estimated start time with &amp;lt;code&amp;gt;squeue --start&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               162     test2 helloWor  tgray26  R       0:03      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to see the status of individual job steps you can use &amp;lt;code&amp;gt;squeue -s&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue -s&lt;br /&gt;
         STEPID     NAME PARTITION     USER      TIME NODELIST&lt;br /&gt;
          162.0    sleep     test2  tgray26      0:05 openlab00&lt;br /&gt;
          162.1    sleep     test2  tgray26      0:05 openlab01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==sstat==&lt;br /&gt;
The sstat command shows metrics from currently running job steps. If you don&#039;t specify a job step, the lowest job step is displayed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize &amp;lt;$JOBID&amp;gt;.&amp;lt;$JOBSTEP&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 171&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171.0               1            openlab00          0    186060K          0    107900K &lt;br /&gt;
tgray26@opensub00: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 171.1&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171.1               1            openlab01          0    186060K          0    107900K &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that if you do not have any jobsteps, sstat will return an error.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 172&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ----------&lt;br /&gt;
sstat: error: no steps running for job 237&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you do not run any srun commands, you will not create any job steps and metrics will not be available for your job. Your batch scripts should follow this format:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH ...&lt;br /&gt;
#SBATCH ...&lt;br /&gt;
# set environment up&lt;br /&gt;
module load ...&lt;br /&gt;
&lt;br /&gt;
# launch job steps&lt;br /&gt;
srun &amp;lt;command to run&amp;gt; # that would be step 1&lt;br /&gt;
srun &amp;lt;command to run&amp;gt; # that would be step 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==sacct==&lt;br /&gt;
The sacct command shows metrics from past jobs.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:sacct&lt;br /&gt;
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode &lt;br /&gt;
------------ ---------- ---------- ---------- ---------- ---------- -------- &lt;br /&gt;
162          helloWorld      test2      staff          2  COMPLETED      0:0 &lt;br /&gt;
162.batch         batch                 staff          1  COMPLETED      0:0 &lt;br /&gt;
162.0             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
162.1             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
163          helloWorld      test2      staff          2  COMPLETED      0:0 &lt;br /&gt;
163.batch         batch                 staff          1  COMPLETED      0:0 &lt;br /&gt;
163.0             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To check one specific job, you can run something like the following (if you omit .&amp;lt;$JOBSTEP&amp;gt;, all jobsteps will be shown):&lt;br /&gt;
&amp;lt;pre&amp;gt;sacct  --format JobID,jobname,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize,Elapsed -j &amp;lt;$JOBID&amp;gt;.&amp;lt;$JOBSTEP&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:sacct  --format JobID,jobname,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize,Elapsed -j 171&lt;br /&gt;
       JobID    JobName   NTasks        NodeList     MaxRSS  MaxVMSize     AveRSS  AveVMSize    Elapsed &lt;br /&gt;
------------ ---------- -------- --------------- ---------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171          helloWorld           openlab[00-01]                                               00:00:30 &lt;br /&gt;
171.batch         batch        1       openlab00          0    119784K          0    113120K   00:00:30 &lt;br /&gt;
171.0             sleep        1       openlab00          0    186060K          0    107900K   00:00:30 &lt;br /&gt;
171.1             sleep        1       openlab01          0    186060K          0    107900K   00:00:30 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7046</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7046"/>
		<updated>2016-07-13T20:11:31Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
srun is the command used to run a process on the compute nodes in the cluster. It works by passing it a command (this could be a script) which will be run on a compute node and then srun will return. srun accepts many command line options to specify the resources required by the command passed to it, some common command line arguments are listed below and full documentation of all available options is available in the man page for srun which can be accessed by running &amp;lt;code&amp;gt;man srun&amp;lt;/code&amp;gt;. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --mem=100mb --time=1:00:00 bash -c &#039;echo &amp;quot;Hello World from&amp;quot; `hostname`&#039;&lt;br /&gt;
Hello World from openlab06.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is important to understand that srun is an interactive command. By default input to srun is broadcast to all compute nodes running your process and output from the compute nodes is redirected to srun, this behavior can be changed; however, &#039;&#039;&#039;srun will always wait for the command passed to finish before exiting, so if you start a long running process and end your terminal session, your process will stop running on the compute nodes and your job will end&#039;&#039;&#039;. To run a non-interactive session that you can submit to the cluster and will remain running after you logout, you will need to wrap your srun commands in a batch script and submit it with [[#sbatch | sbatch]]&lt;br /&gt;
===Common srun arguments===&lt;br /&gt;
:--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
:--nodes=2 (if passed to srun, the given command will be run concurrently on each node)&lt;br /&gt;
:--qos=dpart&lt;br /&gt;
:--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
:--job-name=helloWorld&lt;br /&gt;
:--output filename (file to redirect stdout to)&lt;br /&gt;
:--error filename (file to redirect stderr)&lt;br /&gt;
:--partition $PNAME (request job run in the $PNAME partition)&lt;br /&gt;
:--ntasks 2 (request 2 &amp;quot;tasks&amp;quot; which map to cores on a CPU, if passed to srun the given command will be run concurrently on each core)&lt;br /&gt;
===Interactive Shell Sessions===&lt;br /&gt;
An interactive shell session on a compute node can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab06:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script to be submitted and run non-interactively on the compute nodes. To run a simple Hello World command on the compute nodes you could write a file, helloWorld.sh with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
srun bash -c &#039;echo Hello World from `hostname`&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then you need to submit the script with sbatch and request resources:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch --mem=1gb --time=1:00:00 helloWorld.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     dpart helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Advanced Batch Scripts====&lt;br /&gt;
You can also write a batch script with all of your resources/options defined in the script itself. This is useful for jobs that need to be run 10s/100s/1000s of times. You can then handle any necessary environment setup and run commands on the resources you requested by invoking commands with srun. The srun commands can also be more complex and be told to only use portions of your entire job allocation, each of these distinct srun commands makes up one &amp;quot;job step&amp;quot;. The batch script will be run on the first node allocated as part of your job allocation and each job step will be run on whatever resources you tell them to. In the following example I have a batch job that will request 2 nodes in the cluster, then I load a specific version of Python into my environment and submit two job steps, each one using one node. Since srun is blocks until the command finishes, I use the &#039;&amp;amp;&#039; operator to background the process so that both job steps can run at once; however, this means that I then need to use the wait command to block processing until all background processes have finished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                                   # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                              # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                               # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                                         # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                             # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                               # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --ntasks=4                                              # request 4 cpu cores be reserved for your node total&lt;br /&gt;
#SBATCH --ntasks-per-node=2                                     # request 2 cpu cores be reserved per node&lt;br /&gt;
#SBATCH --mem 1gb                                               # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                                        # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                            # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====More Examples====&lt;br /&gt;
More examples of how to use batch scripts to setup your environment for processing will be coming soon&lt;br /&gt;
=Requesting GPUs=&lt;br /&gt;
If you need to do processing on a GPU, you will need to request that your job have access to GPUs just as you need to request processors or cpu cores. You will also need to make sure that you submit your job to the correct partition since nodes with GPUs are often put into their own partition to prevent the nodes from being tied up by jobs that don&#039;t utilize GPUs. In SLURM, GPUs are considered &amp;quot;generic resources&amp;quot; also known as GRES. To request some number of GPUs be reserved/available for your job you can use the flag &amp;lt;code&amp;gt;--gres:gpu:2&amp;lt;/code&amp;gt; or if there are multiple types of GPUs available in the cluster and you need a specific type, you can provide the type option to the gres flag &amp;lt;code&amp;gt;--gres:k20:1&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --partition gpu --gres=gpu:2 nvidia-smi&lt;br /&gt;
Wed Jul 13 15:33:18 2016&lt;br /&gt;
+------------------------------------------------------+&lt;br /&gt;
| NVIDIA-SMI 361.28     Driver Version: 361.28         |&lt;br /&gt;
|-------------------------------+----------------------+----------------------+&lt;br /&gt;
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |&lt;br /&gt;
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |&lt;br /&gt;
|===============================+======================+======================|&lt;br /&gt;
|   0  Tesla K20c          Off  | 0000:03:00.0     Off |                    0 |&lt;br /&gt;
| 30%   24C    P0    48W / 225W |     11MiB /  4799MiB |      0%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
|   1  Tesla K20c          Off  | 0000:84:00.0     Off |                    0 |&lt;br /&gt;
| 30%   23C    P0    52W / 225W |     11MiB /  4799MiB |     93%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
| Processes:                                                       GPU Memory |&lt;br /&gt;
|  GPU       PID  Type  Process name                               Usage      |&lt;br /&gt;
|=============================================================================|&lt;br /&gt;
|  No running processes found                                                 |&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Please note that your job will only be able to see/access the GPUs you requested. If you only need 1 GPU, please request only 1 GPU and the other one will be left available for other users:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --partition gpu --gres=gpu:k20:1 nvidia-smi&lt;br /&gt;
Wed Jul 13 15:31:29 2016&lt;br /&gt;
+------------------------------------------------------+&lt;br /&gt;
| NVIDIA-SMI 361.28     Driver Version: 361.28         |&lt;br /&gt;
|-------------------------------+----------------------+----------------------+&lt;br /&gt;
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |&lt;br /&gt;
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |&lt;br /&gt;
|===============================+======================+======================|&lt;br /&gt;
|   0  Tesla K20c          Off  | 0000:03:00.0     Off |                    0 |&lt;br /&gt;
| 30%   24C    P0    50W / 225W |     11MiB /  4799MiB |     92%      Default |&lt;br /&gt;
+-------------------------------+----------------------+----------------------+&lt;br /&gt;
&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
| Processes:                                                       GPU Memory |&lt;br /&gt;
|  GPU       PID  Type  Process name                               Usage      |&lt;br /&gt;
|=============================================================================|&lt;br /&gt;
|  No running processes found                                                 |&lt;br /&gt;
+-----------------------------------------------------------------------------+&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;--gres&amp;lt;/code&amp;gt; flag may also be passed to [[#sbatch | sbatch]] and [[#salloc | salloc]] rather than directly to [[#srun | srun]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7044</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7044"/>
		<updated>2016-07-13T19:02:28Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* sbatch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
srun is the command used to run a process on the compute nodes in the cluster. It works by passing it a command (this could be a script) which will be run on a compute node and then srun will return. srun accepts many command line options to specify the resources required by the command passed to it, some common command line arguments are listed below and full documentation of all available options is available in the man page for srun which can be accessed by running &amp;lt;code&amp;gt;man srun&amp;lt;/code&amp;gt;. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --mem=100mb --time=1:00:00 bash -c &#039;echo &amp;quot;Hello World from&amp;quot; `hostname`&#039;&lt;br /&gt;
Hello World from openlab06.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is important to understand that srun is an interactive command. By default input to srun is broadcast to all compute nodes running your process and output from the compute nodes is redirected to srun, this behavior can be changed; however, &#039;&#039;&#039;srun will always wait for the command passed to finish before exiting, so if you start a long running process and end your terminal session, your process will stop running on the compute nodes and your job will end&#039;&#039;&#039;. To run a non-interactive session that you can submit to the cluster and will remain running after you logout, you will need to wrap your srun commands in a batch script and submit it with [[#sbatch | sbatch]]&lt;br /&gt;
===Common srun arguments===&lt;br /&gt;
:--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
:--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
:--qos=dpart&lt;br /&gt;
:--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
:--job-name=helloWorld&lt;br /&gt;
:--output filename (file to redirect stdout to)&lt;br /&gt;
:--error filename (file to redirect stderr)&lt;br /&gt;
===Interactive Shell Sessions===&lt;br /&gt;
An interactive shell session on a compute node can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab06:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script to be submitted and run non-interactively on the compute nodes. To run a simple Hello World command on the compute nodes you could write a file, helloWorld.sh with the following contents:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
srun bash -c &#039;echo Hello World from `hostname`&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then you need to submit the script with sbatch and request resources:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch --mem=1gb --time=1:00:00 helloWorld.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     dpart helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Advanced Batch Scripts====&lt;br /&gt;
You can also write a batch script with all of your resources/options defined in the script itself. This is useful for jobs that need to be run 10s/100s/1000s of times. You can then handle any necessary environment setup and run commands on the resources you requested by invoking commands with srun. The srun commands can also be more complex and be told to only use portions of your entire job allocation, each of these distinct srun commands makes up one &amp;quot;job step&amp;quot;. The batch script will be run on the first node allocated as part of your job allocation and each job step will be run on whatever resources you tell them to. In the following example I have a batch job that will request 2 nodes in the cluster, then I load a specific version of Python into my environment and submit two job steps, each one using one node. Since srun is blocks until the command finishes, I use the &#039;&amp;amp;&#039; operator to background the process so that both job steps can run at once; however, this means that I then need to use the wait command to block processing until all background processes have finished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                                   # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                              # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                               # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                                         # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                             # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                               # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                               # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                                        # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 --mem=512mb bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                            # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====More Examples====&lt;br /&gt;
More examples of how to use batch scripts to setup your environment for processing will be coming soon&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7043</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7043"/>
		<updated>2016-07-13T18:45:58Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* srun */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
srun is the command used to run a process on the compute nodes in the cluster. It works by passing it a command (this could be a script) which will be run on a compute node and then srun will return. srun accepts many command line options to specify the resources required by the command passed to it, some common command line arguments are listed below and full documentation of all available options is available in the man page for srun which can be accessed by running &amp;lt;code&amp;gt;man srun&amp;lt;/code&amp;gt;. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --mem=100mb --time=1:00:00 bash -c &#039;echo &amp;quot;Hello World from&amp;quot; `hostname`&#039;&lt;br /&gt;
Hello World from openlab06.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It is important to understand that srun is an interactive command. By default input to srun is broadcast to all compute nodes running your process and output from the compute nodes is redirected to srun, this behavior can be changed; however, &#039;&#039;&#039;srun will always wait for the command passed to finish before exiting, so if you start a long running process and end your terminal session, your process will stop running on the compute nodes and your job will end&#039;&#039;&#039;. To run a non-interactive session that you can submit to the cluster and will remain running after you logout, you will need to wrap your srun commands in a batch script and submit it with [[#sbatch | sbatch]]&lt;br /&gt;
===Common srun arguments===&lt;br /&gt;
:--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
:--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
:--qos=dpart&lt;br /&gt;
:--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
:--job-name=helloWorld&lt;br /&gt;
:--output filename (file to redirect stdout to)&lt;br /&gt;
:--error filename (file to redirect stderr)&lt;br /&gt;
===Interactive Shell Sessions===&lt;br /&gt;
An interactive shell session on a compute node can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub01:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab06:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script with all of your resources/options defined in the script itself. You can then handle any necessary environment setup and then run commands on the resources you requested by invoking commands with srun. The batch script will be run on the first node allocated as part of your job allocation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                 # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh, you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7040</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7040"/>
		<updated>2016-07-13T18:13:45Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* Interactive Jobs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
===Interactive Shell Sessions===&lt;br /&gt;
An interactive session can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab00:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Batch Jobs===&lt;br /&gt;
If you only have one command to run or want to run a script, you can use the srun command. By default, all output from the compute nodes will be redirected to srun&#039;s stdout and any input given to srun&#039;s stdin will be broadcast to all compute nodes allocated. This behavior can be changed with the --output, --error, and --input flags (if --output is defined and --error is not, they will both be redirected to --output). To request resources and setup mail/other options, you will need to pass the correct command line options to srun. Some common options are:&lt;br /&gt;
*--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
*--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
*--qos=dpart&lt;br /&gt;
*--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
*--job-name=helloWorld&lt;br /&gt;
*--output filename (file to redirect stdout to)&lt;br /&gt;
*--error filename (file to redirect stderr)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --nodes=2 --mem=100mb --time=00:01:00 /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
openlab01.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script with all of your resources/options defined in the script itself. You can then handle any necessary environment setup and then run commands on the resources you requested by invoking commands with srun. The batch script will be run on the first node allocated as part of your job allocation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                 # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh, you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7036</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7036"/>
		<updated>2016-07-12T18:45:24Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* sbatch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
===Interactive Jobs===&lt;br /&gt;
An interactive session can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab00:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
===Batch Jobs===&lt;br /&gt;
If you only have one command to run or want to run a script, you can use the srun command. By default, all output from the compute nodes will be redirected to srun&#039;s stdout and any input given to srun&#039;s stdin will be broadcast to all compute nodes allocated. This behavior can be changed with the --output, --error, and --input flags (if --output is defined and --error is not, they will both be redirected to --output). To request resources and setup mail/other options, you will need to pass the correct command line options to srun. Some common options are:&lt;br /&gt;
*--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
*--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
*--qos=dpart&lt;br /&gt;
*--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
*--job-name=helloWorld&lt;br /&gt;
*--output filename (file to redirect stdout to)&lt;br /&gt;
*--error filename (file to redirect stderr)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --nodes=2 --mem=100mb --time=00:01:00 /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
openlab01.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script with all of your resources/options defined in the script itself. You can then handle any necessary environment setup and then run commands on the resources you requested by invoking commands with srun. The batch script will be run on the first node allocated as part of your job allocation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.out.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                 # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh, you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7035</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7035"/>
		<updated>2016-07-12T18:40:29Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* sbatch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs. It is important to understand the different options available and how to request the resources required for a job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
===Interactive Jobs===&lt;br /&gt;
An interactive session can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab00:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working. This blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
===Batch Jobs===&lt;br /&gt;
If you only have one command to run or want to run a script, you can use the srun command. By default, all output from the compute nodes will be redirected to srun&#039;s stdout and any input given to srun&#039;s stdin will be broadcast to all compute nodes allocated. This behavior can be changed with the --output, --error, and --input flags (if --output is defined and --error is not, they will both be redirected to --output). To request resources and setup mail/other options, you will need to pass the correct command line options to srun. Some common options are:&lt;br /&gt;
*--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
*--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
*--qos=dpart&lt;br /&gt;
*--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
*--job-name=helloWorld&lt;br /&gt;
*--output filename (file to redirect stdout to)&lt;br /&gt;
*--error filename (file to redirect stderr)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --nodes=2 --mem=100mb --time=00:01:00 /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
openlab01.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. When your time is up or you exit the subshell, your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
The sbatch command allows you to write a batch script with all of your resources/options defined in the script itself. You can then handle any necessary environment setup and then run commands on the resources you requested by invoking commands with srun. The batch script will be run on the first node allocated as part of your job allocation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.err.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=dpart                                 # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh, you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7023</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7023"/>
		<updated>2016-07-12T17:14:59Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs, it is important that you understand the different options available and how to request the resources required by your job in order for it to run successfully. All job submission should be done from submit nodes; any computational code should be run in a job allocation on compute nodes. The following commands outline how to allocate resources on the compute nodes and submit processes to be run on the allocated nodes.&lt;br /&gt;
==srun==&lt;br /&gt;
&lt;br /&gt;
===Interactive Jobs===&lt;br /&gt;
An interactive session can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@openlab00:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working, this blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
===Batch Jobs===&lt;br /&gt;
If you only have one command to run or just want to run a script, you can use the srun command. By default all output from the compute nodes will be redirected to srun&#039;s stdout and any input given to srun&#039;s stdin will be broadcast to all compute nodes allocated, this behavior can be changed with the --output, --error, and --input flags (if --output is defined and --error is not, they will both be redirected to --output). To request resources and setup mail/other options, you will need to pass the correct command line options to srun. Some common options are:&lt;br /&gt;
*--mem=1gb (if no unit is given MB is assumed)&lt;br /&gt;
*--nodes=2 (the given command will be run concurrently on each node)&lt;br /&gt;
*--qos=dpart&lt;br /&gt;
*--time=hh:mm:ss(time needed to run your job)&lt;br /&gt;
*--job-name=helloWorld&lt;br /&gt;
*--output filename (file to redirect stdout to)&lt;br /&gt;
*--error filename (file to redirect stderr)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:srun --nodes=2 --mem=100mb --time=00:01:00 /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
openlab01.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources be allocated without needing a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. Whenever your time is up or you exit the subshell your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@opensub00:srun /usr/bin/hostname&lt;br /&gt;
openlab00.umiacs.umd.edu&lt;br /&gt;
tgray26@opensub00:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==sbatch==&lt;br /&gt;
sbatch allows you to write a batch script with all of your resources/options defined in the script itself, you can then handle any necessary environment setup and then run commands on the resources you requested by invoking commands with srun. The batch script will be run on the first node allocated as part of your job allocation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.err.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=default                               # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@opensub00:sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@opensub00:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 openlab[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/ClusterStatus&amp;diff=7021</id>
		<title>SLURM/ClusterStatus</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/ClusterStatus&amp;diff=7021"/>
		<updated>2016-07-11T13:14:51Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: Created page with &amp;quot;=Cluster Status= The general status of nodes/partitions in a cluster can be viewed using the sinfo and scontrol commands. ==sinfo== sinfo will show you the status of partition...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Cluster Status=&lt;br /&gt;
The general status of nodes/partitions in a cluster can be viewed using the sinfo and scontrol commands.&lt;br /&gt;
==sinfo==&lt;br /&gt;
sinfo will show you the status of partitions in the cluster. Passing the -N flag will show each node individually.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:sinfo&lt;br /&gt;
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST&lt;br /&gt;
test         up   infinite      2    mix shado[00-01]&lt;br /&gt;
test         up   infinite      7   idle shado[02-08]&lt;br /&gt;
test2*       up   infinite      2    mix shado[00-01]&lt;br /&gt;
test2*       up   infinite      3   idle shado[02-04]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:sinfo -N&lt;br /&gt;
NODELIST   NODES PARTITION STATE &lt;br /&gt;
shado00        1      test mix   &lt;br /&gt;
shado00        1    test2* mix   &lt;br /&gt;
shado01        1      test mix   &lt;br /&gt;
shado01        1    test2* mix   &lt;br /&gt;
shado02        1      test idle  &lt;br /&gt;
shado02        1    test2* idle &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
==scontrol==&lt;br /&gt;
The scontrol command, while generally reserved for administrator use, can be used to view the status/configuration of the nodes in the cluster. If passed a specific node name only information about that node will be displayed, otherwise all nodes will be listed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:scontrol show nodes shado00&lt;br /&gt;
NodeName=shado00 Arch=x86_64 CoresPerSocket=4&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=8 CPULoad=0.01&lt;br /&gt;
   AvailableFeatures=(null)&lt;br /&gt;
   ActiveFeatures=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado00 NodeHostName=shado00 Version=16.05&lt;br /&gt;
   OS=Linux RealMemory=15885 AllocMem=0 FreeMem=12187 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1 Owner=N/A MCS_label=N/A&lt;br /&gt;
   BootTime=2016-06-23T20:25:41 SlurmdStartTime=2016-07-10T13:33:29&lt;br /&gt;
   CapWatts=n/a&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobStatus&amp;diff=7020</id>
		<title>SLURM/JobStatus</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobStatus&amp;diff=7020"/>
		<updated>2016-07-11T13:08:15Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: Created page with &amp;quot;=Job Status= SLURM offers a variety of tools to check the status of your jobs before, during, and after it has begun/completed. When you first submit your job, SLURM should gi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Status=&lt;br /&gt;
SLURM offers a variety of tools to check the status of your jobs before, during, and after it has begun/completed. When you first submit your job, SLURM should give you a job ID, this represents the resources allocated to your job, individual calls to srun will spawn job steps which can also be queried individually.&lt;br /&gt;
&lt;br /&gt;
==squeue==&lt;br /&gt;
The squeue command shows job status in the queue. If your job has not yet started you can ask for an estimated start time with &amp;lt;code&amp;gt;squeue --start&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               162     test2 helloWor  tgray26  R       0:03      2 shado[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to see the status of individual job steps you can use &amp;lt;code&amp;gt;squeue -s&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:squeue -s&lt;br /&gt;
         STEPID     NAME PARTITION     USER      TIME NODELIST&lt;br /&gt;
          162.0    sleep     test2  tgray26      0:05 shado00&lt;br /&gt;
          162.1    sleep     test2  tgray26      0:05 shado01&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==sstat==&lt;br /&gt;
The sstat command shows metrics from currently running job steps. If you don&#039;t specify a job step the lowest job step is displayed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize &amp;lt;$JOBID&amp;gt;.&amp;lt;$JOBSTEP&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 171&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171.0               1              shado00          0    186060K          0    107900K &lt;br /&gt;
tgray26@shadosub: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 171.1&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171.1               1              shado01          0    186060K          0    107900K &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Notice that if you do not have any jobsteps sstat will not return an error&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub: sstat --format JobID,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize 172&lt;br /&gt;
       JobID   NTasks             Nodelist     MaxRSS  MaxVMSize     AveRSS  AveVMSize &lt;br /&gt;
------------ -------- -------------------- ---------- ---------- ---------- ---------- &lt;br /&gt;
sstat: error: no steps running for job 172&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you do not run any srun commands you will not create any job steps and metrics will not be available for your job. Your batch scripts should follow this format&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH ...&lt;br /&gt;
#SBATCH ...&lt;br /&gt;
# set environment up&lt;br /&gt;
module load ...&lt;br /&gt;
&lt;br /&gt;
# launch job steps&lt;br /&gt;
srun &amp;lt;command to run&amp;gt; # that would be step 1&lt;br /&gt;
srun &amp;lt;command to run&amp;gt; # that would be step 2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==sacct==&lt;br /&gt;
The sacct command shows metrics from past jobs&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:sacct&lt;br /&gt;
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode &lt;br /&gt;
------------ ---------- ---------- ---------- ---------- ---------- -------- &lt;br /&gt;
162          helloWorld      test2      staff          2  COMPLETED      0:0 &lt;br /&gt;
162.batch         batch                 staff          1  COMPLETED      0:0 &lt;br /&gt;
162.0             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
162.1             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
163          helloWorld      test2      staff          2  COMPLETED      0:0 &lt;br /&gt;
163.batch         batch                 staff          1  COMPLETED      0:0 &lt;br /&gt;
163.0             sleep                 staff          1  COMPLETED      0:0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To check one specific job you can run something like the following (if you omit &amp;lt;$JOBSTEP&amp;gt; all jobsteps will be shown:&lt;br /&gt;
&amp;lt;pre&amp;gt;sacct  --format JobID,jobname,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize,Elapsed -j &amp;lt;$JOBID&amp;gt;.&amp;lt;$JOBSTEP&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:sacct  --format JobID,jobname,NTasks,nodelist,MaxRSS,MaxVMSize,AveRSS,AveVMSize,Elapsed -j 171&lt;br /&gt;
       JobID    JobName   NTasks        NodeList     MaxRSS  MaxVMSize     AveRSS  AveVMSize    Elapsed &lt;br /&gt;
------------ ---------- -------- --------------- ---------- ---------- ---------- ---------- ---------- &lt;br /&gt;
171          helloWorld             shado[00-01]                                               00:00:30 &lt;br /&gt;
171.batch         batch        1         shado00          0    119784K          0    113120K   00:00:30 &lt;br /&gt;
171.0             sleep        1         shado00          0    186060K          0    107900K   00:00:30 &lt;br /&gt;
171.1             sleep        1         shado01          0    186060K          0    107900K   00:00:30 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=7019</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=7019"/>
		<updated>2016-07-11T02:02:33Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Simple Linux Utility for Resource Management (SLURM)=&lt;br /&gt;
&lt;br /&gt;
SLURM is an open-source workload manager designed for Linux clusters of all sizes. It provides three key functions. First it allocates exclusive and/or non-exclusive access to resources (computer nodes) to users for some duration of time so they can perform work. Second, it provides a framework for starting, executing, and monitoring work (typically a parallel job) on a set of allocated nodes. Finally, it arbitrates contention for resources by managing a queue of pending work.&lt;br /&gt;
&lt;br /&gt;
==Documentation==&lt;br /&gt;
:[[SLURM/JobSubmission | Submitting Jobs]]&lt;br /&gt;
:[[SLURM/JobStatus | Checking Job Status]]&lt;br /&gt;
:[[SLURM/ClusterStatus | Checking Cluster Status]]&lt;br /&gt;
:[http://slurm.schedmd.com/documentation.html Official Documentation]&lt;br /&gt;
:[http://slurm.schedmd.com/faq.html FAQ]&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
Below are some of the common commands used in slurm. Further information on how to use these commands is found in the documentation linked above. To see all flags available for each command please check the command manual by using the command &amp;lt;code&amp;gt;man $COMMAND&amp;lt;/code&amp;gt; on the command line.&lt;br /&gt;
====sbatch====&lt;br /&gt;
sbatch  submits  a  batch script to Slurm.  The batch script may be given to sbatch through a file name on the command line, or if no file name is specified, sbatch will read in a script from standard input. The batch script may contain options preceded with &amp;quot;#SBATCH&amp;quot; before any executable commands in the script.&lt;br /&gt;
&lt;br /&gt;
====salloc====&lt;br /&gt;
salloc  is  used  to allocate a Slurm job allocation, which is a set of resources (nodes), possibly with some set of constraints (e.g. number of processors per node).  When salloc successfully obtains the requested allocation, it then runs the command specified by the user.  Finally, when the user specified command is complete, salloc relinquishes  the  job allocation. If no command is specified salloc run&#039;s the user&#039;s default shell.&lt;br /&gt;
&lt;br /&gt;
====srun====&lt;br /&gt;
Run a parallel job on cluster managed by Slurm.  If necessary, srun will first create a resource allocation in which to run the parallel job.&lt;br /&gt;
&lt;br /&gt;
====squeue====&lt;br /&gt;
squeue is used to view job and job step information for jobs managed by Slurm.&lt;br /&gt;
&lt;br /&gt;
====scancel====&lt;br /&gt;
scancel  is  used to signal or cancel jobs, job arrays or job steps.  An arbitrary number of jobs or job steps may be signaled using job specification filters or a space separated list of specific job and/or job step IDs.&lt;br /&gt;
&lt;br /&gt;
====sacct====&lt;br /&gt;
The  sacct command displays job accounting data stored in the job accounting log file or Slurm database in a variety of forms for your analysis.  The sacct command displays information on jobs, job steps, status, and exitcodes by default.  You can tailor the output with the use of the --format= option to specify the fields to be shown.&lt;br /&gt;
&lt;br /&gt;
====sstat====&lt;br /&gt;
The  sstat  command  displays  job status information for your analysis.  The sstat command displays information pertaining to CPU, Task, Node, Resident Set Size (RSS) and Virtual Memory (VM).  You can tailor the output with the use of the --fields= option to specify the fields to be shown.&lt;br /&gt;
&lt;br /&gt;
==Modules==&lt;br /&gt;
If you are trying to use [[Modules | GNU Modules]] in a slurm job, please read the section of our [[Modules]] documentation on [[Modules#Modules_in_Non-Interactive_Shell_Sessions | non-interactive shell sessions]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7018</id>
		<title>SLURM/JobSubmission</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM/JobSubmission&amp;diff=7018"/>
		<updated>2016-07-11T01:40:02Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: Created page with &amp;quot;=Job Submission=  SLURM offers a variety of ways to run jobs, it is important that you understand the different options available and how to request the resources required by...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Job Submission=&lt;br /&gt;
&lt;br /&gt;
SLURM offers a variety of ways to run jobs, it is important that you understand the different options available and how to request the resources required by your job in order for it to run successfully.&lt;br /&gt;
&lt;br /&gt;
==Batch Jobs==&lt;br /&gt;
Batch processing is the execution of a series of jobs in a program on a computer without manual intervention (non-interactive). To submit a batch job you will need to create a submission script like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling&lt;br /&gt;
&lt;br /&gt;
#SBATCH --job-name=helloWorld                       # sets the job name&lt;br /&gt;
#SBATCH --output helloWorld.out.%j                  # indicates a file to redirect STDOUT to; %j is the jobid &lt;br /&gt;
#SBATCH --error helloWorld.err.%j                   # indicates a file to redirect STDERR to; %j is the jobid&lt;br /&gt;
#SBATCH --time=00:05:00                             # how long you think your job will take to complete; format=hh:mm:ss&lt;br /&gt;
#SBATCH --qos=default                               # set QOS, this will determine what resources can be requested&lt;br /&gt;
#SBATCH --nodes=2                                   # number of nodes to allocate for your job&lt;br /&gt;
#SBATCH --mem 1gb                                   # memory required by job; if unit is not specified MB will be assumed&lt;br /&gt;
&lt;br /&gt;
module load Python/2.7.9                            # run any commands necessary to setup your environment&lt;br /&gt;
&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # use srun to invoke commands within your job; using an &#039;&amp;amp;&#039;&lt;br /&gt;
srun -N 1 bash -c &amp;quot;hostname; python --version&amp;quot; &amp;amp;    # will background the process allowing them to run concurrently&lt;br /&gt;
wait                                                # wait for any background processes to complete&lt;br /&gt;
&lt;br /&gt;
# once the end of the batch script is reached your job allocation will be revoked&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If your script were named batchScript.sh you could submit it by running:&lt;br /&gt;
&amp;lt;pre&amp;gt;tgray26@shadosub$ sbatch batchScript.sh&lt;br /&gt;
Submitted batch job 121&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
SLURM will return a job number that you can use to check the status of your job with squeue:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub$ squeue&lt;br /&gt;
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)&lt;br /&gt;
               121     test2 helloWor  tgray26  R       0:01      2 shado[00-01]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Interactive Jobs==&lt;br /&gt;
An interactive session can be useful for debugging or developing code that isn&#039;t ready to be run as a batch job. To get an interactive shell on a node, use srun to invoke a shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:srun --pty --mem 1gb --time=01:00:00 bash&lt;br /&gt;
tgray26@shado00:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please do not leave interactive shells running for long periods of time when you are not working, this blocks resources from being used by everyone else.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==salloc==&lt;br /&gt;
The salloc command can also be used to request resources without requiring a batch script. Running salloc with a list of resources will allocate the resources you requested, create a job, and drop you into a subshell with the environment variables necessary to run commands in the newly created job allocation. Whenever your time is up or you exit the subshell your job allocation will be relinquished.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:salloc -N 1 --mem=2gb --time=01:00:00&lt;br /&gt;
salloc: Granted job allocation 159&lt;br /&gt;
tgray26@shadosub:srun /usr/bin/hostname&lt;br /&gt;
shado00.umiacs.umd.edu&lt;br /&gt;
tgray26@shadosub:exit&lt;br /&gt;
exit&lt;br /&gt;
salloc: Relinquishing job allocation 159&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Please note that any commands not invoked with srun will be run locally on the submit node. Please be careful when using salloc.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
If you only have one command to run, you can use the srun command on it&#039;s own, requesting resources with the correct flags. A job will be allocated with the requested resources, the command specified will be run concurrently on all nodes and then the job will be relinquished. By default all output from the compute nodes will be redirected to srun&#039;s stdout and any input given to srun&#039;s stdin will be broadcast to all compute nodes allocated, this behavior can be changed with the --output, --error, and --input flags.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tgray26@shadosub:srun -N2 --mem=100mb --time=00:01:00 /usr/bin/hostname&lt;br /&gt;
shado00.umiacs.umd.edu&lt;br /&gt;
shado01.umiacs.umd.edu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=7017</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=7017"/>
		<updated>2016-07-10T15:27:44Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: Tgray26 moved page Slurm to SLURM without leaving a redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Simple Linux Utility for Resource Management&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
UMIACS is transitioning away from our Torque/Maui batch resource manager to Slurm.  Slurm is now in use broadly with the regional and national super computing communities.&lt;br /&gt;
&lt;br /&gt;
Terminology and command line changes are the biggest differences when coming from Torque/Maui to Slurm.&lt;br /&gt;
&lt;br /&gt;
* Torque queues are now called partitions in Slurm&lt;br /&gt;
&lt;br /&gt;
=Commands=&lt;br /&gt;
&lt;br /&gt;
==sinfo==&lt;br /&gt;
&lt;br /&gt;
To view partitions and nodes you can use the &#039;&#039;&#039;sinfo&#039;&#039;&#039; command.  You will notice that there are two partitions in the following example, but in this view it will break the partitions into the availability of the nodes.  The &#039;&#039;&#039;*&#039;&#039;&#039; character in the PARTITION column signifies the default partition for jobs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sinfo&lt;br /&gt;
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST&lt;br /&gt;
test*        up   infinite      5   idle shado[00-04]&lt;br /&gt;
test2        up   infinite      3   idle shado[00-02]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==squeue==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;squeue&#039;&#039;&#039; command shows submitted jobs in partitions.  This will, by default, show all jobs in all partitions.  There are a number of limitation and output options that are documented in the man page for squeue.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# squeue&lt;br /&gt;
JOBID PARTITION  NAME  USER ST  TIME NODES NODELIST(REASON)&lt;br /&gt;
65646     batch  chem  mike  R 24:19     2 adev[7-8]&lt;br /&gt;
65647     batch   bio  joan  R  0:09     1 adev14&lt;br /&gt;
65648     batch  math  phil PD  0:00     6 (Resources)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
&lt;br /&gt;
To run a simple command like hostname over 4 nodes: &#039;&#039;&#039;srun -n4 -l hostname&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To get an interactive session with 4GB of RAM for 8 hours with a bash shell:  &#039;&#039;&#039;srun --pty --mem 4096 -t 8:00:00 bash&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==scancel==&lt;br /&gt;
&lt;br /&gt;
To cancel a job, you can call &#039;&#039;&#039;scancel&#039;&#039;&#039; with a job number.&lt;br /&gt;
&lt;br /&gt;
==scontrol==&lt;br /&gt;
&lt;br /&gt;
You can receive more thorough information on both nodes and partitions through the &#039;&#039;&#039;scontrol&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
To show more about partitions you can run &#039;&#039;&#039;scontrol show partition&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# scontrol show partition&lt;br /&gt;
PartitionName=test&lt;br /&gt;
   AllowGroups=ALL AllowAccounts=ALL AllowQos=ALL&lt;br /&gt;
   AllocNodes=ALL Default=YES&lt;br /&gt;
   DefaultTime=NONE DisableRootJobs=NO GraceTime=0 Hidden=NO&lt;br /&gt;
   MaxNodes=1 MaxTime=UNLIMITED MinNodes=1 LLN=NO MaxCPUsPerNode=UNLIMITED&lt;br /&gt;
   Nodes=shado[00-04]&lt;br /&gt;
   Priority=1 RootOnly=NO ReqResv=NO Shared=NO PreemptMode=OFF&lt;br /&gt;
   State=UP TotalCPUs=10 TotalNodes=5 SelectTypeParameters=N/A&lt;br /&gt;
   DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED&lt;br /&gt;
&lt;br /&gt;
PartitionName=test2&lt;br /&gt;
   AllowGroups=ALL AllowAccounts=ALL AllowQos=ALL&lt;br /&gt;
   AllocNodes=ALL Default=NO&lt;br /&gt;
   DefaultTime=NONE DisableRootJobs=NO GraceTime=0 Hidden=NO&lt;br /&gt;
   MaxNodes=2 MaxTime=UNLIMITED MinNodes=1 LLN=NO MaxCPUsPerNode=UNLIMITED&lt;br /&gt;
   Nodes=shado[00-02]&lt;br /&gt;
   Priority=1 RootOnly=NO ReqResv=NO Shared=NO PreemptMode=OFF&lt;br /&gt;
   State=UP TotalCPUs=6 TotalNodes=3 SelectTypeParameters=N/A&lt;br /&gt;
   DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To show more about nodes you can run &#039;&#039;&#039;scontrol show nodes&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# scontrol show nodes&lt;br /&gt;
NodeName=shado00 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=1.01 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado00 NodeHostName=shado00 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:22 SlurmdStartTime=2015-07-30T11:21:49&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NodeName=shado01 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=0.94 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado01 NodeHostName=shado01 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:22 SlurmdStartTime=2015-07-30T11:23:23&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NodeName=shado02 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=0.95 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado02 NodeHostName=shado02 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:23 SlurmdStartTime=2015-07-30T11:23:50&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modules==&lt;br /&gt;
If you are trying to use GNU [[Modules]] in a slurm job, please read the section of our [[Modules]] documentation on non-interactive shell sessions&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=6583</id>
		<title>SLURM</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SLURM&amp;diff=6583"/>
		<updated>2015-07-30T20:35:36Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Simple Linux Utility for Resource Management&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
UMIACS is transitioning away from our Torque/Maui batch resource manager to Slurm.  Slurm is now in use broadly with the regional and national super computing communities.&lt;br /&gt;
&lt;br /&gt;
Terminology and command line changes are the biggest differences when coming from Torque/Maui to Slurm.&lt;br /&gt;
&lt;br /&gt;
* Torque queues are now called partitions in Slurm&lt;br /&gt;
&lt;br /&gt;
=Commands=&lt;br /&gt;
&lt;br /&gt;
==sinfo==&lt;br /&gt;
&lt;br /&gt;
To view partitions and nodes you can use the &#039;&#039;&#039;sinfo&#039;&#039;&#039; command.  You will notice that there are two partitions in the following example, but in this view it will break the partitions into the availability of the nodes.  The &#039;&#039;&#039;*&#039;&#039;&#039; character in the PARTITION column signifies the default partition for jobs.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sinfo&lt;br /&gt;
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST&lt;br /&gt;
test*        up   infinite      5   idle shado[00-04]&lt;br /&gt;
test2        up   infinite      3   idle shado[00-02]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==squeue==&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;squeue&#039;&#039;&#039; command shows submitted jobs in partitions.  This will, by default, show all jobs in all partitions.  There are a number of limitation and output options that are documented in the man page for squeue.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# squeue&lt;br /&gt;
JOBID PARTITION  NAME  USER ST  TIME NODES NODELIST(REASON)&lt;br /&gt;
65646     batch  chem  mike  R 24:19     2 adev[7-8]&lt;br /&gt;
65647     batch   bio  joan  R  0:09     1 adev14&lt;br /&gt;
65648     batch  math  phil PD  0:00     6 (Resources)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==srun==&lt;br /&gt;
&lt;br /&gt;
To run a simple command like hostname over 4 nodes: &#039;&#039;&#039;srun -n4 -l hostname&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To get an interactive session with 4GB of RAM for 8 hours with a bash shell:  &#039;&#039;&#039;srun --pty --mem 4096 -t 8:00:00 bash&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==scancel==&lt;br /&gt;
&lt;br /&gt;
To cancel a job, you can call &#039;&#039;&#039;scancel&#039;&#039;&#039; with a job number.&lt;br /&gt;
&lt;br /&gt;
==scontrol==&lt;br /&gt;
&lt;br /&gt;
You can receive more thorough information on both nodes and partitions through the &#039;&#039;&#039;scontrol&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
To show more about partitions you can run &#039;&#039;&#039;scontrol show partition&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# scontrol show partition&lt;br /&gt;
PartitionName=test&lt;br /&gt;
   AllowGroups=ALL AllowAccounts=ALL AllowQos=ALL&lt;br /&gt;
   AllocNodes=ALL Default=YES&lt;br /&gt;
   DefaultTime=NONE DisableRootJobs=NO GraceTime=0 Hidden=NO&lt;br /&gt;
   MaxNodes=1 MaxTime=UNLIMITED MinNodes=1 LLN=NO MaxCPUsPerNode=UNLIMITED&lt;br /&gt;
   Nodes=shado[00-04]&lt;br /&gt;
   Priority=1 RootOnly=NO ReqResv=NO Shared=NO PreemptMode=OFF&lt;br /&gt;
   State=UP TotalCPUs=10 TotalNodes=5 SelectTypeParameters=N/A&lt;br /&gt;
   DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED&lt;br /&gt;
&lt;br /&gt;
PartitionName=test2&lt;br /&gt;
   AllowGroups=ALL AllowAccounts=ALL AllowQos=ALL&lt;br /&gt;
   AllocNodes=ALL Default=NO&lt;br /&gt;
   DefaultTime=NONE DisableRootJobs=NO GraceTime=0 Hidden=NO&lt;br /&gt;
   MaxNodes=2 MaxTime=UNLIMITED MinNodes=1 LLN=NO MaxCPUsPerNode=UNLIMITED&lt;br /&gt;
   Nodes=shado[00-02]&lt;br /&gt;
   Priority=1 RootOnly=NO ReqResv=NO Shared=NO PreemptMode=OFF&lt;br /&gt;
   State=UP TotalCPUs=6 TotalNodes=3 SelectTypeParameters=N/A&lt;br /&gt;
   DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To show more about nodes you can run &#039;&#039;&#039;scontrol show nodes&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# scontrol show nodes&lt;br /&gt;
NodeName=shado00 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=1.01 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado00 NodeHostName=shado00 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:22 SlurmdStartTime=2015-07-30T11:21:49&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NodeName=shado01 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=0.94 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado01 NodeHostName=shado01 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:22 SlurmdStartTime=2015-07-30T11:23:23&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NodeName=shado02 Arch=x86_64 CoresPerSocket=1&lt;br /&gt;
   CPUAlloc=0 CPUErr=0 CPUTot=2 CPULoad=0.95 Features=(null)&lt;br /&gt;
   Gres=(null)&lt;br /&gt;
   NodeAddr=shado02 NodeHostName=shado02 Version=14.11&lt;br /&gt;
   OS=Linux RealMemory=7823 AllocMem=0 Sockets=2 Boards=1&lt;br /&gt;
   State=IDLE ThreadsPerCore=1 TmpDisk=49975 Weight=1&lt;br /&gt;
   BootTime=2015-07-23T21:13:23 SlurmdStartTime=2015-07-30T11:23:50&lt;br /&gt;
   CurrentWatts=0 LowestJoules=0 ConsumedJoules=0&lt;br /&gt;
   ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modules==&lt;br /&gt;
If you are trying to use GNU [[Modules]] in a slurm job, please read the section of our [[Modules]] documentation on non-interactive shell sessions&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=InputMethodEditors&amp;diff=6513</id>
		<title>InputMethodEditors</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=InputMethodEditors&amp;diff=6513"/>
		<updated>2015-05-14T21:49:52Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: Created page with &amp;quot;Input method editors or IMEs make it easier to type in languages (usually but not limited to East Asian ones) that are made up of thousands of characters that can&amp;#039;t fit on a s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Input method editors or IMEs make it easier to type in languages (usually but not limited to East Asian ones) that are made up of thousands of characters that can&#039;t fit on a standard keyboard&lt;br /&gt;
&lt;br /&gt;
=Adding an IME=&lt;br /&gt;
IMEs are a per user setting and can be added/removed/customized without any need for administrative privileges. To add an IME to your account please follow these instructions.&lt;br /&gt;
&lt;br /&gt;
#Click the Windows button and open the control panel. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_1.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#Click &amp;quot;Clock, Language, and Region&amp;quot;. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_2.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#Click &amp;quot;Change keyboards or other input methods&amp;quot;. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_3.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#On the dialogue box that appears, click the &amp;quot;Change Keyboards&amp;quot; button. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_4.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#A new dialogue box will open with a list of your currently installed input methods (aka keyboards), on this dialogue box click the &amp;quot;Add&amp;quot; button to add a new input method. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_5.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#Another dialogue box will open with a list of languages, scroll through these until you find the language you want to add and click the &amp;quot;+&amp;quot; to expand the list, then expand the keyboard subtree to see a list of IMEs for that language. Check any of the IMEs that you want to enable and then click the &amp;quot;Ok&amp;quot; button. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_6.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#The dialogue box should have closed and you will now see your changes displayed in the list of active IMEs. Click &amp;quot;Apply&amp;quot; to close the dialogue box and apply your changes. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_7.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#The new IME should now be setup. If this is the first time you&#039;ve added an IME a new icon should appear in the bottom right corner of your screen near the taskbar that allows you to switch between IMEs and configure them. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_8.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
#To configure an IME or access the help pages about it to learn how to use it, click the Options Menu icon on the right side of the language bar. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:ime_9.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_9.png&amp;diff=6512</id>
		<title>File:Ime 9.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_9.png&amp;diff=6512"/>
		<updated>2015-05-14T19:00:31Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_8.png&amp;diff=6511</id>
		<title>File:Ime 8.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_8.png&amp;diff=6511"/>
		<updated>2015-05-14T19:00:14Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_7.png&amp;diff=6510</id>
		<title>File:Ime 7.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_7.png&amp;diff=6510"/>
		<updated>2015-05-14T19:00:00Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_6.png&amp;diff=6509</id>
		<title>File:Ime 6.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_6.png&amp;diff=6509"/>
		<updated>2015-05-14T18:59:49Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_5.png&amp;diff=6508</id>
		<title>File:Ime 5.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_5.png&amp;diff=6508"/>
		<updated>2015-05-14T18:59:24Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_4.png&amp;diff=6507</id>
		<title>File:Ime 4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_4.png&amp;diff=6507"/>
		<updated>2015-05-14T18:59:10Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_3.png&amp;diff=6506</id>
		<title>File:Ime 3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_3.png&amp;diff=6506"/>
		<updated>2015-05-14T18:58:44Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_2.png&amp;diff=6505</id>
		<title>File:Ime 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_2.png&amp;diff=6505"/>
		<updated>2015-05-14T18:58:31Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_1.png&amp;diff=6504</id>
		<title>File:Ime 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=File:Ime_1.png&amp;diff=6504"/>
		<updated>2015-05-14T18:58:08Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=6371</id>
		<title>Windows Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=6371"/>
		<updated>2014-11-11T19:52:16Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Please note that you need to be either &#039;&#039;on campus&#039;&#039; or on the &#039;&#039;VPN&#039;&#039; to activate. You may use either the UMIACS or the campus VPN. This tutorial also assumes you have already have a network connection established.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Windows Licensing ==&lt;br /&gt;
&lt;br /&gt;
Windows 7 and 8 have a licensing model different from that of Windows XP. Unlike Windows XP, Windows 7/8 uses an activation model for each install. The installs will have to verify activation every 180 days. Activation and renewal is performed via the campus Key Management Server KMS, which is not available from off campus. For onsite desktops this is not a problem. However, for laptops it poses a potentially serious complication. As long as the laptop is periodically on the campus wireless, connects to the UMIACS or campus VPN, then renewal activation will be performed then.&lt;br /&gt;
&lt;br /&gt;
== Activation ==&lt;br /&gt;
&#039;&#039;&#039;Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running &amp;quot;w32tm /resync&amp;quot; on the command line&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#  Click the Windows button and type &amp;quot;CMD&amp;quot; in the run bar. ]&lt;br /&gt;
#*[[Image:windows_bar.png]]&lt;br /&gt;
#  &#039;&#039;Right-Click&#039;&#039; on the CMD button, and select &amp;quot;Run as Administrator&amp;quot; -  &#039;&#039;&#039;THIS IS VERY IMPORTANT!&#039;&#039;&#039;&lt;br /&gt;
#*[[Image:Example.jpg]]&lt;br /&gt;
# From the link [http://technet.microsoft.com/en-us/library/jj612867.aspx here], choose the appropriate key for your windows version. That for windows 7 Enterprise is used in the example below (line 2)&lt;br /&gt;
#   Select &amp;quot;Yes&amp;quot; when it asks if you want to allow the following program to make changes.&lt;br /&gt;
#*[[Image:Uac.jpg]]&lt;br /&gt;
#  From the commmand prompt, run these commands in order, replacing the key in line 2with the appropriate key: &lt;br /&gt;
&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ato&lt;br /&gt;
&lt;br /&gt;
After these commands have run, the Key Management Server should have activated your windows computer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are unable to activate, please see the message at the top of this page and contact UMIACS staff with information about your problem.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=6370</id>
		<title>Windows Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=6370"/>
		<updated>2014-11-11T19:49:17Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* Activation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Please note that you need to be either &#039;&#039;on campus&#039;&#039; or on the &#039;&#039;VPN&#039;&#039; to activate. You may use either the UMIACS or the campus VPN. This tutorial also assumes you have already have a network connection established.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Windows Licensing ==&lt;br /&gt;
&lt;br /&gt;
Windows 7 and 8 have a licensing model different from that of Windows XP. Unlike Windows XP, Windows 7/8 uses an activation model for each install. The installs will have to verify activation every 180 days. Activation and renewal is performed via the campus Key Management Server KMS, which is not available from off campus. For onsite desktops this is not a problem. However, for laptops it poses a potentially serious complication. As long as the laptop is periodically on the campus wireless, connects to the UMIACS or campus VPN, then renewal activation will be performed then.&lt;br /&gt;
&lt;br /&gt;
== Activation ==&lt;br /&gt;
&#039;&#039;&#039;Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running &amp;quot;w32tm /resync&amp;quot; on the command line&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#  Click the Windows button and type &amp;quot;CMD&amp;quot; in the run bar. ]&lt;br /&gt;
#*[[Image:windows_bar.png]]&lt;br /&gt;
#  &#039;&#039;Right-Click&#039;&#039; on the CMD button, and select &amp;quot;Run as Administrator&amp;quot; -  &#039;&#039;&#039;THIS IS VERY IMPORTANT!&#039;&#039;&#039;&lt;br /&gt;
#*[[Image:Example.jpg]]&lt;br /&gt;
# From the link [http://technet.microsoft.com/en-us/library/jj612867.aspx here], choose the appropriate key for your windows version. That for windows 7 Enterprise is used in the example below (line 2)&lt;br /&gt;
#   Select &amp;quot;Yes&amp;quot; when it asks if you want to allow the following program to make changes.&lt;br /&gt;
#*[[Image:Uac.jpg]]&lt;br /&gt;
#  From the commmand prompt, run these commands in order, replacing the key in line 2with the appropriate key: &lt;br /&gt;
&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ato&lt;br /&gt;
&lt;br /&gt;
If you are attempting to activate Windows 8.1 please substitute the activation key in the second command above with the following key: MHF9N-XY6XB-WVXMC-BTDCT-MKKG7&lt;br /&gt;
&lt;br /&gt;
After these commands have run, the Key Management Server should have activated your windows computer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are unable to activate, please see the message at the top of this page and contact UMIACS staff with information about your problem.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=5704</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=5704"/>
		<updated>2014-04-15T17:20:03Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office you need to connect to the UMD campus network. You can do this either by physically connecting your machine to the network while on campus, or by using the [[Windows7VPN|UMIACS VPN]].&lt;br /&gt;
&lt;br /&gt;
Once you are on the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running &amp;quot;w32tm /resync&amp;quot; on the command line&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run the following command to determine the architecture of your machine. This will help you determine which commands you need to run as you continue:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;wmic os get osarchitecture&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Windows_Get_Architecture.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=5703</id>
		<title>Windows Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Windows_Activation&amp;diff=5703"/>
		<updated>2014-04-15T17:19:58Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Please note that you need to be either &#039;&#039;on campus&#039;&#039; or on the &#039;&#039;VPN&#039;&#039; to activate. You may use either the UMIACS or the campus VPN. This tutorial also assumes you have already have a network connection established.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Windows 7 Licensing ==&lt;br /&gt;
&lt;br /&gt;
Windows 7 has a different licensing model than Windows XP. Unlike Windows XP, Windows 7 uses an activation model for each install. The installs will have to verify activation every 180 days. Activation and renewal is performed via the campus Key Management Server KMS, which is not available from off campus. For onsite desktops this is not a problem. However, for laptops it poses a potentially serious complication. As long as the laptop is periodically on the campus wireless, connects to the UMIACS or campus VPN, then renewal activation will be performed then.&lt;br /&gt;
&lt;br /&gt;
== Activation ==&lt;br /&gt;
&#039;&#039;&#039;Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running &amp;quot;w32tm /resync&amp;quot; on the command line&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Click the Windows button and type &amp;quot;CMD&amp;quot; in the run bar.&lt;br /&gt;
&lt;br /&gt;
[[Image:windows_bar.png]]&lt;br /&gt;
&lt;br /&gt;
2.  &#039;&#039;Right-Click&#039;&#039; on the CMD button, and select &amp;quot;Run as Administrator&amp;quot; -  &#039;&#039;&#039;THIS IS VERY IMPORTANT!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
3.   Select &amp;quot;Yes&amp;quot; when it asks if you want to allow the following program to make changes. &lt;br /&gt;
&lt;br /&gt;
[[Image:Uac.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.  From the commmand prompt, run these commands in order: &lt;br /&gt;
&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -skms kms.umd.edu:1688&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH&lt;br /&gt;
 cscript c:\windows\system32\slmgr.vbs -ato&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After these commands have run, the Key Management Server should have activated your windows 7 computer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you are unable to activate, please see the message at the top of this page and contact UMIACS staff with information about your problem.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=5591</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=5591"/>
		<updated>2014-03-14T15:40:04Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Announcements==&lt;br /&gt;
&amp;lt;startFeed /&amp;gt;&lt;br /&gt;
===Help Desk Closed 3/17 &amp;amp; 3/18===&lt;br /&gt;
The Help Desk will be closed Monday 3/17 and Tuesday 3/18 along with the rest of the University for Spring Break. We will reopen Wednesday 3/19 at 9:00am&lt;br /&gt;
=== APC Surge Protector Recall ===&lt;br /&gt;
APC recently issued a recall of surge protectors manufactured before the year 2003 due to potential fire hazards when overheating as a result of abnormal electrical conditions. We will handle the recall process for any affected devices you may have. Please see [[APC | this page]] for more details.&lt;br /&gt;
&lt;br /&gt;
===Mavericks and Backups===&lt;br /&gt;
The most recent version of OSX, Mavericks, is incompatible with our deployed version of Druva.  Druva is our backup software and we have upgraded it to support Mavericks.  However, you will need to upgrade your Druva client.  You can get the latest version of the client [[Druva/setup#Getting_the_client | here]].  Alternatively you can bring your laptop to the helpdesk and we will upgrade it for you.&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;endFeed /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical Reference==&lt;br /&gt;
&lt;br /&gt;
Welcome to UMIACS Wiki.  This is the main place to find documentation and information about your account and  the technical services that UMIACS offers.  If this is your first time please start here [[GettingStarted| Getting Started]].&lt;br /&gt;
&lt;br /&gt;
We provide many  [[CoreServices|Core Services]] which include [[EMail]], [[Backups]] and [[VPN]].&lt;br /&gt;
&lt;br /&gt;
We have lots of specific [[LabFacilities|Lab Facilities]] that you may be interested in.&lt;br /&gt;
&lt;br /&gt;
Please check here if you are interested in [[OrderingEquipment|Ordering Equipment]].&lt;br /&gt;
&lt;br /&gt;
If you would like to open a support ticket, please contact the UMIACS [[HelpDesk]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=5590</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=5590"/>
		<updated>2014-03-14T15:39:17Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* Announcements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Announcements==&lt;br /&gt;
&amp;lt;startFeed /&amp;gt;&lt;br /&gt;
===Help Desk Closed===&lt;br /&gt;
The Help Desk will be closed Monday 3/17 and Tuesday 3/18 along with the rest of the University for Spring Break. We will reopen Wednesday 3/19 at 9:00am&lt;br /&gt;
=== APC Surge Protector Recall ===&lt;br /&gt;
APC recently issued a recall of surge protectors manufactured before the year 2003 due to potential fire hazards when overheating as a result of abnormal electrical conditions. We will handle the recall process for any affected devices you may have. Please see [[APC | this page]] for more details.&lt;br /&gt;
&lt;br /&gt;
===Mavericks and Backups===&lt;br /&gt;
The most recent version of OSX, Mavericks, is incompatible with our deployed version of Druva.  Druva is our backup software and we have upgraded it to support Mavericks.  However, you will need to upgrade your Druva client.  You can get the latest version of the client [[Druva/setup#Getting_the_client | here]].  Alternatively you can bring your laptop to the helpdesk and we will upgrade it for you.&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;endFeed /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical Reference==&lt;br /&gt;
&lt;br /&gt;
Welcome to UMIACS Wiki.  This is the main place to find documentation and information about your account and  the technical services that UMIACS offers.  If this is your first time please start here [[GettingStarted| Getting Started]].&lt;br /&gt;
&lt;br /&gt;
We provide many  [[CoreServices|Core Services]] which include [[EMail]], [[Backups]] and [[VPN]].&lt;br /&gt;
&lt;br /&gt;
We have lots of specific [[LabFacilities|Lab Facilities]] that you may be interested in.&lt;br /&gt;
&lt;br /&gt;
Please check here if you are interested in [[OrderingEquipment|Ordering Equipment]].&lt;br /&gt;
&lt;br /&gt;
If you would like to open a support ticket, please contact the UMIACS [[HelpDesk]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=ApplicationResource&amp;diff=4985</id>
		<title>ApplicationResource</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=ApplicationResource&amp;diff=4985"/>
		<updated>2013-02-25T15:48:16Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Application Resouces are used to control access to a variety of applications and specifically not for authenticating to a shell or GUI session on a UMIACS computer.&lt;br /&gt;
&lt;br /&gt;
This allows users of these [[ApplicationResource]]s to mix both UMIACS users and off-site users that do not necessarly have a UMIACS account.&lt;br /&gt;
&lt;br /&gt;
The services that utilize this for now are,&lt;br /&gt;
&lt;br /&gt;
* [[Subversion]]&lt;br /&gt;
* Wiki&#039;s&lt;br /&gt;
* Apache servers maintained by staff that require authentication and authorization&lt;br /&gt;
&lt;br /&gt;
To allow our users to manage these [[ApplicationResource]]s better we have created the [[ApplicationResourceUtil]] located here https://intranet.umiacs.umd.edu/directory/ar that can manage your [[ApplicationResource]]s.&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SecureShell&amp;diff=4538</id>
		<title>SecureShell</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SecureShell&amp;diff=4538"/>
		<updated>2012-10-04T15:46:22Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* SSH Keys (and Passwordless SSH) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Secure Shell (or [http://en.wikipedia.org/wiki/Secure_Shell SSH]) is a network protocol allowing two computers to exchange data securely over an insecure network.  By default, use of SSH brings the user to a terminal, but the protocol can be used for other types of data transfer such as [[SFTP]] and [[SCP]].&lt;br /&gt;
&lt;br /&gt;
==Connecting to an SSH Server==&lt;br /&gt;
Under Linux and Mac OS X, the following command from a terminal will connect a client computer to the UMIACS [[OpenLAB]].&lt;br /&gt;
 # ssh bkirz@openlab.umiacs.umd.edu&lt;br /&gt;
This will give you access to a terminal on any one of the [[OpenLAB]] servers.  Note that by default you will not have access to applications that require X11 to run.&lt;br /&gt;
&lt;br /&gt;
All UMIACS Windows hosts are installed with SSH Secure Shell Client. Alternatively, users can install these software on their personal machines:&lt;br /&gt;
&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY]&lt;br /&gt;
* [http://ttssh2.sourceforge.jp/ ttssh2]&lt;br /&gt;
&lt;br /&gt;
Alternatively, all users can use the UMIACS Intranet SFTP Web Applet located [https://intranet.umiacs.umd.edu/ssh/ here] without installing any additional software.&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
By default, SSH only gives the user shell access to a host.  Enabling X11 Forwarding allows users to run applications with Graphical User Interfaces.&lt;br /&gt;
&lt;br /&gt;
Under Linux and Mac OS X, the following command from a terminal will connect a client computer to the UMIACS [[OpenLAB]] using X11 Forwarding.&lt;br /&gt;
 # ssh &#039;&#039;&#039;-Y&#039;&#039;&#039; bkirz@openlab.umiacs.umd.edu&lt;br /&gt;
&lt;br /&gt;
If you do not have Cygwin, you will need to forward X through &lt;br /&gt;
[http://sourceforge.net/projects/vcxsrv/ VcXsrv] or&lt;br /&gt;
[http://www.straightrunning.com/XmingNotes/ Xming].&lt;br /&gt;
First, enable X forwarding on your secure ssh client. The option is under tunneling in the ssh client settings, shown below. This only has to be done once.&lt;br /&gt;
&lt;br /&gt;
[[Image:sshXForward.jpg]]&lt;br /&gt;
&lt;br /&gt;
Next, click save in the main ssh appication window to save this setting.&lt;br /&gt;
&lt;br /&gt;
After this has been done, every time you want to use X forwarding, you need to make sure VcXsrv or Xming has been started (it will appear in your task tray) through the start menu programs.&lt;br /&gt;
Now, you will be able to use Xwindow programs from your ssh client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the UMIACS Intranet SFTP Web Applet does &#039;&#039;not&#039;&#039; allow X11 Forwarding.&lt;br /&gt;
&lt;br /&gt;
==SSH Tunneling==&lt;br /&gt;
&lt;br /&gt;
You can tunnel one or more ports through an SSH connection such that your packets will look like they are coming from the host you are tunneling to.   This is helpful for services that you would be normally blocked by a firewall.&lt;br /&gt;
&lt;br /&gt;
Please see the [[SecureShellTunneling]] page for more information.&lt;br /&gt;
&lt;br /&gt;
==SSH Keys (and Passwordless SSH)==&lt;br /&gt;
&lt;br /&gt;
There are some situations where it is important to be able to ssh without entering a password.  This is mostly required when working in clusters.  This is done using ssh keys.  Instead of authenticating with a password, ssh can use a pre-defined set of encryption keys to establish an authorized connection. &lt;br /&gt;
To setup passwordless ssh, do the following.&lt;br /&gt;
&lt;br /&gt;
First, you will need to create a ssh [http://en.wikipedia.org/wiki/Key_pair key pair].  It is possible to use a password that you will need to enter at the beginning of your work session.  This is preferable as it is more secure but may cause problems for some clustered work, particularly our TORQUE/MAUI clusters.  If you simply hit &#039;&#039;&#039;[enter]&#039;&#039;&#039;, you will never be prompted for a password when ssh&#039;ing which can lead to security problems.&lt;br /&gt;
&lt;br /&gt;
# To create a &#039;&#039;&#039;&#039;&#039;passwordless&#039;&#039;&#039;&#039;&#039; key, type the following.  &#039;&#039;&#039;NOTE: This is &#039;&#039;REQUIRED&#039;&#039; for our [[ClusterGuide|TORQUE/MAUI]]-based clusters!&#039;&#039;&#039; &amp;lt;pre&amp;gt;  # ssh-keygen -N &amp;quot;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: Alternatively, to create a &#039;&#039;&#039;&#039;&#039;passphrase-protected&#039;&#039;&#039;&#039;&#039; (more-secure) key, type the following.  Do not use this option if you plan to use any of our [[ClusterGuide|TORQUE/MAUI]]-based clusters.&amp;lt;pre&amp;gt;  # ssh-keygen&amp;lt;/pre&amp;gt;&lt;br /&gt;
#This will produce two files, &#039;&#039;&#039;id_rsa&#039;&#039;&#039; and &#039;&#039;&#039;id_rsa.pub&#039;&#039;&#039;, the private and public keys, respectively.  The default location will be ~/.ssh/. For the purposes of this tutorial we&#039;ll assume this default. Once you&#039;ve created the keys, you will need to put them into place as follows: &lt;br /&gt;
  # chmod 700 ~/.ssh &lt;br /&gt;
  # chmod 600 ~/.ssh/id_rsa &lt;br /&gt;
  # touch ~/.ssh/authorized_keys2&lt;br /&gt;
  # chmod 600 ~/.ssh/authorized_keys2&lt;br /&gt;
  # cat ~/.ssh/id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&lt;br /&gt;
  # rm ~/.ssh/id_rsa.pub &lt;br /&gt;
&lt;br /&gt;
*It is &#039;&#039;&#039;very&#039;&#039;&#039; important that you keep your private key secure!  Ensure that it is chmod&#039;d to 600 and that you do not put it anywhere visible to other users!&lt;br /&gt;
*You must also make sure that no other users may write to your .ssh directory. This includes making sure that your home directory is not writable by group. Your home directory should be chmod&#039;d to 750 or 700 to make sure of this. If the group write bit is set, your ssh keys &#039;&#039;&#039;WILL NOT WORK&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you did not select a passphrase when you generated your keys, you can now ssh without a password.  If you did select a passphrase, you will need to activate the keys as follows:&lt;br /&gt;
&lt;br /&gt;
  # ssh-agent [SHELL]&lt;br /&gt;
  # ssh-add -t [TIME]&lt;br /&gt;
&lt;br /&gt;
In this case, &amp;quot;[SHELL]&amp;quot; is your preferred shell and &amp;quot;[TIME]&amp;quot; is the amount of time you&#039;d like the key to be active in seconds.  So, the following would start a bash shell with passwordless ssh active for 30 minutes:&lt;br /&gt;
&lt;br /&gt;
  # ssh-agent bash&lt;br /&gt;
  # ssh-add -t 1800&lt;br /&gt;
&lt;br /&gt;
You will be prompted for your passphrase and, when entered correctly, you will be able to ssh without entering a password.&lt;br /&gt;
&lt;br /&gt;
To disable this functionality, simply delete your private key file (&#039;&#039;&#039;~/.ssh/id_rsa&#039;&#039;&#039;) and remove the public key from your &#039;&#039;&#039;~/.ssh/authorized_keys2&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
[http://www.openssh.org/ OpenSSH]&lt;br /&gt;
&lt;br /&gt;
[http://www.openssh.com/windows.html Windows Clients]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=CUDA&amp;diff=4482</id>
		<title>CUDA</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=CUDA&amp;diff=4482"/>
		<updated>2012-09-11T17:36:27Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* RHEL6 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://en.wikipedia.org/wiki/CUDA CUDA] is a programming architecture developed by NVIDIA to allow General Purpose Computing on GPUs or &#039;&#039;&#039;&amp;quot;GPGPU&amp;quot;&#039;&#039;&#039;.  It requires a specific card and driver to work correctly,  UMIACS has a number of facilities and labs that have Cuda hardware available.&lt;br /&gt;
&lt;br /&gt;
==CUDA Software on Linux==&lt;br /&gt;
&lt;br /&gt;
===RHEL5===&lt;br /&gt;
The RHEL5 CUDA infrastructure comes in two parts.&lt;br /&gt;
&lt;br /&gt;
First is the driver which installs libraries in /usr/lib.&lt;br /&gt;
&lt;br /&gt;
Second is the CUDA toolkit.  The currently supported CUDA toolkit is stored under /usr/local.  Please change the &amp;quot;common.mk&amp;quot; settings in your CUDA SDK to set the CUDA root directory to &amp;quot;/usr/local&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You will also need to put the CUDA libraries in your LD_LIBRARY_PATH.  &lt;br /&gt;
*If you are using a 64-bit machine this will be /usr/local/lib64.&lt;br /&gt;
*If you are using a 32-bit machine this will be /usr/local/lib.&lt;br /&gt;
&lt;br /&gt;
Older versions of the CUDA toolkit are stored in /usr/local/stow/cudatoolkit_X.Y where X.Y is the version number.  So, CUDA 2.2 is stored in /usr/local/stow/cudatoolkit2.2&lt;br /&gt;
&lt;br /&gt;
===RHEL6===&lt;br /&gt;
The first component you will need if you are not using a resource that you know is running CUDA is to check to see if you have the Nvidia driver running.  You can run &#039;&#039;&#039;cat /proc/driver/nvidia/version&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If something like the following example does not show you will need to contact staff to see if your hardware is capable and if so we will need to add the driver to the machine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /proc/driver/nvidia/version &lt;br /&gt;
NVRM version: NVIDIA UNIX x86_64 Kernel Module  304.43  Sun Aug 19 20:14:03 PDT 2012&lt;br /&gt;
GCC version:  gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The other component is the toolkit and in RHEL6 we have relocated non-locally compiled software into /opt/common.  This includes the CUDA toolkit.  You can find all the versions available in &#039;&#039;&#039;/opt/common/cuda&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ls /opt/common/cuda&lt;br /&gt;
cudatoolkit-3.2.16  cudatoolkit-4.1.28  UMIACS-CUDA-SDK.diff&lt;br /&gt;
cudatoolkit-4.0.17  cudatoolkit-4.2.9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will use version 4.2.9 for this example, you can substitute as needed.  You will need to setup a number of environmental variables to get started.&lt;br /&gt;
&lt;br /&gt;
* bash/sh&lt;br /&gt;
** export PATH=/opt/common/cuda/cudatoolkit-4.2.9/bin:${PATH}&lt;br /&gt;
** export LD_LIBRARY_PATH=/opt/common/cuda/cudatoolkit-4.1.28/lib64:/opt/common/cuda/cudatoolkit-4.2.9/lib:${LD_LIBRARY_PATH}&lt;br /&gt;
* tcsh/csh&lt;br /&gt;
** setenv PATH /opt/common/cuda/cudatoolkit-4.2.9/bin:${PATH}&lt;br /&gt;
** setenv LD_LIBRARY_PATH /opt/common/cuda/cudatoolkit-4.2.9/lib64:/opt/common/cuda/cudatoolkit-4.2.9/lib:${LD_LIBRARY_PATH}&lt;br /&gt;
&lt;br /&gt;
To get started you might want to build and test with the GPU Computing SDK.  You can do this by running &#039;&#039;&#039;/opt/common/cuda/cudatoolkit-4.2.9/gpucomputingsdk_4.2.9_linux.run&#039;&#039;&#039;.  It will prompt you to where you want to install the SDK.&lt;br /&gt;
&lt;br /&gt;
Once it is installed please apply this patch from within the top level of the directory you installed the SDK into if there is one for the version you are trying to use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
patch -p1 &amp;lt; /opt/common/cuda/cudatoolkit-4.2.9/UMIACS-CUDA-SDK-RHEL6-4.2.9.diff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now be able to run &#039;&#039;&#039;make&#039;&#039;&#039; and compile all the examples.&lt;br /&gt;
&lt;br /&gt;
Please note that if you are compiling outside of the Cuda SDK, you may need to add &amp;lt;b&amp;gt;/usr/lib64/nvidia/&amp;lt;/b&amp;gt; to your makefile compilation variables or to your LD_FLAGS environment variables.&lt;br /&gt;
&lt;br /&gt;
===Ubuntu 12.04===&lt;br /&gt;
First you will need to ensure you have the updated x-updates repository added to your workstation.  Please contact staff@umiacs.umd.edu and we will help get this in place for your workstation.&lt;br /&gt;
&lt;br /&gt;
The other component is the toolkit and in Ubuntu non-locally compiled software is available in /opt/common.  This includes the CUDA toolkit.  You can find all the versions available in &#039;&#039;&#039;/opt/common/cuda&#039;&#039;&#039;.  &lt;br /&gt;
&lt;br /&gt;
Ubuntu and Cuda are tested in 4.2.9 and higher.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ls /opt/common/cuda&lt;br /&gt;
cudatoolkit-3.2.16  cudatoolkit-4.0.17  cudatoolkit-4.1.28 cudatoolkit-4.2.9&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* bash/sh&lt;br /&gt;
** export PATH=/opt/common/cuda/cudatoolkit-4.2.9/bin:${PATH}&lt;br /&gt;
** export LD_LIBRARY_PATH=/opt/common/cuda/cudatoolkit-4.2.9/lib64:/opt/common/cuda/cudatoolkit-4.2.9/lib:${LD_LIBRARY_PATH}&lt;br /&gt;
* tcsh/csh&lt;br /&gt;
** setenv PATH /opt/common/cuda/cudatoolkit-4.2.9/bin:${PATH}&lt;br /&gt;
** setenv LD_LIBRARY_PATH /opt/common/cuda/cudatoolkit-4.2.9/lib64:/opt/common/cuda/cudatoolkit-4.2.9/lib:${LD_LIBRARY_PATH}&lt;br /&gt;
&lt;br /&gt;
To get started you might want to build and test with the GPU Computing SDK.  You can do this by running &#039;&#039;&#039;/opt/common/cuda/cudatoolkit-4.2.9/gpucomputingsdk_4.2.9_linux.run&#039;&#039;&#039;.  It will prompt you to where you want to install the SDK.&lt;br /&gt;
&lt;br /&gt;
Once it is installed please apply this patch from the directory you installed the SDK into.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
patch -p1 &amp;lt; /opt/common/cuda/cudatoolkit-4.2.9/UMIACS-CUDA-SDK-Ubuntu-12.04.diff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now be able to run &#039;&#039;&#039;make&#039;&#039;&#039; and compile all the examples.&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=CBCB&amp;diff=4416</id>
		<title>CBCB</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=CBCB&amp;diff=4416"/>
		<updated>2012-08-08T19:45:50Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CBCB, or the UMD &#039;&#039;&#039;Center for Bioinformatics and Computational Biology&#039;&#039;&#039;, is a multidisciplinary center dedicated to research on questions arising from the genome revolution. &lt;br /&gt;
&lt;br /&gt;
For CBCB related documentation, please see the [https://wiki.umiacs.umd.edu/cbcb-private CBCB Private Wiki]. You will need to be on the UMIACS network to access this wiki.&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=LabFacilities&amp;diff=4415</id>
		<title>LabFacilities</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=LabFacilities&amp;diff=4415"/>
		<updated>2012-08-08T19:42:23Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[OpenLAB]]&lt;br /&gt;
* [https://wiki.umiacs.umd.edu/cbcb-private/index.php/Compute Center for Bioinformatics and Computational Biology] (CBCB) http://www.cbcb.umd.edu&lt;br /&gt;
* Center for Digital International Government (CDIG) http://www.umiacs.umd.edu/research/CDIG&lt;br /&gt;
* Center for Automation Research (CFAR) http://www.cfar.umd.edu&lt;br /&gt;
* Center for Human Enhanced Secure Systems (CHESS) http://chess.umiacs.umd.edu/&lt;br /&gt;
* Computational Linguistics and Information Processing (CLIP) https://wiki.umiacs.umd.edu/clip/index.php/Main_Page&lt;br /&gt;
* Computer Vision Laboratory (CVL) http://www.cfar.umd.edu/cvl/&lt;br /&gt;
* Distributed Systems Software Laboratory (DSSL) http://www.cs.umd.edu/projects/dssl&lt;br /&gt;
* Fraunhofer Center at Maryland (FCMD) http://fc-md.umd.edu/&lt;br /&gt;
* Global Land Cover Facility (GLCF) http://www.glcf.umiacs.umd.edu&lt;br /&gt;
* Graphics and Visual Informatics Laboratory (GVIL) http://www.cs.umd.edu/gvil/&lt;br /&gt;
* Human Computer Interaction Laboratory (HCIL) http://www.cs.umd.edu/hcil&lt;br /&gt;
* Language and Media Processing Laboratory (LAMP) http://lamp.cfar.umd.edu&lt;br /&gt;
* Laboratory for Computational Cultural Dynamics (LCCD) http://www.umiacs.umd.edu/research/LCCD/&lt;br /&gt;
* Laboratory for Parallel and Distributed Computing (LPDC) http://www.umiacs.umd.edu/research/LPDC&lt;br /&gt;
* Maryland Information and Network Dynamics Lab (MIND) http://mindlab.umd.edu/&lt;br /&gt;
* [https://wiki.umiacs.umd.edu/maxwell/index.php/Main_Page MaxWell - WiMaX Forum Applications Laboratory] (MaxWell) http://www.umiacs.umd.edu/research/maxwell/&lt;br /&gt;
* Perceptual Interfaces and Reality Laboratory (PIRL) http://pirl.umd.edu/&lt;br /&gt;
* [[OpenGPU]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=4355</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Main_Page&amp;diff=4355"/>
		<updated>2012-06-16T03:00:54Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===EMET Deployed on all Windows hosts===&lt;br /&gt;
We have recently deployed Microsoft&#039;s [[Enhanced Mitigation Experience Toolkit]] to all of our supported Windows hosts to help prevent successful exploitation of vulnerabilities in both Microsoft and third party softwares. You should notice a new taskbar icon in the bottom right corner of your screen with a picture of a lock to indicate that EMET is actively working to keep your computer secure.&lt;br /&gt;
&lt;br /&gt;
===Matlab R2012A now available===&lt;br /&gt;
Matlab R2012A (release 7.14) is now available. Please see [[Matlab]] for information on availability.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;endFeed /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Technical Reference==&lt;br /&gt;
&lt;br /&gt;
Welcome to UMIACS Wiki.  This is the main place to find documentation and information about your account and  the technical services that UMIACS offers.  If this is your first time please start here [[GettingStarted| Getting Started]].&lt;br /&gt;
&lt;br /&gt;
We provide many  [[CoreServices|Core Services]] which include [[EMail]], [[Backups]] and [[VPN]].&lt;br /&gt;
&lt;br /&gt;
We have lots of specific [[LabFacilities|Lab Facilities]] that you may be interested in.&lt;br /&gt;
&lt;br /&gt;
Please check here if you are interested in [[OrderingEquipment|Ordering Equipment]].&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=SecureShell&amp;diff=4297</id>
		<title>SecureShell</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=SecureShell&amp;diff=4297"/>
		<updated>2012-05-29T12:42:17Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Secure Shell (or [http://en.wikipedia.org/wiki/Secure_Shell SSH]) is a network protocol allowing two computers to exchange data securely over an insecure network.  By default, use of SSH brings the user to a terminal, but the protocol can be used for other types of data transfer such as [[SFTP]] and [[SCP]].&lt;br /&gt;
&lt;br /&gt;
==Connecting to an SSH Server==&lt;br /&gt;
Under Linux and Mac OS X, the following command from a terminal will connect a client computer to the UMIACS [[OpenLAB]].&lt;br /&gt;
 # ssh bkirz@openlab.umiacs.umd.edu&lt;br /&gt;
This will give you access to a terminal on any one of the [[OpenLAB]] servers.  Note that by default you will not have access to applications that require X11 to run.&lt;br /&gt;
&lt;br /&gt;
All UMIACS Windows hosts are installed with SSH Secure Shell Client. Alternatively, users can install these software on their personal machines:&lt;br /&gt;
&lt;br /&gt;
* [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY]&lt;br /&gt;
* [http://ttssh2.sourceforge.jp/ ttssh2]&lt;br /&gt;
&lt;br /&gt;
Alternatively, all users can use the UMIACS Intranet SFTP Web Applet located [https://intranet.umiacs.umd.edu/ssh/ here] without installing any additional software.&lt;br /&gt;
&lt;br /&gt;
==X11 Forwarding==&lt;br /&gt;
By default, SSH only gives the user shell access to a host.  Enabling X11 Forwarding allows users to run applications with Graphical User Interfaces.&lt;br /&gt;
&lt;br /&gt;
Under Linux and Mac OS X, the following command from a terminal will connect a client computer to the UMIACS [[OpenLAB]] using X11 Forwarding.&lt;br /&gt;
 # ssh &#039;&#039;&#039;-Y&#039;&#039;&#039; bkirz@openlab.umiacs.umd.edu&lt;br /&gt;
&lt;br /&gt;
If you do not have Cygwin, you will need to forward X through &lt;br /&gt;
[http://sourceforge.net/projects/vcxsrv/ VcXsrv] or&lt;br /&gt;
[http://www.straightrunning.com/XmingNotes/ Xming].&lt;br /&gt;
First, enable X forwarding on your secure ssh client. The option is under tunneling in the ssh client settings, shown below. This only has to be done once.&lt;br /&gt;
&lt;br /&gt;
[[Image:sshXForward.jpg]]&lt;br /&gt;
&lt;br /&gt;
Next, click save in the main ssh appication window to save this setting.&lt;br /&gt;
&lt;br /&gt;
After this has been done, every time you want to use X forwarding, you need to make sure VcXsrv or Xming has been started (it will appear in your task tray) through the start menu programs.&lt;br /&gt;
Now, you will be able to use Xwindow programs from your ssh client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the UMIACS Intranet SFTP Web Applet does &#039;&#039;not&#039;&#039; allow X11 Forwarding.&lt;br /&gt;
&lt;br /&gt;
==SSH Tunneling==&lt;br /&gt;
&lt;br /&gt;
You can tunnel one or more ports through an SSH connection such that your packets will look like they are coming from the host you are tunneling to.   This is helpful for services that you would be normally blocked by a firewall.&lt;br /&gt;
&lt;br /&gt;
Please see the [[SecureShellTunneling]] page for more information.&lt;br /&gt;
&lt;br /&gt;
==SSH Keys (and Passwordless SSH)==&lt;br /&gt;
&lt;br /&gt;
There are some situations where it is important to be able to ssh without entering a password.  This is mostly required when working in clusters.  This is done using ssh keys.  Instead of authenticating with a password, ssh can use a pre-defined set of encryption keys to establish an authorized connection. &lt;br /&gt;
To setup passwordless ssh, do the following.&lt;br /&gt;
&lt;br /&gt;
First, you will need to create a ssh [http://en.wikipedia.org/wiki/Key_pair key pair].  It is possible to use a password that you will need to enter at the beginning of your work session.  This is preferable as it is more secure but may cause problems for some clustered work, particularly our TORQUE/MAUI clusters.  If you simply hit &#039;&#039;&#039;[enter]&#039;&#039;&#039;, you will never be prompted for a password when ssh&#039;ing which can lead to security problems.&lt;br /&gt;
&lt;br /&gt;
# To create a &#039;&#039;&#039;&#039;&#039;passwordless&#039;&#039;&#039;&#039;&#039; key, type the following.  &#039;&#039;&#039;NOTE: This is &#039;&#039;REQUIRED&#039;&#039; for our [[ClusterGuide|TORQUE/MAUI]]-based clusters!&#039;&#039;&#039; &amp;lt;pre&amp;gt;  # ssh-keygen -N &amp;quot;&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: Alternatively, to create a &#039;&#039;&#039;&#039;&#039;passphrase-protected&#039;&#039;&#039;&#039;&#039; (more-secure) key, type the following.  Do not use this option if you plan to use any of our [[ClusterGuide|TORQUE/MAUI]]-based clusters.&amp;lt;pre&amp;gt;  # ssh-keygen&amp;lt;/pre&amp;gt;&lt;br /&gt;
#This will produce two files, &#039;&#039;&#039;id_rsa&#039;&#039;&#039; and &#039;&#039;&#039;id_rsa.pub&#039;&#039;&#039;, the private and public keys respectively.  The default location will be ~/.ssh/. For the purposes of this tutorial we&#039;ll assume this default. Once you&#039;ve created the keys, you will need to put them into place as follows: &lt;br /&gt;
  # chmod 700 ~/.ssh &lt;br /&gt;
  # chmod 600 ~/.ssh/id_rsa &lt;br /&gt;
  # touch ~/.ssh/authorized_keys2&lt;br /&gt;
  # chmod 600 ~/.ssh/authorized_keys2&lt;br /&gt;
  # cat ~/.ssh/id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys2&lt;br /&gt;
  # rm ~/.ssh/id_rsa.pub &lt;br /&gt;
&lt;br /&gt;
*It is &#039;&#039;&#039;very&#039;&#039;&#039; important that you keep your private key secure!  Ensure that it is chmod&#039;d to 600 and that you do not put it anywhere visible to other users!&lt;br /&gt;
&lt;br /&gt;
If you did not select a passphrase when you generated your keys, you can now ssh without a password.  If you did select a passphrase, you will need to activate the keys as follows:&lt;br /&gt;
&lt;br /&gt;
  # ssh-agent [SHELL]&lt;br /&gt;
  # ssh-add -t [TIME]&lt;br /&gt;
&lt;br /&gt;
In this case, &amp;quot;[SHELL]&amp;quot; is your preferred shell and &amp;quot;[TIME]&amp;quot; is the amount of time you&#039;d like the key to be active in seconds.  So, the following would start a bash shell with passwordless ssh active for 30 minutes:&lt;br /&gt;
&lt;br /&gt;
  # ssh-agent bash&lt;br /&gt;
  # ssh-add -t 1800&lt;br /&gt;
&lt;br /&gt;
You will be prompted for your passphrase and, when entered correctly, you will be able to ssh without entering a password.&lt;br /&gt;
&lt;br /&gt;
To disable this functionality, simply delete your private key file (&#039;&#039;&#039;~/.ssh/id_rsa&#039;&#039;&#039;) and remove the public key from your &#039;&#039;&#039;~/.ssh/authorized_keys2&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
[http://www.openssh.org/ OpenSSH]&lt;br /&gt;
&lt;br /&gt;
[http://www.openssh.com/windows.html Windows Clients]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4240</id>
		<title>MacOSPrinting</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4240"/>
		<updated>2012-05-18T19:42:52Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* Exceptional Printers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
We support printing from user managed Mac OS X 10.5/10.6 machines.  Please note that you have to be on a UMIACS network directly or connected to the [[VPN]].&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print00.png|right|100px]]&lt;br /&gt;
=System Preferences=&lt;br /&gt;
To start you need to open your System Preferences from your Dock or the Applications folder.  Once you have opened it you will need to click &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; from the Hardware panel ( Called &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039; in 10.7 (Lion) ).&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print01.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
=Print &amp;amp; Fax=&lt;br /&gt;
When the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) window appears you will need to create a new local printer by clicking the &#039;&#039;&#039;+&#039;&#039;&#039; icon in the lower left corner of the first pane in the window.&lt;br /&gt;
&lt;br /&gt;
=Add Printer=&lt;br /&gt;
This will bring up a Add Printer dialog.  Please ensure that the that you have selected IP.&lt;br /&gt;
&lt;br /&gt;
* Set Protocol to &#039;&#039;&#039;Internet Printing Protocol - IPP&#039;&#039;&#039;&lt;br /&gt;
* Set Address to &#039;&#039;&#039;print.umiacs.umd.edu&#039;&#039;&#039;&lt;br /&gt;
* Set the queue to =printers/queue= in this example for cps3142 it would be &#039;&#039;&#039;printers/cps3142&#039;&#039;&#039;.  You have to make sure the queue is prefixed by &#039;&#039;&#039;printers/&#039;&#039;&#039;&lt;br /&gt;
* Set Name to the queue you are trying to use&lt;br /&gt;
* It will always select &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039;.  If you need to access the more advanced features of a queue/printer you will need take extra steps, please see the Advanced section at the bottom of this page.&lt;br /&gt;
* Select Add&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print02.png]]&lt;br /&gt;
&lt;br /&gt;
You should now be able to print to this printer/queue from any Mac OS X print menu.&lt;br /&gt;
&lt;br /&gt;
=Exceptional Printers=&lt;br /&gt;
For the following printers you will need to add a different driver because they don&#039;t work well with the generic one causing any print job to get stuck in the &amp;quot;Printing&amp;quot; status on on your Mac and with a state of &amp;quot;Stopped&amp;quot; in the CUPS web interface here: http://print.umiacs.umd.edu/jobs. In order to fix this you do not need to download an additional driver, it is already present in Mac OS X. &lt;br /&gt;
&lt;br /&gt;
Printers: &#039;&#039;&#039;ps4430b&#039;&#039;&#039;, &#039;&#039;&#039;ps3126&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* In the previous step, while adding the printer, instead of leaving the selected &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039; choose &#039;&#039;&#039;Select Printer Software...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic3.png]]&lt;br /&gt;
&lt;br /&gt;
* Look for &#039;&#039;&#039;HP LaserJet p4010&#039;&#039;&#039; and select the series.&lt;br /&gt;
**If this driver is unavailable, look for &#039;&#039;&#039;HP LaserJet Series PCL 4/5&#039;&#039;&#039; instead&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic4.png]]&lt;br /&gt;
&lt;br /&gt;
* After selecting and clicking OK you will receive the following window, where you will be able to choose options for the printer. Enable duplex, and change Collation in Printer to more than 288 MB&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic5.png]]&lt;br /&gt;
&lt;br /&gt;
* After you click on Continue the dialogue box should close and you should see the printer added to your list of installed printers. The printer is now ready for use.&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
You will need to first download a copy of the Postcript Printer Definition file from the print server.  This can be fetched with any normal browser by going to&lt;br /&gt;
 &lt;br /&gt;
  http://print.umiacs.umd.edu/printers/queue.ppd&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;&#039;queue&#039;&#039;&#039; is the queue/printer you want to get extra features from.  For example here is a few links to our major public printers.&lt;br /&gt;
&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/ps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps4430a.ppd - AV Williams Building room 4430&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps296-3120Hb.ppd - Biomolecular Sciences Building room 3120H&lt;br /&gt;
&lt;br /&gt;
Please save this file to your hard disk as you will need use the file chooser to select it in the next step.  If you don&#039;t see the queue you want please just reconstruct the URL above and substitute in your queue name.&lt;br /&gt;
&lt;br /&gt;
Next go back to the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) dialog and click the &#039;&#039;&#039;Options &amp;amp; Supplies...&#039;&#039;&#039; button for the queue you want to modify.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print03.png]]&lt;br /&gt;
&lt;br /&gt;
You will need to navigate to the Driver tab and select the option &#039;&#039;&#039;Other...&#039;&#039;&#039; from the Print Using option.  This will bring up a file chooser that you will need to select the file you downloaded from.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-printingadv00.png]]&lt;br /&gt;
&lt;br /&gt;
This will fill in all the default options and you can then click Okay.  If you have questions or need help please contact [mailto:staff@umiacs.umd.edu staff@umiacs.umd.edu].&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4224</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4224"/>
		<updated>2012-05-02T20:30:37Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* How to Activate Office */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office you need to connect to the UMD campus network. You can do this either by physically connecting your machine to the network while on campus, or by using the [[Windows7VPN|UMIACS VPN]].&lt;br /&gt;
&lt;br /&gt;
Once you are on the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run the following command to determine the architecture of your machine. This will help you determine which commands you need to run as you continue:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;wmic os get osarchitecture&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Windows_Get_Architecture.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4223</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4223"/>
		<updated>2012-05-02T20:24:03Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* How to Activate Office */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office you need to connect to the UMD campus network. You can do this either by physically connecting your machine to the network while on campus, or by using the [[Windows7VPN|UMIACS VPN]].&lt;br /&gt;
&lt;br /&gt;
Once you are on the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run the following command to determine the architecture of your machine:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;wmic os get osarchitecture&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Windows_Get_Architecture.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4222</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4222"/>
		<updated>2012-05-02T20:17:38Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: /* How to Activate Office */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office you need to connect to the UMD campus network. You can do this either by physically connecting your machine to the campus network, or by using the [[Windows7VPN|UMIACS VPN]].&lt;br /&gt;
&lt;br /&gt;
Once you are on the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run the following command to determine the architecture of your machine:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;wmic os get osarchitecture&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Windows_Get_Architecture.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4221</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4221"/>
		<updated>2012-05-02T20:10:30Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run the following command to determine the architecture of your machine:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;wmic os get osarchitecture&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Windows_Get_Architecture.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:If 64-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:If 32-bit Architecture:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4220</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4220"/>
		<updated>2012-05-02T20:10:18Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server. This will help you determine which commands to run from here:&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4212</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4212"/>
		<updated>2012-04-30T20:24:20Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Pro are installed along side of the standard Office installation.&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4211</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4211"/>
		<updated>2012-04-30T20:23:23Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator by opening the start menu and navigating to &amp;quot;All Programs-&amp;gt;Accessories&amp;quot;, right clicking on Command Prompt and clicking &amp;quot;Run as administrator&amp;quot;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Plus are installed along side of the standard Office installation.&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4206</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4206"/>
		<updated>2012-04-30T20:14:13Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not ever need to do this for continued use of Microsoft Office. The only time this will be needed is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator&lt;br /&gt;
#:[[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Plus are installed along side of the standard Office installation.&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4205</id>
		<title>Microsoft Office Activation</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=Microsoft_Office_Activation&amp;diff=4205"/>
		<updated>2012-04-30T20:13:30Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is about how to manually force Microsoft Office 2010 to activate and obtain a license from the university KMS server.&lt;br /&gt;
&lt;br /&gt;
===When do I need to do this?===&lt;br /&gt;
Most users will not ever need to do this for continued use of Microsoft Office. The only time this will be needed is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.&lt;br /&gt;
&lt;br /&gt;
===How to Activate Office===&lt;br /&gt;
In order to activate office and obtain a new 180 day license, you will first need to connect to the campus network, if you have a laptop you can do physically connect it to the UMIACS proxy when you are on campus, or if you need to activate on a machine at home, you can connect to the [[Windows7VPN|UMIACS VPN]]. Once you are connected to the campus network follow these instructions:&lt;br /&gt;
&lt;br /&gt;
#Open the Command Prompt as Administrator &amp;lt;br&amp;gt; [[Image:Activate_Office_Screen_1.jpg]]&lt;br /&gt;
&lt;br /&gt;
#Run one of the following two commands to set the correct KMS server:&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms.umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /sethst:kms. umd.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_2.jpg]]&lt;br /&gt;
#Run one the following two commands to force an activation against the KMS server&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /act&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_3.jpg]]&lt;br /&gt;
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Viso and Project Plus are installed along side of the standard Office installation.&lt;br /&gt;
#:For 64-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:For 32-bit Windows:&lt;br /&gt;
#:&amp;lt;pre&amp;gt;cscript &amp;quot;C:\Program Files\Microsoft Office\Office14\OSPP.VBS&amp;quot; /dstatus&amp;lt;/pre&amp;gt;&lt;br /&gt;
#:[[Image:Activate_Office_Screen_4.jpg]]&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4159</id>
		<title>MacOSPrinting</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4159"/>
		<updated>2012-02-15T18:56:51Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
We support printing from user managed Mac OS X 10.5/10.6 machines.  Please note that you have to be on a UMIACS network directly or connected to the [[VPN]].&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print00.png|right|100px]]&lt;br /&gt;
=System Preferences=&lt;br /&gt;
To start you need to open your System Preferences from your Dock or the Applications folder.  Once you have opened it you will need to click &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; from the Hardware panel ( Called &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039; in 10.7 (Lion) ).&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print01.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
=Print &amp;amp; Fax=&lt;br /&gt;
When the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) window appears you will need to create a new local printer by clicking the &#039;&#039;&#039;+&#039;&#039;&#039; icon in the lower left corner of the first pane in the window.&lt;br /&gt;
&lt;br /&gt;
=Add Printer=&lt;br /&gt;
This will bring up a Add Printer dialog.  Please ensure that the that you have selected IP.&lt;br /&gt;
&lt;br /&gt;
* Set Protocol to &#039;&#039;&#039;Internet Printing Protocol - IPP&#039;&#039;&#039;&lt;br /&gt;
* Set Address to &#039;&#039;&#039;print.umiacs.umd.edu&#039;&#039;&#039;&lt;br /&gt;
* Set the queue to =printers/queue= in this example for cps3142 it would be &#039;&#039;&#039;printers/cps3142&#039;&#039;&#039;.  You have to make sure the queue is prefixed by &#039;&#039;&#039;printers/&#039;&#039;&#039;&lt;br /&gt;
* Set Name to the queue you are trying to use&lt;br /&gt;
* It will always select &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039;.  If you need to access the more advanced features of a queue/printer you will need take extra steps, please see the Advanced section at the bottom of this page.&lt;br /&gt;
* Select Add&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print02.png]]&lt;br /&gt;
&lt;br /&gt;
You should now be able to print to this printer/queue from any Mac OS X print menu.&lt;br /&gt;
&lt;br /&gt;
=Exceptional Printers=&lt;br /&gt;
For the following printers you will need to add a different driver because they don&#039;t work well with the generic one causing any print job to get stuck in the &amp;quot;Printing&amp;quot; status on on your Mac and with a state of &amp;quot;Stopped&amp;quot; in the CUPS web interface here: http://print.umiacs.umd.edu/jobs. In order to fix this you do not need to download an additional driver, it is already present in Mac OS X. &lt;br /&gt;
&lt;br /&gt;
Printers: &#039;&#039;&#039;ps4430b&#039;&#039;&#039;, &#039;&#039;&#039;ps3126&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* In the previous step, while adding the printer, instead of leaving the selected &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039; choose &#039;&#039;&#039;Select Printer Software...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic3.png]]&lt;br /&gt;
&lt;br /&gt;
* Look for &#039;&#039;&#039;HP LaserJet p4010&#039;&#039;&#039; and select the series.&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic4.png]]&lt;br /&gt;
&lt;br /&gt;
* After selecting and clicking OK you will receive the following window, where you will be able to choose options for the printer. Enable duplex, and change Collation in Printer to more than 288 MB&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic5.png]]&lt;br /&gt;
&lt;br /&gt;
* After you click on Continue the dialogue box should close and you should see the printer added to your list of installed printers. The printer is now ready for use.&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
You will need to first download a copy of the Postcript Printer Definition file from the print server.  This can be fetched with any normal browser by going to&lt;br /&gt;
 &lt;br /&gt;
  http://print.umiacs.umd.edu/printers/queue.ppd&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;&#039;queue&#039;&#039;&#039; is the queue/printer you want to get extra features from.  For example here is a few links to our major public printers.&lt;br /&gt;
&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/ps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps4430a.ppd - AV Williams Building room 4430&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps296-3120Hb.ppd - Biomolecular Sciences Building room 3120H&lt;br /&gt;
&lt;br /&gt;
Please save this file to your hard disk as you will need use the file chooser to select it in the next step.  If you don&#039;t see the queue you want please just reconstruct the URL above and substitute in your queue name.&lt;br /&gt;
&lt;br /&gt;
Next go back to the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) dialog and click the &#039;&#039;&#039;Options &amp;amp; Supplies...&#039;&#039;&#039; button for the queue you want to modify.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print03.png]]&lt;br /&gt;
&lt;br /&gt;
You will need to navigate to the Driver tab and select the option &#039;&#039;&#039;Other...&#039;&#039;&#039; from the Print Using option.  This will bring up a file chooser that you will need to select the file you downloaded from.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-printingadv00.png]]&lt;br /&gt;
&lt;br /&gt;
This will fill in all the default options and you can then click Okay.  If you have questions or need help please contact [mailto:staff@umiacs.umd.edu staff@umiacs.umd.edu].&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
	<entry>
		<id>https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4158</id>
		<title>MacOSPrinting</title>
		<link rel="alternate" type="text/html" href="https://wiki.umiacs.umd.edu/umiacs/index.php?title=MacOSPrinting&amp;diff=4158"/>
		<updated>2012-02-15T18:32:33Z</updated>

		<summary type="html">&lt;p&gt;Tgray26: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
We support printing from user managed Mac OS X 10.5/10.6 machines.  Please note that you have to be on a UMIACS network directly or connected to the [[VPN]].&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print00.png|right|100px]]&lt;br /&gt;
=System Preferences=&lt;br /&gt;
To start you need to open your System Preferences from your Dock or the Applications folder.  Once you have opened it you will need to click &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; from the Hardware panel ( Called &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039; in 10.7 (Lion) ).&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print01.png|right|100px]]&lt;br /&gt;
&lt;br /&gt;
=Print &amp;amp; Fax=&lt;br /&gt;
When the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) window appears you will need to create a new local printer by clicking the &#039;&#039;&#039;+&#039;&#039;&#039; icon in the lower left corner of the first pane in the window.&lt;br /&gt;
&lt;br /&gt;
=Add Printer=&lt;br /&gt;
This will bring up a Add Printer dialog.  Please ensure that the that you have selected IP.&lt;br /&gt;
&lt;br /&gt;
* Set Protocol to &#039;&#039;&#039;Internet Printing Protocol - IPP&#039;&#039;&#039;&lt;br /&gt;
* Set Address to &#039;&#039;&#039;print.umiacs.umd.edu&#039;&#039;&#039;&lt;br /&gt;
* Set the queue to =printers/queue= in this example for cps3142 it would be &#039;&#039;&#039;printers/cps3142&#039;&#039;&#039;.  You have to make sure the queue is prefixed by &#039;&#039;&#039;printers/&#039;&#039;&#039;&lt;br /&gt;
* Set Name to the queue you are trying to use&lt;br /&gt;
* It will always select &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039;.  If you need to access the more advanced features of a queue/printer you will need take extra steps, please see the Advanced section at the bottom of this page.&lt;br /&gt;
* Select Add&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print02.png]]&lt;br /&gt;
&lt;br /&gt;
You should now be able to print to this printer/queue from any Mac OS X print menu.&lt;br /&gt;
&lt;br /&gt;
=Exceptional Printers=&lt;br /&gt;
For the following printers you will need to add a different driver because they don&#039;t work well with the generic one and will throw you an error. You don&#039;t have to download the driver, it is already present in Mac OS. &lt;br /&gt;
&lt;br /&gt;
Printers: &#039;&#039;&#039;ps4430b&#039;&#039;&#039;, &#039;&#039;&#039;ps3126&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* In the previous step, while adding the printer, instead of leaving the selected &#039;&#039;&#039;Generic Postscript Printer&#039;&#039;&#039; choose &#039;&#039;&#039;Select Printer Software...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic3.png]]&lt;br /&gt;
&lt;br /&gt;
* Look for &#039;&#039;&#039;HP LaserJet p4010&#039;&#039;&#039; and select the series.&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic4.png]]&lt;br /&gt;
&lt;br /&gt;
* After selecting and clicking OK you will receive the following window, where you will be able to choose options for the printer. Enable duplex, and change Collation in Printer to more than 288 MB&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic5.png]]&lt;br /&gt;
&lt;br /&gt;
* After you click on Continue it will look like the following and once you add the printer you will be able to use it:&lt;br /&gt;
&lt;br /&gt;
[[Image:MacPrinterDriverPic5.png]]&lt;br /&gt;
&lt;br /&gt;
=Advanced=&lt;br /&gt;
&lt;br /&gt;
You will need to first download a copy of the Postcript Printer Definition file from the print server.  This can be fetched with any normal browser by going to&lt;br /&gt;
 &lt;br /&gt;
  http://print.umiacs.umd.edu/printers/queue.ppd&lt;br /&gt;
&lt;br /&gt;
Where &#039;&#039;&#039;queue&#039;&#039;&#039; is the queue/printer you want to get extra features from.  For example here is a few links to our major public printers.&lt;br /&gt;
&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/ps3142.ppd - AV Williams Building room 3142&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps4430a.ppd - AV Williams Building room 4430&lt;br /&gt;
* http://print.umiacs.umd.edu/printers/cps296-3120Hb.ppd - Biomolecular Sciences Building room 3120H&lt;br /&gt;
&lt;br /&gt;
Please save this file to your hard disk as you will need use the file chooser to select it in the next step.  If you don&#039;t see the queue you want please just reconstruct the URL above and substitute in your queue name.&lt;br /&gt;
&lt;br /&gt;
Next go back to the &#039;&#039;&#039;Print &amp;amp; Fax&#039;&#039;&#039; (or &#039;&#039;&#039;Print &amp;amp; Scan&#039;&#039;&#039;) dialog and click the &#039;&#039;&#039;Options &amp;amp; Supplies...&#039;&#039;&#039; button for the queue you want to modify.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-print03.png]]&lt;br /&gt;
&lt;br /&gt;
You will need to navigate to the Driver tab and select the option &#039;&#039;&#039;Other...&#039;&#039;&#039; from the Print Using option.  This will bring up a file chooser that you will need to select the file you downloaded from.&lt;br /&gt;
&lt;br /&gt;
[[Image:osx-printingadv00.png]]&lt;br /&gt;
&lt;br /&gt;
This will fill in all the default options and you can then click Okay.  If you have questions or need help please contact [mailto:staff@umiacs.umd.edu staff@umiacs.umd.edu].&lt;/div&gt;</summary>
		<author><name>Tgray26</name></author>
	</entry>
</feed>