@@ -409,7 +409,8 @@ requests are similar to existing resource manager batch job submission or
409
409
allocation requests, i.e. equivalent to ``oarsub ``, ``qsub ``, and ``salloc ``.
410
410
411
411
Use Case 1.1
412
- Request Single Resource with Count
412
+ ^^^^^^^^^^^^
413
+ Request Single Resource with Count
413
414
414
415
Specific Example
415
416
Request 4 nodes
@@ -426,7 +427,8 @@ Jobspec YAML
426
427
:language: yaml
427
428
428
429
Use Case 1.2
429
- Request a range of a type of resource
430
+ ^^^^^^^^^^^^
431
+ Request a range of a type of resource
430
432
431
433
Specific Example
432
434
Request between 3 and 30 nodes
@@ -441,7 +443,8 @@ Jobspec YAML
441
443
:language: yaml
442
444
443
445
Use Case 1.3
444
- Request M nodes with a minimum number of sockets per node
446
+ ^^^^^^^^^^^^
447
+ Request M nodes with a minimum number of sockets per node
445
448
and cores per socket
446
449
447
450
Specific Example
@@ -462,7 +465,8 @@ Jobspec YAML
462
465
:language: yaml
463
466
464
467
Use Case 1.4
465
- Exclusively allocate nodes, while constraining cores and
468
+ ^^^^^^^^^^^^
469
+ Exclusively allocate nodes, while constraining cores and
466
470
sockets.
467
471
468
472
Specific Example
@@ -474,7 +478,8 @@ Jobspec YAML
474
478
:language: yaml
475
479
476
480
Use Case 1.5
477
- Complex example from OAR
481
+ ^^^^^^^^^^^^
482
+ Complex example from OAR
478
483
479
484
Specific Example
480
485
ask for 1 core on 2 nodes on the same cluster with 4096 GB of memory
@@ -494,7 +499,8 @@ Jobspec YAML
494
499
:language: yaml
495
500
496
501
Use Case 1.6
497
- Request resources across multiple clusters
502
+ ^^^^^^^^^^^^
503
+ Request resources across multiple clusters
498
504
499
505
Specific Example
500
506
Ask for 30 cores on 2 clusters (total = 60 cores), with 1 flux broker launched per node
@@ -504,7 +510,8 @@ Jobspec YAML
504
510
:language: yaml
505
511
506
512
Use Case 1.7
507
- Request N cores across M switches
513
+ ^^^^^^^^^^^^
514
+ Request N cores across M switches
508
515
509
516
Specific Example
510
517
Request 3 cores across 3 switches, with 1 flux broker launched per node
@@ -525,7 +532,8 @@ The following use cases are more general and include more complex slot placement
525
532
and task counts.
526
533
527
534
Use Case 2.1
528
- Run N tasks across M nodes
535
+ ^^^^^^^^^^^^
536
+ Run N tasks across M nodes
529
537
530
538
Specific Example
531
539
Run ``hostname `` 20 times on 4 nodes, 5 per node
@@ -543,7 +551,8 @@ Jobspec YAML
543
551
:language: yaml
544
552
545
553
Use Case 2.2
546
- Run N tasks across M nodes, unequal distribution
554
+ ^^^^^^^^^^^^
555
+ Run N tasks across M nodes, unequal distribution
547
556
548
557
Specific Example
549
558
Run 5 copies of ``hostname `` across 4 nodes,
@@ -559,7 +568,8 @@ Jobspec YAML
559
568
:language: yaml
560
569
561
570
Use Case 2.3
562
- Run N tasks, Require M cores per task
571
+ ^^^^^^^^^^^^
572
+ Run N tasks, Require M cores per task
563
573
564
574
Specific Example
565
575
Run 10 copies of ``myapp ``, require 2 cores per copy,
@@ -575,7 +585,8 @@ Jobspec YAML
575
585
:language: yaml
576
586
577
587
Use Case 2.4
578
- Run different binaries with differing resource
588
+ ^^^^^^^^^^^^
589
+ Run different binaries with differing resource
579
590
requirements as single program
580
591
581
592
Specific Example
@@ -590,7 +601,8 @@ Jobspec YAML
590
601
:language: yaml
591
602
592
603
Use Case 2.5
593
- Run command requesting minimum amount of RAM per core
604
+ ^^^^^^^^^^^^
605
+ Run command requesting minimum amount of RAM per core
594
606
595
607
Specific Example
596
608
Run 10 copies of ``app `` across 10 cores with at least 2GB per core
@@ -605,7 +617,8 @@ Jobspec YAML
605
617
:language: yaml
606
618
607
619
Use Case 2.6
608
- Run N copies of a command with minimum amount of RAM per node
620
+ ^^^^^^^^^^^^
621
+ Run N copies of a command with minimum amount of RAM per node
609
622
610
623
Specific Example
611
624
Run 10 copies of ``app `` across 2 nodes with at least 4GB per node
@@ -622,7 +635,8 @@ Jobspec YAML
622
635
:language: yaml
623
636
624
637
Use Case 2.7
625
- Override the global environment
638
+ ^^^^^^^^^^^^
639
+ Override the global environment
626
640
627
641
Specific Example
628
642
Run two different tasks, one with the global environment and one with an
@@ -633,7 +647,8 @@ Jobspec YAML
633
647
:language: yaml
634
648
635
649
Use Case 2.8
636
- Specify dependencies
650
+ ^^^^^^^^^^^^
651
+ Specify dependencies
637
652
638
653
Specific Example
639
654
Depend on two previously submitted jobs. The first job’s
0 commit comments