Skip to content

Cleanup jobutils2 to work on ARM#14901

Merged
ktf merged 5 commits into
AliceO2Group:devfrom
ktf:pr14901
Dec 13, 2025
Merged

Cleanup jobutils2 to work on ARM#14901
ktf merged 5 commits into
AliceO2Group:devfrom
ktf:pr14901

Conversation

@ktf

@ktf ktf commented Dec 9, 2025

Copy link
Copy Markdown
Member
  • Avoid dependency on bc for a multiplication
  • Make sure the CPU detection does not depend on the lscpu
    human readable output, which is apparently dependent on version /
    presence of a container.

@ktf ktf requested a review from a team as a code owner December 9, 2025 09:14
@github-actions

github-actions Bot commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

* Avoid dependency on bc for a multiplication
* Make sure the CPU detection does not depend on the lscpu
  human readable output, which is apparently dependent on version /
  presence of a container.
@ktf ktf changed the title Avoid dependency on bc for a multiplication Cleanup jobutils2 to work on ARM Dec 9, 2025
@ktf

ktf commented Dec 9, 2025

Copy link
Copy Markdown
Member Author

Tested on ARM, x86, including on the EPNs.

@ktf

ktf commented Dec 10, 2025

Copy link
Copy Markdown
Member Author

@sawenzel we seem to have the issue with the ZipFiles back on ARM. Do you remember what was the cause?

@sawenzel

Copy link
Copy Markdown
Collaborator

@sawenzel we seem to have the issue with the ZipFiles back on ARM. Do you remember what was the cause?

doesn't ring a bell to me

Comment thread Utilities/Tools/jobutils2.sh
singiamtel
singiamtel previously approved these changes Dec 11, 2025
Comment thread Utilities/Tools/jobutils2.sh Outdated
Comment thread Utilities/Tools/jobutils2.sh Outdated
Comment thread Utilities/Tools/jobutils2.sh Outdated
Comment thread Utilities/Tools/jobutils2.sh Outdated
Comment thread Utilities/Tools/jobutils2.sh Outdated
@ktf ktf merged commit 16f1a93 into AliceO2Group:dev Dec 13, 2025
11 checks passed
@ktf

ktf commented Dec 13, 2025

Copy link
Copy Markdown
Member Author

Gets the ARM build green. Merging.

@sawenzel

Copy link
Copy Markdown
Collaborator

I agree on the improvements. But note that the ARM build was green before this PR, mainly due to #14906 and alisw/alidist#6062.

@ktf

ktf commented Dec 15, 2025

Copy link
Copy Markdown
Member Author

How was that possible? Without this you have:

[root@deaca7115896 /]# lscpu | grep "Socket(s)" | awk '{print $2}'
-

maybe it was not running the full system test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants