Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Nektar Nektar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 89
    • Issues 89
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 60
    • Merge requests 60
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Nektar
  • NektarNektar
  • Merge requests
  • !1154

WIP: Modify behaviour of file backup option for solvers and FieldConvert

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Andrea Cassinelli requested to merge a_cassinelli/nektar:ticket/backup_checkpoint_209 into master May 27, 2020
  • Overview 1
  • Commits 10
  • Changes 8

The option NEKTAR_DISABLE_BACKUPS in CMake is no longer used for enabling or disabling the backups.

The alternative approach proposed in this branch is to set the backups in the session file by including an entry in the CONDITIONS/SOLVERINFO section. The PROPERTY is "Backups" and the VALUE can be either "Enable" or "Disable". The session file should have the following form:

<NEKTAR>
[...]
  <CONDITIONS>
    <SOLVERINFO>
      [...]
      <I   PROPERTY="Backups"    VALUE="Enable"    />
    </SOLVERINFO>
    [...]
  </CONDITIONS>
  [...]
</NEKTAR>

If this entry is not specified by the user, the backups will be enabled by default.

In addition, it has been added the capability of using an environment variable (NEKTAR_DISABLE_BACKUPS) to overwrite the backups' behaviour. The user could use the following command in the terminal to disable the backups:

$ export NEKTAR_DISABLE_BACKUPS=1

While this environment variable exists, it will prevent backups from being written.

Closes #209 (closed).

Edited Jun 18, 2021 by Christian Jane Ippel
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ticket/backup_checkpoint_209