...
By clicking "Submit Form", you only complete the FIRST form, please click "HERE" to complete the second form.
...
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 | ||||
---|---|---|---|---|
| ||||
ssh <username>@hal.ncsa.illinois.edu |
or
Code Block | ||||
---|---|---|---|---|
| ||||
ssh <username>@hal-login2.ncsa.illinois.edu |
Interactive jobs
Starting an interactive job
...
Code Block | ||||
---|---|---|---|---|
| ||||
tmux list-session tmux attach -t <session_id> |
Batch jobs
submit job jobs with original slurm command
Code Block | ||||
---|---|---|---|---|
| ||||
#!/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 | ||||
---|---|---|---|---|
| ||||
#!/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 | ||||
---|---|---|---|---|
| ||||
#!/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 srun hostname4 hostname & mpirun -n 4 hostname & mpirun -n 4 hostname & wait |
For detailed SLURM on HAL information, please refer to Job management with SLURM.
Step 4. Log on HAL System with HAL OnDemand
New users need to log in to the HAL system via "ssh hal.ncsa.illinois.edu" first to initialize their home folders. After new users initialization, HAL OnDemand can be accessed through
Code Block | ||||
---|---|---|---|---|
| ||||
https://hal-ondemand.ncsa.illinois.edu:8888 |
For detailed HAL OnDemand information, please refer to Getting started with HAL OnDemand.