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 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • 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
  • !173

Parameter file in snapshot

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matthieu Schaller requested to merge parameter_file_in_snapshot into master Jun 03, 2016
  • Overview 1
  • Commits 5
  • Changes 20

Sorry @pdraper.... one more for you...

This is an implementation of #140 (closed). The parameter file key-value pairs are written to the snapshots. Changes are:

  • Write the parameters to the snapshot.
  • Reduce the size of the parameter file structure by changing the maximal amount of lines it can contain.
  • Added an error message for when this limit is reached.
  • Change the type lock_type to swift_lock_type in lock.h

This last change is because lock_type is used in some MPI function prototype and our "#define" interferes with some of the includes if you are not careful about ordering. That solves the problem by naming the lock type in a unique way.

Apologies for the rather large changelog that this generates for 5 actual lines of useful code...

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