Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Merge requests
  • !524

Autosubmit config compatibility

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged dbeltran requested to merge Configparser-compatibility into master Nov 28, 2024
  • Overview 6
  • Commits 2
  • Pipelines 0
  • Changes 2

related to https://github.com/BSC-ES/autosubmit-config-parser/pull/53 , !518

To test that code, the configuration has to have any kind of filter, for example:


DEFAULT:
  # Job experiment ID.
  EXPID: "a000"
  # Default HPC platform name.
  HPCARCH: "local"
CONFIG:
  # Current version of autosubmit.
  AUTOSUBMIT_VERSION: "4.1.11"
  # Maximum number of jobs permitted in the waiting status.
  MAXWAITINGJOBS: 20
  # Total number of jobs in the workflow.
  TOTALJOBS: 20
  SAFETYSLEEPTIME: 0
  RETRIALS: 0
MAIL:
  NOTIFICATIONS: False
  TO:
STORAGE:
  TYPE: pkl
  COPY_REMOTE_LOGS: true

EXPERIMENT:
  DATELIST: 20221101
  MEMBERS: fc0
  CHUNKSIZEUNIT: month
  CHUNKSIZE: 2
  NUMCHUNKS: 1
  CHUNKINI: ''
  CALENDAR: standard
PROJECT:
  # Type of the project.
  PROJECT_TYPE: none
  # Folder to hold the project sources.
  PROJECT_DESTINATION: git_project
GIT:
  PROJECT_ORIGIN: "blabla"
  PROJECT_BRANCH: "blabla"
  PROJECT_COMMIT: ''
  PROJECT_SUBMODULES: ''
  FETCH_SINGLE_BRANCH: true
PLATFORMS:
  dummy:
    USER: testuser

JOBS:
  A:
    SCRIPT: |
      echo "test"
  B:
    SCRIPT: |
      echo "test"
    DEPENDENCIES:
        A:
         STATUS: "COMPLETED"
    running: once

And perform:

autosubmit create $expid

What happens without the fix and the last autosubmit config parser master:

  • Autosubmit crashes due boolean doesn't have .lower()
Edited Nov 28, 2024 by dbeltran
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Configparser-compatibility