forked from brando90/ultimate-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.sub
51 lines (43 loc) · 1.72 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
####################
#
# Experiments script
# Simple HTCondor submit description file
#
# reference: https://gitlab.engr.illinois.edu/Vision/vision-gpu-servers/-/wikis/HTCondor-user-guide#submit-jobs
#
# chmod a+x ~/ultimate-utils/main.sh
# condor_submit job.sub
#
####################
Executable = /home/miranda9/ultimate-utils/main.sh
SUBMIT_FILE = main.sh
# Output Files
Log = $(SUBMIT_FILE).log$(CLUSTER)
Output = $(SUBMIT_FILE).o$(CLUSTER)
Error = $(SUBMIT_FILE).o$(CLUSTER)
# environment="BASH_ENV=/usr/share/lmod/lmod/init/bash"
# getenv = True
# cuda_version = 10.2
# cuda_version = 11.0
# Use this to make sure 1 gpu is available. The key words are case insensitive.
# REquest_gpus = 1
REquest_gpus = 2
requirements = (CUDADeviceName != "Tesla K40m")
requirements = (CUDADeviceName == "GeForce GTX TITAN X")
# requirements = (CUDADeviceName == "Quadro RTX 6000")
# requirements = ((CUDADeviceName != "Tesla K40m")) && (TARGET.Arch == "X86_64") && (TARGET.OpSys == "LINUX") && (TARGET.Disk >= RequestDisk) && (TARGET.Memory >= RequestMemory) && (TARGET.Cpus >= RequestCpus) && (TARGET.gpus >= Requestgpus) && ((TARGET.FileSystemDomain == MY.FileSystemDomain) || (TARGET.HasFileTransfer))
# requirements = (CUDADeviceName == "Tesla K40m")
# requirements = (CUDADeviceName == "GeForce GTX TITAN X")
# Note: to use multiple CPUs instead of the default (one CPU), use request_cpus as well
# Request_cpus = 1
Request_cpus = 4
# Request_cpus = 5
# Request_cpus = 8
# Request_cpus = 16
# Request_cpus = 32
# E-mail option
Notify_user = [email protected]
Notification = always
Environment = MY_CONDOR_JOB_ID= $(CLUSTER)
# "Queue" means add the setup until this line to the queue (needs to be at the end of script).
Queue