Skip to content

Supporting cross platform configurations #586

@aidanheerdegen

Description

@aidanheerdegen

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:00

and/or if payu supported including yaml files

site:
  !include gadi.yaml
  !include setonix.yaml

gadi.yaml:

 gadi:
  project: xx99
  queue: normal
  walltime: 2:30:00
  jobfs: 1500MB

setonix.yaml:

setonix:
  project: project123
  queue: work
  walltime: 2:00:00

Note: 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.

Related issues: #182 #323 #568

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions