User Tools

Site Tools


techstaff:slurm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
techstaff:slurm [2015/12/07 17:07] kauffmantechstaff:slurm [2016/01/05 09:01] – [More] kauffman
Line 1: Line 1:
-====== DRAFT | Peanut Job Submission Cluster | DRAFT ======+====== DRAFT | Peanut Job Submission Cluster ======
  
 We are currently **alpha** testing and gauging user interest in a cluster of machines that allows for the submission of long running compute jobs. Think of these machines as a dumping ground for discrete computing tasks that might have been rude or disruptive to execute on the main (shared) shell servers (i.e., linux1, linux2, linux3). We are currently **alpha** testing and gauging user interest in a cluster of machines that allows for the submission of long running compute jobs. Think of these machines as a dumping ground for discrete computing tasks that might have been rude or disruptive to execute on the main (shared) shell servers (i.e., linux1, linux2, linux3).
Line 8: Line 8:
  
 SLURM is similar to most other queue systems in that you write a batch script, then submit it to the queue manager. The queue manager schedules your job to run on the queue (or partition in SLURM parlance) that you designate. Below is an outline of how to submit jobs to SLURM, how SLURM decides when to schedule your job, and how to monitor progress. SLURM is similar to most other queue systems in that you write a batch script, then submit it to the queue manager. The queue manager schedules your job to run on the queue (or partition in SLURM parlance) that you designate. Below is an outline of how to submit jobs to SLURM, how SLURM decides when to schedule your job, and how to monitor progress.
 +
 +===== Where to begin =====
 +SLURM is a set of command line utilities that can be accessed via the command line from **most** any computer science system you can login to. Using our main shell servers (linux.cs.uchicago.edu) is expected to be our most common use case, so you should start there.
 +
 +  ssh user@linux.cs.uchicago.edu
 +
  
 ===== Documentation ===== ===== Documentation =====
Line 37: Line 43:
  
 ==== Storage ==== ==== Storage ====
-Shared scratch storage is being plannedbut not yet available. Techstaff hopes to have this done in time for the winter quarter.+There is slow scratch space mounted to ''%%/scratch%%''. It is a ZFS pool consisting of 10x 2TB 7200RPM SAS drives connected via a LSI 9211-8i and is made up of 5 mirrored VDEVswhich is similar to a RAID10. The servers uplink is 1G ethernet
  
 +  * Files older than 90 days will be deleted automatically.
 +  * Scratch space is shared by all users.
 +
 +=== Access ===
 +Scratch space is only mounted on nodes associated with the cluster. If you want to be able to transfer files to the scratch space you will want to run an [[techstaff:slurm#interactive_jobs|interactive shell]]. Now you will be able to use standard tools such as ''%%scp%%'' or ''%%rsync%%'' to transfer files.
 +
 +  - You should only do a file transfer via the debug partition: ''%% srun -p debug --pty --mem 500 /bin/bash%%''
 +  - Now you can create a directory of your own: ''%%mkdir /scratch/$USER%%'' You should store any files you create in this directory.
 +
 +== Example ==
 +
 +Request interactive shell
 +<code>user@csilcomputer:~$ srun --pty --mem 500 /bin/bash </code>
 +
 +Change into my scratch directory:
 +<code>user@research2:~$ cd /scratch/user/</code>
 +
 +Get the files I need:
 +<code>
 +user@research2:/scratch/user$ scp user@csilcomputer:~/foo .
 +foo                         100%  103KB 102.7KB/  00:00    
 +</code>
 +Check that the file now exists:
 +<code>
 +user@research2:/scratch/user$ ls -l foo 
 +-rw------- 1 user user 105121 Dec 29  2015 foo
 +</code>
 +
 +I can now exit my interactive shell.
 +
 +== Performance is slow ==
 +This is expected. The maximum speed this server will ever be able to achieve is 1Gb/s because of its single 1G ethernet uplink. If this cluster gains in popularity we plan on upgrading the network and storage server.
 ==== Utilization Dashboard ==== ==== Utilization Dashboard ====
 Sometimes it is useful to see how much of the cluster is utilized. You can do that via the following URL: http://peanut.cs.uchicago.edu Sometimes it is useful to see how much of the cluster is utilized. You can do that via the following URL: http://peanut.cs.uchicago.edu
  
 ==== Partitions / Queues ==== ==== Partitions / Queues ====
-As of December, 2015 we have will have at least 2 partitions in our cluster; 'debug' and 'general'. An other partition is not guarenteed and will server a specific purpose.+To find out what partitions we offer, checkout the [[techstaff:slurm#sinfo|sinfo]] command. 
 + 
 +As of December, 2015 we have will have at least 2 partitions in our cluster; 'debug' and 'general'.
  
 ^ Partition Name ^ Description ^ ^ Partition Name ^ Description ^
 | **debug** | The partition your job will be submitted to if none is specified. The purpose of this partition is to make sure your code is running as it should before submitting a long running job to the general queue. | | **debug** | The partition your job will be submitted to if none is specified. The purpose of this partition is to make sure your code is running as it should before submitting a long running job to the general queue. |
 | **general** | All jobs that have been thoroughly tested can be submitted here. This partition will have access to more nodes and will process most of the jobs. If you need to use the ''%%--exclusive%%'' flag it should be done here.| | **general** | All jobs that have been thoroughly tested can be submitted here. This partition will have access to more nodes and will process most of the jobs. If you need to use the ''%%--exclusive%%'' flag it should be done here.|
-| **hardware** | The purpose of this partition is to set aside nodes that do not use the virtualization layer. This is important if you need true hardware access. | 
  
  
Line 140: Line 179:
 PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
 debug*       up      30:00      1   idle research2 debug*       up      30:00      1   idle research2
-general      up   infinite        idle research[3-7] +general      up 1-00:00:00        idle research[3-8]
-hardware     up    1:00:00      1   idle research8+
 </code> </code>
  
Line 184: Line 222:
  
 ====== More ====== ====== More ======
-If you feel this documentation is lacking in some way please let techstaff know. Email(techstaff@cs.uchicago.edu), call(773-702-1031), or stop by our office (Ryerson 154).+If you feel this documentation is lacking in some way please let techstaff know. Email [[techstaff@cs.uchicago.edu]], call (773-702-1031), or stop by our office (Ryerson 154).
/var/lib/dokuwiki/data/pages/techstaff/slurm.txt · Last modified: 2021/01/06 16:13 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki