Changes between Version 77 and Version 78 of cypress/using
- Timestamp:
- 02/01/24 10:45:20 (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/using
v77 v78 76 76 #SBATCH --partition=workshop # Partition 77 77 #SBATCH --qos=workshop # Quality of Service 78 ##SBATCH --qos=normal ### Quality of Service (like a queue in PBS)79 78 #SBATCH --time=0-00:01:00 ### Wall clock time limit in Days-HH:MM:SS 80 79 #SBATCH --nodes=1 ### Node count required for the job … … 116 115 }}} 117 116 118 There are two more commands we should familiarize ourselves with before we begin. The first is the “squeue” command. This shows us the list of jobs that have been submitted to SLURM that are either currently running or are in the queue waiting to run. The last is the “scancel” command. This allows us to terminate a job that is currently in the queue. To see these commands in action, let's simulate a one 117 There are two more commands we should familiarize ourselves with before we begin. The first is the “squeue” command. This shows us the list of jobs that have been submitted to SLURM that are either currently running or are in the queue waiting to run. The last is the “scancel” command. This allows us to terminate a job that is currently in the queue. To see these commands in action, let's simulate a one-hour job by using the sleep command at the end of a new submission script. 119 118 {{{#!bash 120 119 #!/bin/bash 121 120 #SBATCH --job-name=OneHourJob ### Job Name 121 #SBATCH --partition=defq ### Partition (default is 'defq') 122 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 122 123 #SBATCH --time=0-00:01:00 ### Wall clock time limit in Days-HH:MM:SS 123 124 #SBATCH --nodes=1 ### Node count required for the job … … 287 288 {{{#!bash 288 289 #!/bin/bash 289 #SBATCH --qos=normal 290 #SBATCH --partition=defq ### Partition (default is 'defq') 291 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 290 292 #SBATCH --job-name=MPI_JOB 291 293 #SBATCH --time=0-01:00:00 … … 321 323 {{{#!bash 322 324 #!/bin/bash 323 #SBATCH --qos=normal 325 #SBATCH --partition=defq ### Partition (default is 'defq') 326 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 324 327 #SBATCH --job-name=OMP_JOB 325 328 #SBATCH --time=1-00:00:00 … … 342 345 {{{#!bash 343 346 #!/bin/bash 344 #SBATCH --qos=normal # Quality of Service 347 #SBATCH --partition=defq ### Partition (default is 'defq') 348 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 345 349 #SBATCH --job-name=hybridTest # Job Name 346 350 #SBATCH --time=00:10:00 # WallTime … … 370 374 {{{#!bash 371 375 #!/bin/bash 372 #SBATCH --qos=normal # Quality of Service 376 #SBATCH --partition=defq ### Partition (default is 'defq') 377 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 373 378 #SBATCH --job-name=nativeTest # Job Name 374 379 #SBATCH --time=00:10:00 # WallTime … … 475 480 {{{ 476 481 #!/bin/bash 477 #SBATCH --qos=normal # Quality of Service 482 #SBATCH --partition=defq ### Partition (default is 'defq') 483 #SBATCH --qos=normal ### Quality of Service (like a queue in PBS) 478 484 #SBATCH --job-name=many-task # Job Name 479 485 #SBATCH --time=24:00:00 # WallTime … … 645 651 Last login: Thu Dec 19 12:27:32 2019 from cypress1.cm.cluster 646 652 }}} 647 In the interactive session, evaluate the variables and observe they are set.653 In the interactive session, evaluate the variables and observe how they are set. 648 654 {{{ 649 655 [fuji@cypress01-089 ~]$ echo MY_PARTITION=$MY_PARTITION, MY_QUEUE=$MY_QUEUE