Skip to content

Set the static TLS reserve for Geant4 in the simulation tasks - #2543

Merged
sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/geant4-static-tls
Nov 11, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:masterfrom
sawenzel:swenzel/geant4-static-tls

Conversation

@sawenzel

Copy link
Copy Markdown
Contributor

This fixes o2-sim in GRID jobs, where Geant4 cannot be loaded since it uses the initial-exec TLS model.

  • GLIBC_TUNABLES arrives truncated in GRID jobs, so glibc gets no static TLS reserve.
  • sgngen, sgnsim and bkgsim now set it in their task environment.
  • The global init environment would not replace a variable that already exists.

This fixes o2-sim in GRID jobs, where Geant4 cannot be loaded since it uses the initial-exec TLS model.

- GLIBC_TUNABLES arrives truncated in GRID jobs, so glibc gets no static TLS reserve.
- sgngen, sgnsim and bkgsim now set it in their task environment.
- The global init environment would not replace a variable that already exists.
@sawenzel
sawenzel requested a review from jackal1-66 as a code owner November 11, 2026 12:32
@github-actions

Copy link
Copy Markdown

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

@sawenzel
sawenzel merged commit 0427dee into AliceO2Group:master Nov 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant