Skip to content

Commit

Permalink
Merge pull request #199 from aldbr/master_remove_setFlavourOldVariables
Browse files Browse the repository at this point in the history
remove: old variables from setFlavour()
  • Loading branch information
fstagni authored Jul 25, 2023
2 parents 4b5a9d2 + da71a62 commit a50a6b6
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions Pilot/pilotCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,19 +819,6 @@ def __setFlavour(self):
self.pp.flavour = "HTCondorCE"
pilotRef = "htcondorce://" + self.pp.ceName + "/" + os.environ["HTCONDOR_JOBID"]

# This is the CREAM direct submission case
if "CREAM_JOBID" in os.environ:
self.pp.flavour = "CREAM"
pilotRef = os.environ["CREAM_JOBID"]

if "OSG_WN_TMP" in os.environ:
self.pp.flavour = "OSG"

# GLOBUS Computing Elements
if "GLOBUS_GRAM_JOB_CONTACT" in os.environ:
self.pp.flavour = "GLOBUS"
pilotRef = os.environ["GLOBUS_GRAM_JOB_CONTACT"]

# Direct SSH tunnel submission
if "SSHCE_JOBID" in os.environ:
self.pp.flavour = "SSH"
Expand All @@ -849,13 +836,7 @@ def __setFlavour(self):
+ os.environ["SSHBATCH_JOBID"]
)

# ARC case
# JOBID does not provide the full url in recent versions of ARC
# JOBURL has been introduced recently and should be preferred when present
if "GRID_GLOBAL_JOBID" in os.environ:
self.pp.flavour = "ARC"
pilotRef = os.environ["GRID_GLOBAL_JOBID"]

# ARC
if "GRID_GLOBAL_JOBURL" in os.environ:
self.pp.flavour = "ARC"
pilotRef = os.environ["GRID_GLOBAL_JOBURL"]
Expand Down

0 comments on commit a50a6b6

Please sign in to comment.