Getting started on clusters: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Ttphan21 (talk | contribs)
mNo edit summary
Pelibby16 (talk | contribs)
No edit summary
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This document presumes zero prior knowledge of cluster computing. If instead you're an intermediate user (e.g. you have an account and have run a few jobs before but need a reminder) the table of contents is your friend.
This document presumes zero prior knowledge of cluster computing. If instead you're an intermediate user (e.g. you have an account and have run a few jobs before but need a reminder) the table of contents is your friend.


This document gives you all the information you need to choose a system, log in to a cluster/phat node, write a script, submit it via sbatch to the scheduler, and find the output. As such, these notes cover hardware and software. (If you're a sysadmin, you may be interested in [[Sysadmin:Services:ClusterOverview |this page]] instead.)
This document gives you all the information you need to choose a system, log in to a cluster/phat node, write a script, submit it via sbatch to the scheduler, and find the output. As such, these notes cover hardware and software. (If you're a sysadmin, you may be interested in [[Sysadmin:Services:ClusterOverview |this page]] instead.)


__TOC__
Before you get started, make sure you have a CS account. You can email <code>admin@cs.earlham.edu</code> or a current CS faculty member to get started. Your user account will grant access to all the servers below, and you will have a home directory at <code>~username</code> that you can access when you connect to any of them.


= Prerequisites =
# First, read about what machines you can pick from. Take a look at [[#Cluster systems to choose from]], and see which machines fit your needs the best.
# Open and terminal and connect to Hopper: <code>ssh username@hopper.cluster.earlham.edu</code>
# Once you are connected to Hopper, you can SSH to the machine you need: <code>ssh username@hamilton.cluster.earlham.edu</code> (In this example, we connect to the Hamilton cluster).
# Now you are ready to start using Slurm on that cluster. Check out [[#Using Slurm]] for more examples and information on how to use the scheduler on that machine.


# Get a cluster account. You can email admin at cs dot earlham dot edu or a current CS faculty member to get started. Your user account will grant access to all the servers below, and you will have a home directory at <code>~username</code> that you can access when you connect to any of them.
## Note: if you have a CS account, you will use the same username and password for your cluster account.
# Connect through a terminal via ssh to <code>username@hopper.cluster.earlham.edu</code>. If you intend to work with these machines a lot, you should also configure your [[How To Set Up SSH Keys | ssh keys]].


= Cluster systems to choose from =
__TOC__


The cluster dot earlham dot edu domain consists of clusters (a collection of physical servers linked through a switch to perform high-performance computing tasks with distributed memory) and jumbo servers (nee "phat nodes"; a system comprising one physical server with a high ratio of disk+RAM to CPU, good for jobs demanding shared memory).
= Using Slurm =


Our current machines are:
Slurm is our batch scheduler. It lets us run scripts in the background so that you don't have to stay logged and monitor them manually. It also allows us to automatically distribute users/jobs across a set of machines so that we don't all get crowded into one place, helping everyone get to the resources that they need.
* hamilton: newest cluster; 5 compute nodes, 256GB RAM per node; features most CPU cores per node and highest clock speed.
* whedon: 7 compute nodes; 256GB of RAM per node.
* layout: cluster; 4 compute nodes, pre-whedon, features NVIDIA GPGPU's and multiple CUDA options.
* lovelace: newest jumbo server.
* pollock: jumbo server, older than lovelace but well-tested and featuring the most available disk space.


To get to, e.g., whedon, from hopper, run <code>ssh whedon</code>.
There are two main ways to use slurm:
# You can submit a job in a script, to run automatically in the background: <code>$ sbatch my_good_script.sbatch</code>
# You can start an interactive job through slurm and maintain manual control: <code>srun -n 1 --pty bash -i</code>


If you're still not sure, [[Choosing a computing resource|click here for more detailed notes]].
== Common Directives ==
Include these at the top of your sbatch file to configure the scheduler to your needs.


= Cluster software bundle =
* <code>#SBATCH --job-name=myjob</code>: Name your job something specific (shows up in <code>squeue</code>
* <code>#SBATCH --output=file.out</code>: Sets a file to store output from your script in.
* <code>#SBATCH --error=file.err</code>: Sets a file to store errors from your script in.
* <code>#SBATCH --time=HH:MM:SS</code>: Sets a maximum time for your job.
* <code>#SBATCH --nodes=1</code>: Sets the number of nodes to use for the job.
* <code>#SBATCH --cpus-per-task=10</code>: Sets the number of CPUs to use for the job.
* <code>#SBATCH --mem=10G</code>: Sets the amount of memory to use for the job.
* <code>#SBATCH --mail-user=myemail@earlham.edu</code>: Sets the email to send notifications to when the job status changes.


The cluster dot earlham dot edu servers all run a supported CentOS version.
== Example sbatch Files ==
=== Example One ===
This job will do the following:
# Print "hellow world!" to the log file.
# end.


All these servers (unless otherwise noted) also feature the following software:
A few things to notice:
* This is about as simple a job as possible.
* The job is only using one node, and one CPU on that node. Plenty of room for other users to run their jobs in parallel.


* Slurm (scheduler): submit a job with <code>sbatch jobname.sbatch</code>, delete it with <code>scancel jobID</code>. Running a job has its own doc section below.
<pre>
* Environment modules: run <code>module avail</code> to see available software modules and <code>module load modulename</code> to load one; you may load modules in bash scripts and sbatch jobs as well.
#!/bin/sh
 
#SBATCH --job-name hello-world
The default shell on all these servers is bash.
#SBATCH --nodes=1
 
#SBATCH -c 1
The default Python version on all these servers is Python 2.x, but all have at least one Python 3 module with a collection of widely-used scientific computing libraries.
echo "hello world!"
 
</pre>
= Using Slurm =


Slurm is our batch scheduler.
=== Example Two ===
This job will do the following:
# Echo some information about the current node (printing it to the output file).
# Print the current machine hostname (to the output file, again).
# sleep for 10 seconds (wait).
# Print the current working directory (to the output file, still).
# end.


You can check that it's working by running: <code>srun -l hostname</code>
A few things to notice:
* The job is only using one node, and one CPU on that node. Plenty of room for other users to run their jobs in parallel.
* The job will notify the user <code>excellent_email_user@earlham.edu</code> via email when it starts, ends, or fails.
* The job has a max runtime of 20 seconds, so if something goes wrong and it doesn't end sooner, the scheduler will stop it.


You can submit a job in a script with the following: <code>sbatch my_good_script.sbatch</code>
Here's an example of a batch file, note that the time parameter may be too short for "real" runs:
<pre>
<pre>
#!/bin/sh
#!/bin/sh
#SBATCH --time=20
#SBATCH --time=20
#SBATCH --job-name hello-world
#SBATCH --job-name hello-world-two
#SBATCH --nodes=1  
#SBATCH --nodes=1  
#SBATCH -c 1 # ask for one core
#SBATCH -c 1 # ask for one core
Line 62: Line 77:
echo "work directory is `echo $SLURM_SUBMIT_DIR`"
echo "work directory is `echo $SLURM_SUBMIT_DIR`"


srun -l /bin/hostname
/bin/hostname
srun sleep 10          # Replace this sleep command with your command line.  
sleep 10          # Replace this sleep command with your command line.  
srun -l /bin/pwd
/bin/pwd


</pre>
</pre>


Interactive and command line interfaces also exist. After submitting a job slurm captures anything written to stdout and stderr by the programs and when the job completes puts it in a file called slurm-nnn.out (where nnn is the job number) in the directory where you ran sbatch. Use more to view it when you are looking for error messages, output file locations, etc.  
=== Example Three ===
This job will do the following:
# Load the <code>python/3.12</code> module environment on the machine it's running on.
# Run the <code>main.py</code> script with the time command (prints information on runtime after the command finishes).
# end.
 
A few things to notice:
* The job is only using one node, and 30 CPUs on that node.
* The job will notify the user <code>excellent_email_user@earlham.edu</code> via email when it starts, ends, or fails.
* The job has a max runtime of 72 hours, so if something goes wrong and it doesn't end sooner, the scheduler will stop it.


If you are used to using <code>qpeek</code>, you can instead just run <code>tail -f jobXYZ.out</code> or <code>tail -f jobXYZ.err</code>.
<pre>
#!/bin/bash
#SBATCH --job-name=MNISTDCGAN # Job name
#SBATCH --output=output_%j.txt # Standard output file with job id
#SBATCH --error=error_%j.txt # Standard error file with job id
#SBATCH --time=72:00:00 # Maximum run time
#SBATCH --nodes=1 # Use one node
#SBATCH --cpus-per-task=30 # Request 30 CPU cores (or more, as available)
#SBATCH --mem=16G # Total memory
#SBATCH --mail-type=BEGIN,END,FAIL # Email notifications
#SBATCH --mail-user=username@earlham.edu # Your email address
 
module load python/3.12 # replace with any python version you want to use
time python main.py # replace with your python file name
</pre>


There's some more CPU management information [https://slurm.schedmd.com/cpu_management.html here].


== Conversion from Torque to Slurm ==
After submitting a job slurm captures anything written to stdout and stderr by the programs and when the job completes puts it in a file called slurm-nnn.out (where nnn is the job number) in the directory where you ran sbatch. Use more to view it when you are looking for error messages, output file locations, etc. If you are used to using <code>qpeek</code>, you can instead just run <code>tail -f jobXYZ.out</code> or <code>tail -f jobXYZ.err</code>.


To submit a job to Slurm, you'll need to write a shell script wrapper and submit it through sbatch on your system of choice. For people familiar with pbs the pattern is very similar. For example (change the specific options):
There's some more CPU management information [https://slurm.schedmd.com/cpu_management.html here].


== Useful Slurm Commands ==
Slurm has some other useful commands that you can use to interact with or view jobs that are running.


{| class="wikitable"
{| class="wikitable"
|+ Commands
|+ Commands
|-
|-
! Torque
! Slurm
! Slurm
! Description
! Description
|-
|-
| <code>qsub</code>
| <code>sbatch</code>
| <code>sbatch</code>
| run/submit a batch job
| run/submit a batch job (.sbatch file, see above)
|-
|-
| <code>qstat</code>
| <code>squeue</code>
| <code>squeue</code>
| show jobs currently in the queue
| show jobs currently in the queue
|-
|-
| <code>qdel</code>
| <code>scancel</code>
| <code>scancel</code>
| cancel a job
| cancel a job by its ID
|-
|-
| <code>pbsnodes -a</code>
| <code>scontrol show nodes</code>
| <code>scontrol show nodes</code>
| show nodes in the cluster
| show nodes in the cluster
|-
| <code>qstat ...</code>
| <code>scontrol update NodeName=w[0-6] State=RESUME</code>
| resurrect nodes that are offline
|}
|}


Line 110: Line 140:
|+ Environment Variables
|+ Environment Variables
|-
|-
! Torque
! Slurm
! Slurm
! Description
! Description
|-
|-
| <code>$PBS_QUEUE</code>
| <code>$SLURM_JOB_PARTITION</code>
| <code>$SLURM_JOB_PARTITION</code>
| the queue/partition you are in
| the queue/partition you are in
|-
|-
| <code>cat $PBS_NODEFILE</code>
| <code>$SLURM_JOB_NODELIST</code>
| <code>$SLURM_JOB_NODELIST</code>
| there's no equivalent of the nodes file but there is an environment variable that stores that information
| there's no equivalent of the nodes file but there is an environment variable that stores that information
|-
|-
| <code>$PBS_O_WORKDIR</code>
| <code>$SLURM_SUBMIT_DIR</code>
| <code>$SLURM_SUBMIT_DIR</code>
| working directory from which the command was run
| working directory from which the command was run
|}
|}


Example scripts
= Cluster systems to choose from =
<pre>
 
#!/usr/bin/bash
The <code>cluster.earlham.edu</code> domain consists of clusters (a collection of physical servers linked through a switch to perform high-performance computing tasks with distributed memory) and jumbo servers (nee "phat nodes"; a system comprising one physical server with a high ratio of disk+RAM to CPU, good for jobs demanding shared memory).
 
== Hamilton ==
<code>hamilton.cluster.earlham.edu</code>
 
(Built in 2022)
Designed for high CPU/RAM jobs. Used often for photogrammetry work via WebODM and CPU-based AI/ML training.
 
=== Services running on this machine ===
* [//webodm.cluster.earlham.edu WebODM]
 
=== Nodes and Hardware ===
{| class="wikitable"
|-
! Machine Name !! Type !! CPU !! RAM !! GPU
|-
| h0 || Head Node || AMD EPYC 24-core || 128GB || None
|-
| h1 || Compute Node || AMD EPYC 24-core || 256GB || None
|-
| h2 || Compute Node || AMD EPYC 24-core || 256GB || None
|-
| h3 || Compute Node || AMD EPYC 24-core || 256GB || None
|-
| h4 || Compute Node || AMD EPYC 24-core || 256GB || None
|-
| h5 || Compute Node || AMD EPYC 24-core || 256GB || None
|}
 
== Faraday ==
<code>faraday.cluster.earlham.edu</code>
 
(Built in 2022)
Designed for GPU jobs. Used for research, courses, and projects requiring GPU access, computational biophysics simulations, and notebook services.
 
=== Services running on this machine ===
* [//jupyter.cluster.earlham.edu Jupyterhub]
 
=== Nodes and Hardware ===
{| class="wikitable"
|-
! Machine Name !! Type !! CPU !! RAM !! GPU
|-
| f0 || Head Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|-
| f1 || Compute Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|-
| f2 || Compute Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|-
| f3 || Compute Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|-
| f4 || Compute Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|-
| f5 || Compute Node || AMD EPYC 16-core || 192GB || Nvidia RTX A5000 24GB
|}
 
== Whedon ==
<code>whedon.cluster.earlham.edu</code>
 
(Built in 2015)
Designed for high CPU/RAM jobs that require long-term processing. Also used for computational Chemistry simulations with WebMO.
 
=== Services running on this machine ===
* [//webmo.cluster.earlham.edu WebMO]
 
=== Nodes and Hardware ===
{| class="wikitable"
|-
! Machine Name !! Type !! CPU !! RAM !! GPU
|-
| w0 || Head Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w1 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w2 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w3 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w4 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w5 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w6 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|-
| w7 || Compute Node || 2x Intel Xeon 8-core || 256GB || None
|}
 
== Lovelace ==
<code>lovelace.cluster.earlham.edu</code>


#SBATCH --job-name hello-world
Designed for particularly high RAM jobs. Used often for large scale biology projects, such as alignment and sequence analysis. This machine also features a particularly large amount of disk space for such projects.
#SBATCH --nodes=5
#SBATCH --mail-type=BEGIN,END,FAIL
#SBATCH --mail-user=excellent_email_user@earlham.edu


echo "queue is `echo $SLURM_JOB_PARTITION`"
=== Services running on this machine ===
echo "running on `echo $SLURM_JOB_NODELIST`"
* [//rstudio.cluster.earlham.edu RStudio]
echo "work directory is `echo $SLURM_SUBMIT_DIR`"


srun -l echo "hello world!"
=== Nodes and Hardware ===
</pre>
{| class="wikitable"
|-
! Machine Name !! Type !! CPU !! RAM !! GPU
|-
| lovelace || Phat Node || 2x Intel Xeon 16-core || 1000GB || None
|}


If your motivation is to run ODM inside a Docker container than this pattern should work on pollock and lovelace. Note that the log file is not created (interaction between nohup and slurm) but you can use/save the slurm-###.out file which has the same information in it.
= Cluster software bundle =


Normally you preface each command in a slurm file with srun (slurm-run), with Docker/ODM this appears to make things go pear-shaped.
The cluster dot earlham dot edu servers all run a supported Debian GNU/Linux 12.
<pre>
#!/bin/sh
#SBATCH --job-name stod-slurm-test-2D-lowest
#SBATCH --nodes=1
#SBATCH -c 4 # ask for four cores
#SBATCH --mail-type=BEGIN,END,FAIL
#SBATCH --mail-user=charliep@cs.earlham.edu


echo "queue/partition is `echo $SLURM_JOB_PARTITION`"
All these servers (unless otherwise noted) also feature the following software:
echo "running on `echo $SLURM_JOB_NODELIST`"
echo "work directory is `echo $SLURM_SUBMIT_DIR`"


sudo rm -rf 2D-lowest-f1
* Slurm (scheduler): submit a job with <code>sbatch jobname.sbatch</code>, delete it with <code>scancel jobID</code>. Running a job has its own doc section below.
sudo rm -rf tmp
* Environment modules: run <code>module avail</code> to see available software modules and <code>module load modulename</code> to load one; you may load modules in bash scripts and sbatch jobs as well.


nohup ~/gitlab-current/images/drone_image_tools/assemble-odm.sh -r lowest -i images -d 2 -e charliep@cs.earlham.edu &
The default shell on all these servers is bash.
wait


exit 0
The default Python version on all these servers is Python 2.x, but all have at least one Python 3 module with a collection of widely-used scientific computing libraries.
</pre>


= About qsub =  
= About qsub =  

Latest revision as of 20:12, 2 April 2026

This document presumes zero prior knowledge of cluster computing. If instead you're an intermediate user (e.g. you have an account and have run a few jobs before but need a reminder) the table of contents is your friend.

This document gives you all the information you need to choose a system, log in to a cluster/phat node, write a script, submit it via sbatch to the scheduler, and find the output. As such, these notes cover hardware and software. (If you're a sysadmin, you may be interested in this page instead.)

Before you get started, make sure you have a CS account. You can email admin@cs.earlham.edu or a current CS faculty member to get started. Your user account will grant access to all the servers below, and you will have a home directory at ~username that you can access when you connect to any of them.

  1. First, read about what machines you can pick from. Take a look at #Cluster systems to choose from, and see which machines fit your needs the best.
  2. Open and terminal and connect to Hopper: ssh username@hopper.cluster.earlham.edu
  3. Once you are connected to Hopper, you can SSH to the machine you need: ssh username@hamilton.cluster.earlham.edu (In this example, we connect to the Hamilton cluster).
  4. Now you are ready to start using Slurm on that cluster. Check out #Using Slurm for more examples and information on how to use the scheduler on that machine.


Using Slurm

Slurm is our batch scheduler. It lets us run scripts in the background so that you don't have to stay logged and monitor them manually. It also allows us to automatically distribute users/jobs across a set of machines so that we don't all get crowded into one place, helping everyone get to the resources that they need.

There are two main ways to use slurm:

  1. You can submit a job in a script, to run automatically in the background: $ sbatch my_good_script.sbatch
  2. You can start an interactive job through slurm and maintain manual control: srun -n 1 --pty bash -i

Common Directives

Include these at the top of your sbatch file to configure the scheduler to your needs.

  • #SBATCH --job-name=myjob: Name your job something specific (shows up in squeue
  • #SBATCH --output=file.out: Sets a file to store output from your script in.
  • #SBATCH --error=file.err: Sets a file to store errors from your script in.
  • #SBATCH --time=HH:MM:SS: Sets a maximum time for your job.
  • #SBATCH --nodes=1: Sets the number of nodes to use for the job.
  • #SBATCH --cpus-per-task=10: Sets the number of CPUs to use for the job.
  • #SBATCH --mem=10G: Sets the amount of memory to use for the job.
  • #SBATCH --mail-user=myemail@earlham.edu: Sets the email to send notifications to when the job status changes.

Example sbatch Files

Example One

This job will do the following:

  1. Print "hellow world!" to the log file.
  2. end.

A few things to notice:

  • This is about as simple a job as possible.
  • The job is only using one node, and one CPU on that node. Plenty of room for other users to run their jobs in parallel.
#!/bin/sh
#SBATCH --job-name hello-world
#SBATCH --nodes=1 
#SBATCH -c 1
echo "hello world!"

Example Two

This job will do the following:

  1. Echo some information about the current node (printing it to the output file).
  2. Print the current machine hostname (to the output file, again).
  3. sleep for 10 seconds (wait).
  4. Print the current working directory (to the output file, still).
  5. end.

A few things to notice:

  • The job is only using one node, and one CPU on that node. Plenty of room for other users to run their jobs in parallel.
  • The job will notify the user excellent_email_user@earlham.edu via email when it starts, ends, or fails.
  • The job has a max runtime of 20 seconds, so if something goes wrong and it doesn't end sooner, the scheduler will stop it.
#!/bin/sh
#SBATCH --time=20
#SBATCH --job-name hello-world-two
#SBATCH --nodes=1 
#SBATCH -c 1 # ask for one core
#SBATCH --mail-type=BEGIN,END,FAIL 
#SBATCH --mail-user=excellent_email_user@earlham.edu

echo "queue/partition is `echo $SLURM_JOB_PARTITION`"
echo "running on `echo $SLURM_JOB_NODELIST`"
echo "work directory is `echo $SLURM_SUBMIT_DIR`"

/bin/hostname
sleep 10           # Replace this sleep command with your command line. 
/bin/pwd

Example Three

This job will do the following:

  1. Load the python/3.12 module environment on the machine it's running on.
  2. Run the main.py script with the time command (prints information on runtime after the command finishes).
  3. end.

A few things to notice:

  • The job is only using one node, and 30 CPUs on that node.
  • The job will notify the user excellent_email_user@earlham.edu via email when it starts, ends, or fails.
  • The job has a max runtime of 72 hours, so if something goes wrong and it doesn't end sooner, the scheduler will stop it.
#!/bin/bash
#SBATCH --job-name=MNISTDCGAN # Job name
#SBATCH --output=output_%j.txt # Standard output file with job id
#SBATCH --error=error_%j.txt # Standard error file with job id
#SBATCH --time=72:00:00 # Maximum run time
#SBATCH --nodes=1 # Use one node
#SBATCH --cpus-per-task=30 # Request 30 CPU cores (or more, as available)
#SBATCH --mem=16G # Total memory
#SBATCH --mail-type=BEGIN,END,FAIL # Email notifications
#SBATCH --mail-user=username@earlham.edu # Your email address

module load python/3.12 # replace with any python version you want to use
time python main.py # replace with your python file name


After submitting a job slurm captures anything written to stdout and stderr by the programs and when the job completes puts it in a file called slurm-nnn.out (where nnn is the job number) in the directory where you ran sbatch. Use more to view it when you are looking for error messages, output file locations, etc. If you are used to using qpeek, you can instead just run tail -f jobXYZ.out or tail -f jobXYZ.err.

There's some more CPU management information here.

Useful Slurm Commands

Slurm has some other useful commands that you can use to interact with or view jobs that are running.

Commands
Slurm Description
sbatch run/submit a batch job (.sbatch file, see above)
squeue show jobs currently in the queue
scancel cancel a job by its ID
scontrol show nodes show nodes in the cluster
Environment Variables
Slurm Description
$SLURM_JOB_PARTITION the queue/partition you are in
$SLURM_JOB_NODELIST there's no equivalent of the nodes file but there is an environment variable that stores that information
$SLURM_SUBMIT_DIR working directory from which the command was run

Cluster systems to choose from

The cluster.earlham.edu domain consists of clusters (a collection of physical servers linked through a switch to perform high-performance computing tasks with distributed memory) and jumbo servers (nee "phat nodes"; a system comprising one physical server with a high ratio of disk+RAM to CPU, good for jobs demanding shared memory).

Hamilton

hamilton.cluster.earlham.edu

(Built in 2022) Designed for high CPU/RAM jobs. Used often for photogrammetry work via WebODM and CPU-based AI/ML training.

Services running on this machine

Nodes and Hardware

Machine Name Type CPU RAM GPU
h0 Head Node AMD EPYC 24-core 128GB None
h1 Compute Node AMD EPYC 24-core 256GB None
h2 Compute Node AMD EPYC 24-core 256GB None
h3 Compute Node AMD EPYC 24-core 256GB None
h4 Compute Node AMD EPYC 24-core 256GB None
h5 Compute Node AMD EPYC 24-core 256GB None

Faraday

faraday.cluster.earlham.edu

(Built in 2022) Designed for GPU jobs. Used for research, courses, and projects requiring GPU access, computational biophysics simulations, and notebook services.

Services running on this machine

Nodes and Hardware

Machine Name Type CPU RAM GPU
f0 Head Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB
f1 Compute Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB
f2 Compute Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB
f3 Compute Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB
f4 Compute Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB
f5 Compute Node AMD EPYC 16-core 192GB Nvidia RTX A5000 24GB

Whedon

whedon.cluster.earlham.edu

(Built in 2015) Designed for high CPU/RAM jobs that require long-term processing. Also used for computational Chemistry simulations with WebMO.

Services running on this machine

Nodes and Hardware

Machine Name Type CPU RAM GPU
w0 Head Node 2x Intel Xeon 8-core 256GB None
w1 Compute Node 2x Intel Xeon 8-core 256GB None
w2 Compute Node 2x Intel Xeon 8-core 256GB None
w3 Compute Node 2x Intel Xeon 8-core 256GB None
w4 Compute Node 2x Intel Xeon 8-core 256GB None
w5 Compute Node 2x Intel Xeon 8-core 256GB None
w6 Compute Node 2x Intel Xeon 8-core 256GB None
w7 Compute Node 2x Intel Xeon 8-core 256GB None

Lovelace

lovelace.cluster.earlham.edu

Designed for particularly high RAM jobs. Used often for large scale biology projects, such as alignment and sequence analysis. This machine also features a particularly large amount of disk space for such projects.

Services running on this machine

Nodes and Hardware

Machine Name Type CPU RAM GPU
lovelace Phat Node 2x Intel Xeon 16-core 1000GB None

Cluster software bundle

The cluster dot earlham dot edu servers all run a supported Debian GNU/Linux 12.

All these servers (unless otherwise noted) also feature the following software:

  • Slurm (scheduler): submit a job with sbatch jobname.sbatch, delete it with scancel jobID. Running a job has its own doc section below.
  • Environment modules: run module avail to see available software modules and module load modulename to load one; you may load modules in bash scripts and sbatch jobs as well.

The default shell on all these servers is bash.

The default Python version on all these servers is Python 2.x, but all have at least one Python 3 module with a collection of widely-used scientific computing libraries.

About qsub

Before Slurm we used Torque and its associated software, including qsub. This is now deprecated and should not be used on the Earlham CS cluster systems.

Tested and working 2022