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

gen_topo_helper_functions.sh is sourced from setenv.sh #10750

Merged
merged 1 commit into from
Feb 11, 2023

Conversation

martenole
Copy link
Contributor

No description provided.

@martenole martenole requested a review from a team as a code owner February 10, 2023 17:05
@chiarazampolli
Copy link
Collaborator

Hello @martenole ,
Just to explain why I kept it outside the setenv: only after sourcing the setenv.sh, one would have had the functions available, but then other env variables are set, and in async reco it does not work.
Since in the end in async I need these functions early, I added the sourcing in async_pass.sh (https://github.com/AliceO2Group/O2DPG/blob/2d9ec70f8452de1e550743659aea21163314c640/DATA/production/configurations/2022/LHC22f/apass1/async_pass.sh#L170), so your change will be fine.
Chiara

@martenole
Copy link
Contributor Author

Hi Chiara,
sure, I understand why the functions and the env vars should be separated and that is completely fine. Just the path had to be fixed: AliceO2Group/O2DPG#866
But what is not clear yet is why the topology generation silently failed and did not produce an error message. Today, when they started runs at P2 the EPNs were just idling since the workflows were completely empty.
This here is just a cleanup, since online the helper functions are sourced from inside setenv anyways.
Cheers,
Ole

@chiarazampolli
Copy link
Collaborator

Hello @martenole ,
Thanks, and apologies if there were troubles at P2, what I tested was apass, and there everything was working fine.
Chiara

@martenole
Copy link
Contributor Author

Yes, the fullCI also could not catch it, because there we use the scripts from inside O2, where the path is correctly set:

source $O2DPG_ROOT/DATA/common/gen_topo_helper_functions.sh

But whenever we would used dpl-workflow.sh or aggregator-workflow.sh from O2DPG/DATA/production/ directory like we do in the topology generation on the EPNs it would fail. Its a bit convoluted with these scripts.

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.

2 participants