Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

New user needs to set up his/her DUO device via https://duo.security.ncsa.illinois.edu/.

If there has any problem, See https://go.ncsa.illinois.edu/2fa for common questions and answers. Send an email to help+duo@ncsa.illinois.edu for additional help. 

...

Code Block
languagebash
titleSSH
tmux list-session
tmux attach -t <session_id>

Batch jobs

submit job jobs with original slurm command

Code Block
languagebash
titleSSH
#!/bin/bash
#SBATCH --job-name="demo"
#SBATCH --output="demo.%j.%N.out"
#SBATCH --error="demo.%j.%N.err"
#SBATCH --partition=gpu
#SBATCH --time=4:00:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=16
#SBATCH --sockets-per-node=1
#SBATCH --cores-per-socket=4
#SBATCH --threads-per-core=4
#SBATCH --mem-per-cpu=1200
#SBATCH --export=ALL
#SBATCH --gres=gpu:v100:1

srun hostname

submit jobs with slurm wrapper suite

Code Block
languagebash
titleSSH
#!/bin/bash
#SBATCH --job-name="demo"
#SBATCH --output="demo.%j.%N.out"
#SBATCH --error="demo.%j.%N.err"
#SBATCH --partition=gpux1
#SBATCH --time=4
 
srun hostname

submit a job with swbatchmultiple tasks

Code Block
languagebash
titleSSH
#!/bin/bash
#SBATCH --job-name="demo"
#SBATCH --output="demo.%j.%N.out"
#SBATCH --error="demo.%j.%N.err"
#SBATCH --partition=gpux1
#SBATCH --time=4
 
mpirun -n 4 hostname &
mpirun -n 4 hostname &
mpirun -n 
srun hostname4 hostname &
mpirun -n 4 hostname &

wait

Step 4. Log on HAL System with HAL OnDemand

New Users need to log in to the HAL system via ssh first to initialize their home folders. After new users initialization, HAL OnDemand can be access through

Code Block
languagebash
titleHAL OnDemand
https://hal.ncsa.illinois.edu:8888

Image Added

Most popular application Jupyter-notebook

Image Added