- 
                Notifications
    You must be signed in to change notification settings 
- Fork 28
Description
Scheduler information is platform dependent and it is defined in the config.yaml, which means a configuration is platform specific.
ACCESS-NRI needs to support configurations on multiple HPC platforms, which would mean having duplicate model congfigurations that differ only in the scheduler information.
If payu could support specifying the scheduler information for multiple platforms, the same configuration could seamlessly support multiple HPC platforms/targets.
Proposal
payu support multiple platform/site specific scheduler information, e.g.
site:
  gadi:
    project: xx99
    queue: normal
    walltime: 2:30:00
    jobfs: 1500MB
  setonix:
    project: project123
    queue: work
    walltime: 2:00:00and/or if payu supported including yaml files
site:
  !include gadi.yaml
  !include setonix.yamlgadi.yaml:
 gadi:
  project: xx99
  queue: normal
  walltime: 2:30:00
  jobfs: 1500MBsetonix.yaml:
setonix:
  project: project123
  queue: work
  walltime: 2:00:00Note: this syntax could be extended to support multiple queues at a single site, but there are likely accompanying configuration changes so not sure it is that useful. It would also require some way of specifying which queue/environment was required from the command line, whereas site can be inferred automatically.