Cylc-flow: platforms upgrade of root settings

Created on 14 Sep 2020  路  1Comment  路  Source: cylc/cylc-flow

The first deprecation example in the platforms proposal works as advertised:

[scheduling]
    [[graph]]
          R1 = alpha
[runtime]
    [[alpha]]
        [[[remote]]]
            host = localhost
        [[[job]]]
            batch system = background

But if I change [[alpha]] to [[root]] under [runtime] the scheduler aborts with:

...
2020-09-14T15:09:14+12:00 INFO - Initial point: 1
2020-09-14T15:09:14+12:00 INFO - Final point: 1
2020-09-14T15:09:14+12:00 ERROR - PlatformLookupError: No platform found matching your task
2020-09-14T15:09:15+12:00 INFO - DONE
bug platforms-follow-up

>All comments

Huh, actually the upgrade works fine for any explicit inheritance from a family (root or otherwise). It only fails if alpha is a "naked dummy task" (i.e. no explicit section under runtime).

So this fails:

R1 = alpha
[runtime]
    [[root]]
        [[[remote]]]
            host = localhost
        [[[job]]]
            batch system = background

But this passes:

R1 = alpha
[runtime]
    [[root]]
        [[[remote]]]
            host = localhost
        [[[job]]]
            batch system = background
    [[alpha]]  # <---
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kinow picture kinow  路  4Comments

kinow picture kinow  路  4Comments

kinow picture kinow  路  4Comments

sadielbartholomew picture sadielbartholomew  路  4Comments

oliver-sanders picture oliver-sanders  路  3Comments