Difference between revisions of "Comp:cluster reservation"

From Theochem
Jump to navigationJump to search
 
(link to slurm)
Line 1: Line 1:
Batch jobs are handled by SLURM. However, sometimes you need all cores of one specific cluster node and you want to ask other theoretical chemistry group members not to start new jobs on that node. We first used Slack/yoinc to request nodes, but we now have a script to automate this process. The script will put the cluster node reservation requests in a database, and from a bash script you can get a list of cluster nodes that have been reserved.
+
Batch jobs are handled by [https://wiki.science.ru.nl/slurm SLURM]. However, sometimes you need all cores of one specific cluster node and you want to ask other theoretical chemistry group members not to start new jobs on that node. We first used Slack/yoinc to request nodes, but we now have a script to automate this process. The script will put the cluster node reservation requests in a database, and from a bash script you can get a list of cluster nodes that have been reserved.
  
 
=== Quick start ===
 
=== Quick start ===

Revision as of 17:17, 10 February 2021

Batch jobs are handled by SLURM. However, sometimes you need all cores of one specific cluster node and you want to ask other theoretical chemistry group members not to start new jobs on that node. We first used Slack/yoinc to request nodes, but we now have a script to automate this process. The script will put the cluster node reservation requests in a database, and from a bash script you can get a list of cluster nodes that have been reserved.

Quick start

Make sure to have /vol/thchem/bin in your bash PATH variable. In your .bashrc add

  export PATH=$PATH:/vol/tchem/bin

On one of the clusternodes and on lilo7 (but not lilo6 and older) check this:

  Cn info

You should get something like:

  You are connected to database "batchq" as user "cnuser" on host "cn58" (address "131.174.30.158") at port "16034".

From the command line you can get the manual by just type Cn, or

   Cn help

Use the spacebar and the b to go back-and-forth through the manual.

Have a look at current reservations:

   Cn show

Reserve, e.g., cluster node cn10 for three days:

   Cn reserve cn10 3