-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcondorSubArgumentsSet.py
More file actions
34 lines (31 loc) · 1.32 KB
/
condorSubArgumentsSet.py
File metadata and controls
34 lines (31 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python3
import socket
hostname = socket.getfqdn()
lpcCAF = ('fnal.gov' in hostname)
CondorSubArgumentsSet = {}
if lpcCAF:
CondorSubArgumentsSet = {
1 : {'Executable' : ''},
2 : {'Universe' : 'vanilla'},
3 : {'request_memory ' : '4092MB'},
4 : {'Arguments' : ''},
5 : {'Output' : 'condor_$(Process).out'},
6 : {'Error' : 'condor_$(Process).err'},
7 : {'Log' : 'condor_$(Process).log\n'},
8 : {'Transfer_Input_files' : ''},
9 : {'Transfer_Output_files' : ''},
}
else:
CondorSubArgumentsSet = {
1 : {'Executable' : ''},
2 : {'Universe' : 'vanilla'},
3 : {'Getenv' : 'True'},
4 : {'request_memory ' : '4092MB'},
5 : {'Arguments' : ''},
6 : {'Output' : 'condor_$(Process).out'},
7 : {'Error' : 'condor_$(Process).err'},
8 : {'Log' : 'condor_$(Process).log\n'},
9 : {'Transfer_Input_files' : ''},
10 : {'Transfer_Output_files' : ''},
11 : {'Requirements' : ''},
}