Skip to content

A provider with only output as consumer doesn't get connected to the driver #976

Open

Description

@aolivier23

When a phlex job is configured with just a provider node and an output node, the provider doesn't run, and no output file is produced. For example, this jsonnet file doesn't run the provider node wires_provider:

{
  driver: {
    cpp: 'generate_layers',
    layers: {
      spill: { parent: 'job', total: 10, starting_number: 0, },
      apa: { parent: 'spill', total: 24, starting_number: 0, },
    },
  },
  sources: {
    wires_provider: {
      cpp: 'simulate_wires_provider',
      n_time_ticks: 1024,
    },
  },
  modules: {
    output: {
      cpp: 'form_module',
      outputs: {
        sim_wires: {
          output_file: 'form-tutorial-writing.root',
          technology: 'ROOT_RNTUPLE',
          products: ['simulated_wires',],
        },
      },
    }
  },
}

The registration code for wires_provider runs, but not the provider's body. I want to use this in a minimal tutorial on how to add new data products to FORM.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions