-
Notifications
You must be signed in to change notification settings - Fork 415
Fixing the generated vtr_flow.sh scripts #1733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -349,15 +350,15 @@ def run_parallel(args, queued_jobs, run_dirs): | |||
|
|||
|
|||
def create_run_scripts(args, jobs, run_dirs): | |||
""" Create the bash script files for each job run """ | |||
"""Create the bash script files for each job run""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add more commenting around the "scripts" option. For example around line 310, "elif args.system == "scripts":"
you could describe what this argument does.
Same thing for the documentation of the command line option --system (line 160 or so):
The help says "What system to run this on" which isn't very detailed. Should explain what the --system scripts option does somewhere, likely in the help. Details might be in a comment block.
parser.add_argument(
"-system",
choices=["local", "scripts"],
default="local",
help="What system to run the tasks on.", // can improve this.
)
The clang errors should be fixed already (was an unrelated missing #include). Updating the branch to kick that off. There are two scripts with python lint errors that should be fixed. E.g.: vtr_flow/scripts/python_libs/vtr/task.py has lint errors |
a5dc904
to
18304b2
Compare
Still some python lint errors: |
Waiting for CI to go green ... |
@vaughnbetz added more commenting and fixed all python linting issues. Will merge into master. |
Description
The run_vtr_task.py script can generate vtr_flow.sh scripts by adding -system scripts option. Each script runs one (design, arch) pair of the specified task
In this PR, some bugs of this generation process is fixed:
Related Issue
Motivation and Context
The generated shell scripts can be used to run multiple VPR runs in parallel on a large cluster.
How Has This Been Tested?
Types of changes
Checklist: