Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 832 Bytes

File metadata and controls

29 lines (22 loc) · 832 Bytes

Notes about handing in job in Euler Cluster

Detailed tutorial can be found here: https://scicomp.ethz.ch/wiki/Getting_started_with_clusters#Using_the_batch_system

Basic command


bsub -n 4 -R "rusage[mem=7000,ngpus_excl_p=4]" -W 5:00 bash test.sh 

-n 4 is the number of cpu

mem is memory per core (in mb)

ngpus_excl_p is the number of gpu

-I start the job interactively in the current terminal, but the output may show up after the whole program finish.

-W HH:MM expected time to run the job, i.e. 20:00 means after 20 hours the job will be killed.


bbjobs

Giving details of the current running job


bkill <job-id>

kill the current running job, whose id is <job-id>