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
  • !353

Add -P command-line option to overwrite or add program parameters

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Peter W. Draper requested to merge cmd-line-parameters into master Jun 16, 2017
  • Overview 4
  • Commits 2
  • Changes 5

So you can run commands like:

 ../swift -s -t 4 -PTimeIntegration:time_end:1 -PDomainDecomposition:repartition_type:edge_weights sodShock.yml

and avoid editing the YML file. These parameters will overwrite any values already read from the YML file or added new parameters as necessary.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cmd-line-parameters