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

remove: old variables from setFlavour() #199

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading