Skip to content
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

BUDA: support per-batch and per-job command-line args #5932

Merged
merged 4 commits into from
Dec 5, 2024
Merged

Conversation

davidpanderson
Copy link
Contributor

Enhance create_work to support this.
Docker_wrapper copies stderr output of container.
Worker echoes its cmdline args.
Various improvements to user file sandbox and BUDA job submission interfaces.

Specifies cmdline args for all jobs in batch;
you can also specify per-job args, which come after.

create_work: add logic to support the above;
also fix bug involving pointers to stack vars (big no-no)
- file sandbox: add 'Get web file' option
- docker wrapper: always write container log output to stderr
- worker: write cmdline args to stderr
- worker: version# is 4
- fix bug in file sandbox display
- fix bug in BUDA variant delete
- BUDA variant name defaults to 'cpu'
- update examples files in samples/docker_wrapper/test_buda
file sandbox: use Location: to prevent repeating op on page reload
BUDA: add explanatory text
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 10.73%. Comparing base (ff7810b) to head (18dc8fb).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
tools/create_work.cpp 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5932      +/-   ##
============================================
- Coverage     10.73%   10.73%   -0.01%     
  Complexity     1068     1068              
============================================
  Files           280      280              
  Lines         36618    36619       +1     
  Branches       8488     8489       +1     
============================================
  Hits           3930     3930              
- Misses        32299    32300       +1     
  Partials        389      389              
Files with missing lines Coverage Δ
lib/str_util.cpp 58.00% <ø> (ø)
tools/create_work.cpp 0.00% <0.00%> (ø)

Signed-off-by: Vitalii Koshura <[email protected]>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (16)
  • configure.ac: Language not supported
  • html/inc/sandbox.inc: Language not supported
  • html/user/buda.php: Language not supported
  • html/user/buda_submit.php: Language not supported
  • html/user/sandbox.php: Language not supported
  • lib/str_util.cpp: Language not supported
  • samples/docker_wrapper/docker_wrapper.cpp: Language not supported
  • samples/docker_wrapper/test_buda/Dockerfile_worker_1: Language not supported
  • samples/docker_wrapper/test_buda/Dockerfile_worker_2: Language not supported
  • samples/docker_wrapper/test_buda/main_2.sh: Language not supported
  • samples/docker_wrapper/test_buda/main_3.sh: Language not supported
  • samples/worker/Makefile: Language not supported
  • samples/worker/worker.cpp: Language not supported
  • tools/create_work.cpp: Language not supported
  • version.h: Language not supported
  • win_build/worker.vcxproj: Language not supported
@AenBleidd AenBleidd merged commit 2c91e93 into master Dec 5, 2024
151 of 152 checks passed
@AenBleidd AenBleidd deleted the dpa_buda5 branch December 5, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants