BIMSA Compute Cluster Usage Guide
Basic Cluster Usage Guide
Prerequisite
Users of this cluster should be familiar with the following skills / know-hows
1. Linux (especially Ubuntu) operating system, command-line operations
2. SLURM job-scheduling system (sample tutorial)
3. Build your own compute environment at your home directory without root privilege
Access BCC
Upon successful account application, you may use any ssh client to login to sls.bimsa.net Port 22. If you are accessing outside BIMSA, make sure you connect to BIMSA VPN service first.
Build Your Compute Environment
The whole BCC cluster (including login and compute nodes) shares the same user home directory. The cluster has already provided anaconda environment. You may build your own virtual environment in your home directory to perform computation.
Alternatively, you may compile programs and put in your home directory
Use SLURM
The Simple Linux Utility for Resource Management (SLURM) is the resource management and job scheduling system of BCC. All compute jobs much be submitted by SLURM.
Here is a sample script (test.sh)
#!/bin/bash
#SBATCH -o job.%j.out
#SBATCH -J myFirstGPUJob
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=6
#SBATCH --gres=gpu:1
nvidia-smi
Then, you may submit your job with
$ sbatch test.sh
And you may read the job output via
$ cat job.[nn].out