26 April 2024
ONLINE
Europe/Vienna timezone

Course Material

Course material see further below

 

Commands to be copied into the ssh terminal:


Login:

usernames:   cclm## (##=01-09)

login standard (VPN or VSC partner uni):   ssh cclm##@vsc5.vsc.ac.at

login via vmos (works from everywhere):   ssh -t cclm##@vmos.vsc.ac.at vsc5

login via VSC Jupyterhub (everywhere):     https://jupyterhub.vsc.ac.at


Setup:

setup your user:              cd ~ ; cp -a ~cclmcb/.bashrc . ; source .bashrc

copy the exercises:        cd ~ ; cp -a ~cclmcb/examples .

go to slurm exercises:   cd ~/examples/05_submitting_batch_jobs/

shorten the prompt:       export PS1='$ '


Reservation:

switch on reservation:    source ~cclmcb/start_using_cclm_vsc5

switch off reservation:   source ~cclmcb/switch_2_default


Hands-on 1 - $HOME filesystem (100 GB):     
echo $HOME     
df -h $HOME     
df -i $HOME     
mmlsquota --block-size auto -j home_fs72039 home


Hands-on 2 - $DATA filesystem (10 TB):     
echo $DATA     
df -h $DATA     
df -i $DATA     
mmlsquota --block-size auto -j data_fs72039 data


Hands-on 3 - modules:     
module avail    
module load openmpi/4.1.4-gcc-8.5.0-3yligjt    
module list    
module purge


Hands-on 4 - qos & partition:   
cat /etc/motd   
sqos   
sinfo   
sinfo -o %P   
scontrol show partition zen3_0512   
scontrol show node n3501-001


Hands-on 5 - job - quick start:  
cat job_vsc5.sh  
sbatch job_vsc5.sh  
sq     !     squeue -u $USER  
cat slurm-*.out


Hands-on 6 - job - development queue (qos & partition):  
source ~cclmcb/switch_2_default 
write & submit to devel: 
hostname 
free 
source ~cclmcb/start_using_cclm_vsc5 
(solution = job_devel_vsc5.sh)


Hands-on 7 - matlab job (modules):  
write & submit matlab job: 
echo "2+2" | matlab 
(solution = job_matlab_vsc5.sh) 


Hands-on 8 - single core job:  
look at & submit a single core job: 
solution = job_single_core_vsc5.sh


Hands-on 9 - mpi jobs:  
look at & submit an mpi job: 
job_mpi_vsc5.sh 
job_mpi_cclm_vsc5.sh


Renaming stdout & stderr files:: 
#SBATCH -e slurm-%j.err 
#SBATCH -o slurm-%j.ou

 

Course material – for our standard 1-day VSC-Intro course:

09:00 - 09:05   Welcome

09:05 - 09:45   VSC intro & login

09:45 - 10:00   break

10:00 - 10:15   File storage options

10:15 - 10:45   Modules

10:45 - 11:00   Spack

11:00 - 11:15   Compiling

11:15 - 11:30   break

11:30 - 12:45   SLURM (basics)

12:45 - 13:00   Got stuck? – Get support!

13:00 - 14:00   lunch break

14:00 - 15:00   SLURM (advanced)

15:00 - 15:25   GPUs

15:25 - 15:30   Wrap-up

15:30 - 17:00   individual support (on appointment only)

                          Singularity