queue-slurm-theia.rc 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. !
  2. ! Settings for SLURM job manager on NOAA theia - for details and other
  3. ! options: "man sbatch" and
  4. ! https://rdhpcs-common-docs.rdhpcs.noaa.gov/wikis/rdhpcs-common-docs/doku.php?id=slurm#migration_to_slurm_workload_manager
  5. !
  6. ! queue system (bsub,loadleveler)
  7. queue : slurm
  8. ! (1) passed directly (ie "as is" at the command line)
  9. !------------------------------------------------------------------
  10. ! (--share or -s for example to share node(s) with other jobs)
  11. ! add here also the long options
  12. queue.slurm.submit.options :
  13. !queue.slurm.submit.options : --share
  14. ! Note that this is added to the 'submit.options' key value from the pycasso-tm5-expert.rc
  15. ! (2) Short options set by end user (and processed by submit_tm5_tools.py script
  16. !----------------------------------------------
  17. ! First, list of queue options (same for each step):
  18. ! These each get prefixed with
  19. queue.slurm.options : job-name account time ntasks nodes output
  20. queue.slurm.option.output : %x.o%j
  21. ! job name:
  22. queue.slurm.option.job-name : ${job.name}
  23. ! NOAA-specific modification, appends jobstep number to job name; see
  24. ! TM5/base/branches/theia_slurm/bin/submit_tm5_tools__noaa_slurm.py
  25. queue.slurm.name.append.jobstep : T
  26. ! The "-A co2" option is specific to NOAA theia "co2" project
  27. queue.slurm.option.account : co2
  28. ! queue.slurm.option.qos : batch
  29. ! Partition should be "batch" for parallels jobs and "shared" for
  30. ! serial jobs. Note that bigmem is also a valid option. The partition
  31. ! will be automatically set based on ntasks, unless it is set in the
  32. ! RC file.
  33. !queue.slurm.option.partition : shared
  34. !queue.slurm.option.partition : batch
  35. ! NOTE: o and e options are not active because they are not in the
  36. ! options list. They are here left as placeholders, showing use of
  37. ! <auto>. This was handled by special code (now commented out) in
  38. ! TM5/base/branches/theia_slurm/bin/submit_tm5_tools__noaa_slurm.py.
  39. ! That was for some other previous slurm platform/implementation, we
  40. ! are going to try using the default output file name.
  41. ! queue.slurm.option.o : <auto>
  42. ! queue.slurm.option.e : <auto>
  43. ! JOB TASKS, NODES, RUNTIME, AND MEMORY REQUIREMENTS
  44. !
  45. ! Modify as appropriate for your particular run.
  46. ! For a serial job, put something like the following in your RC file.
  47. ! NOTE: no N (no. of nodes), and ntasks MUST be 1
  48. !queue.slurm.option.ntasks : 1
  49. !queue.slurm.option.time : 0:50:00
  50. !queue.slurm.option.mem : 5g
  51. ! For a parallel MPI job, put something like the following in your RC file.
  52. ! NOTE: lack of "mem" option; not used for exclusive-node scheme for parallel jobs.
  53. !queue.slurm.option.ntasks : 48 ! this is the number of cores
  54. !queue.slurm.option.nodes : 4 ! this is the number of nodes (would result in 12 cores used per node)
  55. !queue.slurm.option.time : 4:30:00