Skip to content

CMake Error on downgrading imas data dictionary version #19

@dee-mew

Description

@dee-mew

While building IMAS-Core from source, consider the following scenario:

  1. Load the necessary modules for building IMAS-Core
  2. Install imas-data-dictionary version DD 4.1.0 using 'pip install',
  3. Run CMake configuration with AL_BACKEND_MDSPLUS=ON and AL_DOWNLOAD_DEPENDENCIES=OFF,
  4. Build and install IMAS-Core library
  5. Now delete the generated build and install directories.
  6. Downgrade imas-data-dictionary version DD 3.39.0 using 'pip install'
  7. Again run the same CMake configuration in Step 3.

CMake reports the following error:
//////////////////////////////////////////////////////////////////////////////////////////
CMake Error at common/cmake/ALBuildDataDictionary.cmake:32 (message):
  Failed to run 'idsinfo idspath' command.  Please ensure
  IMAS-Data-Dictionary module is loaded.
Call Stack (most recent call first):
  models/mdsplus/CMakeLists.txt:21 (include)

-- Configuring incomplete, errors occurred!
/////////////////////////////////////////////////////////////////////////////////////////

The same behaviour is observed if DD 3.42.2 is downgraded to DD 3.39.0

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