Skip to content

ASTE assumes data name Data, ignoring CLI option #190

Description

@MakisH

I am calling ASTE as:

$ precice-aste-run -p A --mesh Generator-Mesh --data "Color" -c ../precice-config.xml 
---[ASTE:A:0] INFO : ASTE Running in mapping test mode
---[preCICE:A:0] INFO : This is preCICE version 3.1.2
---[precice]  This is preCICE version 3.1.2
---[preCICE:A:0] INFO : Revision info: v3.1.1-5-g1305035d
---[precice]  Revision info: v3.1.1-5-g1305035d
---[preCICE:A:0] INFO : Build type: Debug
---[precice]  Build type: Debug
---[preCICE:A:0] INFO : Configuring preCICE with configuration "../precice-config.xml"
---[precice]  Configuring preCICE with configuration "../precice-config.xml"
---[preCICE:A:0] INFO : I am participant "A"
---[precice]  I am participant "A"
---[preCICE:A:0] ERROR : The given data "Data" is unknown to preCICE mesh "A-Mesh". This mesh only knows data "Color".
---[precice] ERROR:  The given data "Data" is unknown to preCICE mesh "A-Mesh". This mesh only knows data "Color".

The ../precice-config.xml only uses data with the name Color, no mention of "Data" in any file in my workspace:

  <data:scalar name="Color" />

  <mesh name="A-Mesh" dimensions="2">
    <use-data name="Color" />
  </mesh>

  <mesh name="B-Mesh" dimensions="2">
    <use-data name="Color" />
  </mesh>

The mesh file I use also only mentions "Color" and not "Data" anywhere.

If in my precice-config.xml, I set the data name to "Data", then this works. So, the CLI option for --data probably only concerns the mesh file, and not the configuration. We probably need to clearly document all these assumptions on https://precice.org/tooling-aste.html

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions