Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • distaix distaix
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ACS
  • Public
  • Power System Simulation and Optimization
  • DistAIXFramework
  • distaixdistaix
  • Merge requests
  • !12

Improved run.sh script with convenience features

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Felix Wege requested to merge extended_run_script into master Jan 23, 2022
  • Overview 0
  • Commits 1
  • Changes 1

Added multiple optional arguments to the run.sh script to improve its convenience.

  • -p: Specifies relative path to the property file describing the simulation scenario (i.e. the "model.props")
  • -c: Specifies relative path to the config file (i.e. the "config.props")
  • -d: Specifies relative path to a directory holding multiple property files. Simulations for all found property files will be executed sequentially.
    • Note: When specifying a directory with -d, -p will be ignored!

Running the script w/o any of the optional parameters results in the same behavior as before, using props/models.props and props/config.props as default.

Examples

  • ./run.sh -p myDir/custom_model.props -c myDir/custom_config.props
  • ./run.sh -d propertyFiles/ -n 12
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: extended_run_script