Feature #25220
Change the order of places where the Glidein is looking for singularity
Start date:
11/17/2020
Due date:
% Done:
0%
Estimated time:
Stakeholders:
OSG
Description
The current order, after [#25217], is:
- Optional: Look first in the override path (GLIDEIN_SINGULARITY_BINARY_OVERRIDE)
- Optional: Look in the path suggested via SINGULARITY_BIN (keyword OSG -> OSG location)
- Look in the default OSG location
- Look in $PATH
- Invoke module singularitypro
- Invoke module singularity
If SINGULARITY_BIN contains OSG, it looks in the OSG location, same as the following step.
The idea would be to have OSG be the default value of SINGULARITY_BIN and change the order of the tests:- Optional: Look first in the override path (GLIDEIN_SINGULARITY_BINARY_OVERRIDE)
- Optional: Look in the path suggested via SINGULARITY_BIN (keyword OSG -> OSG location, this would be the default)
- Look in $PATH
- Invoke module singularitypro
- Invoke module singularity
- Look in the default OSG location
This way there would be no practical change by default, but a change in the SINGULARITY_BIN would allow the Factory/Frontend to cause the PATH and module to be looked at first, before the OSG location. Maybe a keyword like SKIP or PATH could be used to avoid the warning/debug messages.
The ability to specify a path could remain undocumented or be removed, leaving SINGULARITY_BIN only as a toggle.
Related issues
History
#1 Updated by Marco Mambelli 4 months ago
- Target version changed from v3_7_2 to v3_7_3
- Description updated (diff)
#2 Updated by Marco Mambelli 4 months ago
- Related to Feature #25217: Allow an override for the singularity path added
#3 Updated by Marco Mambelli 2 months ago
- Stakeholders updated (diff)
- Assignee changed from Marco Mambelli to Marco Mascheroni
- Status changed from New to Feedback
Changes are in v37/25220_1
#4 Updated by Marco Mambelli about 2 months ago
- Assignee changed from Marco Mascheroni to Dennis Box
#5 Updated by Dennis Box about 2 months ago
- Assignee changed from Dennis Box to Marco Mambelli
feedback sent
#6 Updated by Marco Mambelli about 2 months ago
- Status changed from Feedback to Resolved