@@ -406,7 +406,8 @@ requests are similar to existing resource manager batch job submission or
406
406
allocation requests, i.e. equivalent to ``oarsub ``, ``qsub ``, and ``salloc ``.
407
407
408
408
Use Case 1.1
409
- Request Single Resource with Count
409
+ ^^^^^^^^^^^^
410
+ Request Single Resource with Count
410
411
411
412
Specific Example
412
413
Request 4 nodes
@@ -423,7 +424,8 @@ Jobspec YAML
423
424
:language: yaml
424
425
425
426
Use Case 1.2
426
- Request a range of a type of resource
427
+ ^^^^^^^^^^^^
428
+ Request a range of a type of resource
427
429
428
430
Specific Example
429
431
Request between 3 and 30 nodes
@@ -438,7 +440,8 @@ Jobspec YAML
438
440
:language: yaml
439
441
440
442
Use Case 1.3
441
- Request M nodes with a minimum number of sockets per node
443
+ ^^^^^^^^^^^^
444
+ Request M nodes with a minimum number of sockets per node
442
445
and cores per socket
443
446
444
447
Specific Example
@@ -459,7 +462,8 @@ Jobspec YAML
459
462
:language: yaml
460
463
461
464
Use Case 1.4
462
- Exclusively allocate nodes, while constraining cores and
465
+ ^^^^^^^^^^^^
466
+ Exclusively allocate nodes, while constraining cores and
463
467
sockets.
464
468
465
469
Specific Example
@@ -471,7 +475,8 @@ Jobspec YAML
471
475
:language: yaml
472
476
473
477
Use Case 1.5
474
- Complex example from OAR
478
+ ^^^^^^^^^^^^
479
+ Complex example from OAR
475
480
476
481
Specific Example
477
482
ask for 1 core on 2 nodes on the same cluster with 4096 GB of memory
@@ -491,7 +496,8 @@ Jobspec YAML
491
496
:language: yaml
492
497
493
498
Use Case 1.6
494
- Request resources across multiple clusters
499
+ ^^^^^^^^^^^^
500
+ Request resources across multiple clusters
495
501
496
502
Specific Example
497
503
Ask for 30 cores on 2 clusters (total = 60 cores), with 1 flux broker launched per node
@@ -501,7 +507,8 @@ Jobspec YAML
501
507
:language: yaml
502
508
503
509
Use Case 1.7
504
- Request N cores across M switches
510
+ ^^^^^^^^^^^^
511
+ Request N cores across M switches
505
512
506
513
Specific Example
507
514
Request 3 cores across 3 switches, with 1 flux broker launched per node
@@ -522,7 +529,8 @@ The following use cases are more general and include more complex slot placement
522
529
and task counts.
523
530
524
531
Use Case 2.1
525
- Run N tasks across M nodes
532
+ ^^^^^^^^^^^^
533
+ Run N tasks across M nodes
526
534
527
535
Specific Example
528
536
Run ``hostname `` 20 times on 4 nodes, 5 per node
@@ -540,7 +548,8 @@ Jobspec YAML
540
548
:language: yaml
541
549
542
550
Use Case 2.2
543
- Run N tasks across M nodes, unequal distribution
551
+ ^^^^^^^^^^^^
552
+ Run N tasks across M nodes, unequal distribution
544
553
545
554
Specific Example
546
555
Run 5 copies of ``hostname `` across 4 nodes,
@@ -556,7 +565,8 @@ Jobspec YAML
556
565
:language: yaml
557
566
558
567
Use Case 2.3
559
- Run N tasks, Require M cores per task
568
+ ^^^^^^^^^^^^
569
+ Run N tasks, Require M cores per task
560
570
561
571
Specific Example
562
572
Run 10 copies of ``myapp ``, require 2 cores per copy,
@@ -572,7 +582,8 @@ Jobspec YAML
572
582
:language: yaml
573
583
574
584
Use Case 2.4
575
- Run different binaries with differing resource
585
+ ^^^^^^^^^^^^
586
+ Run different binaries with differing resource
576
587
requirements as single program
577
588
578
589
Specific Example
@@ -587,7 +598,8 @@ Jobspec YAML
587
598
:language: yaml
588
599
589
600
Use Case 2.5
590
- Run command requesting minimum amount of RAM per core
601
+ ^^^^^^^^^^^^
602
+ Run command requesting minimum amount of RAM per core
591
603
592
604
Specific Example
593
605
Run 10 copies of ``app `` across 10 cores with at least 2GB per core
@@ -602,7 +614,8 @@ Jobspec YAML
602
614
:language: yaml
603
615
604
616
Use Case 2.6
605
- Run N copies of a command with minimum amount of RAM per node
617
+ ^^^^^^^^^^^^
618
+ Run N copies of a command with minimum amount of RAM per node
606
619
607
620
Specific Example
608
621
Run 10 copies of ``app `` across 2 nodes with at least 4GB per node
@@ -619,7 +632,8 @@ Jobspec YAML
619
632
:language: yaml
620
633
621
634
Use Case 2.7
622
- Override the global environment
635
+ ^^^^^^^^^^^^
636
+ Override the global environment
623
637
624
638
Specific Example
625
639
Run two different tasks, one with the global environment and one with an
@@ -630,7 +644,8 @@ Jobspec YAML
630
644
:language: yaml
631
645
632
646
Use Case 2.8
633
- Specify dependencies
647
+ ^^^^^^^^^^^^
648
+ Specify dependencies
634
649
635
650
Specific Example
636
651
Depend on two previously submitted jobs. The first job’s
0 commit comments