-
Notifications
You must be signed in to change notification settings - Fork 108
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
Support different architectures during job submission and runtime #10853
Conversation
Jenkins results:
|
This is completed untested, so I will hold off merging this until we can have some tests running on top of 1.5.4.patch1 (to be released soon). |
Fix comparison operator
Jenkins results:
|
@tommasoboccali @spigad Hi Tom, Daniele, this patch seems to be working fine (in terms of, it does not break standard functionality). Regarding support to multiple architectures, I believe it still requires further discussion and I'd rather look at that issue in the future (to be addressed with this ticket: #10674) |
Hi @amaltaro just spoke with @tommasoboccali we agreed to go ahead so far we've not things to add. And about multi-arch I agree we need further discussions .. |
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.
Thanks @amaltaro. There is just a single question inline. You may want to take a look at it.
elif "aarch64" in requiredArchs: | ||
return "aarch64" | ||
else: # should never get here! | ||
return defaultArch |
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.
I realize this is a behavior by design, but let me still ask. What is the difference between enforcing the default value from this line, and not enforcing it on line 170?
https://github.com/dmwm/WMCore/pull/10853/files#diff-5885ed172eb7ae63636d70ecf9a1c15766b05c33565a8e251f325a34e2539ad9R170
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.
These two lines (191/192) are probably not needed. As the comment says, I can't see a case where we would reach that code.
IF something really manages to reach this, then using the "standard" grid architecture looked the most reasonable option to me (instead of allowing such jobs to run at any architecture).
Thanks for the review, Todor. Merging and soon will get it backported to 1.5.4_wmagent branch as well. |
Superseeds #10673
Fixes #10840
Status
not-tested
Description
Summary of changes is:
ppc64le
andx86_64
. Architectureaarch64
will only be supported in the future)Requirements
expression string according to the architecture that we want to run that job.UPDATE: The SI team discussed this with the HTCondor developers, and indeed
TARGET.Arch
in the requirements is the way to use such resources.Is it backward compatible (if not, which system it affects?)
maybe
Related PRs
None
External dependencies / deployment changes
None