Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • 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
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !643

Runtime limit and resubmission command

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Matthieu Schaller requested to merge resubmission_command into master Oct 21, 2018
  • Overview 12
  • Commits 5
  • Changes 7

Implements #461 (closed).

We create a new parameter to set the maximal wall-clock time of a given run. When the time is reached the code dumps a restart file and exits. An additional set of parameters allow the user to specify (or not) a command to be run as SWIFT exits. This is, for instance, a convenient way of having the code re-submit itself to the batch queue and resume the run without human intervention.

This uses the system() command and makes no check on what the user specified as a command. Do you see a better way of achieving this?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: resubmission_command