-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.sub
52 lines (43 loc) · 2.1 KB
/
job.sub
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
####################
#
# Experiments script
# Simple HTCondor submit description file
#
# reference: https://gitlab.engr.illinois.edu/Vision/vision-gpu-servers/-/wikis/HTCondor-user-guide#submit-jobs
#
# condor_submit -i
# condor_submit job.sub
#
####################
Executable = /home/miranda9/diversity-for-predictive-success-of-meta-learning/main.sh
# Executable = /shared/rsaas/miranda9/diversity-for-predictive-success-of-meta-learning/main.sh
SUBMIT_FILE = main.sh
# Output Files, https://stackoverflow.com/questions/74424065/how-to-log-the-errors-both-stdout-and-sterr-files-in-the-htcondor-hpc-manager
Log = $(SUBMIT_FILE).log$(CLUSTER)
Output = $(SUBMIT_FILE).o$(CLUSTER)
# Error = $(SUBMIT_FILE).o$(CLUSTER)
Error = $(SUBMIT_FILE).e$(CLUSTER)
# Use this to make sure x gpu is available. The key words are case insensitive. https://gitlab.engr.illinois.edu/Vision/vision-gpu-servers/-/wikis/Current-Machines-and-Usage-Weighting
# see gpus see gpu names: condor_status --compact -af:h Machine TotalCpus TotalGpus CUDADeviceName
REquest_gpus = 1
requirements = (CUDADeviceName != "Tesla K40m")
# requirements = (CUDADeviceName == "Titan Xp")
# requirements = (CUDADeviceName == "NVIDIA GeForce GTX TITAN X")
# requirements = (CUDADeviceName == "NVIDIA TITAN X (Pascal)")
# requirements = (CUDADeviceName == "NVIDIA TITAN Xp")
# requirements = (CUDADeviceName == "Quadro RTX 6000")
# requirements = (CUDADeviceName == "NVIDIA A40")
# requirements = (CUDADeviceName != "Tesla K40m") && (CUDADeviceName != "NVIDIA A40")
# requirements = (CUDADeviceName == "NVIDIA TITAN X (Pascal)") || (CUDADeviceName == "NVIDIA TITAN Xp") || (CUDADeviceName == "Quadro RTX 6000") || (CUDADeviceName == "NVIDIA A40")
requirements = (CUDADeviceName == "Quadro RTX 6000") || (CUDADeviceName == "NVIDIA A40")
# Request_cpus = 4
# Request_cpus = 8
# Request_cpus = 12
Request_cpus = 16
# Request_cpus = 40
# Request_cpus = 32
Notify_user = [email protected]
Notification = always
Environment = CONDOR_JOB_ID= $(CLUSTER)
# "Queue" means add the setup until this line to the queue (needs to be at the end of script).
Queue