-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_client-submit
More file actions
68 lines (54 loc) · 1.61 KB
/
server_client-submit
File metadata and controls
68 lines (54 loc) · 1.61 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
############
#
# Parallel Job
#
############
universe = parallel
executable = transmission.py
SRC_HOST=JSI-iDPL01
#SRC_PATH=/home/phil/htcondor-8.2.2-4.x86_64.disk1.iso
DST_HOST=JSI-iDPL02
#DST_PATH=htcondor-8.2.2-4.x86_64.disk1.iso
path=/tmp/testbykun/test.txt
host=
post=8888
config=/tmp/testbykun/client_config.xml
### Crondor Settings
# A promise that jobs will not run more often than this (in seconds)
# Required for the the job to run multiple times successfully.
#LEASE=1500
# A run is allowed to take this long (in seconds) to set up; otherwise
# that run is skipped
#cron_window=60
# Try to run jobs on this schedule
#cron_minute=0-59/30
#
# Keep running the job
#on_exit_remove=false
# Arguments are:
# 1. Sending host
# 2. File to send (on the sending host)
# 3. Receiving host
# 4. Location to write file (on the receiving host)
#arguments = $(SRC_HOST) $(SRC_PATH) $(DST_HOST) $(DST_PATH) $(LEASE)
arguments= $(path) $(host) $(post) $(config)
## Enable Chirp
+WantIOProxy = true
input = /dev/null
output = ./out/transmission.out.$(Node)
error = ./err/transmission.err.$(Node)
log = ./log/transmission.log
getenv = true
#+SrcPath = "$(SRC_PATH)"
#+DstHost = "$(DST_HOST)"
#+DstPath = "$(DST_PATH)"
+ParallelShutdownPolicy = "WAIT_FOR_ALL"
transfer_input_files = TimedExec.py,IDPLException.py,CondorTools.py,socketServer.py,socketClient.py,fileReader.py,xmlReader.py
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
machine_count = 1
requirements = (Machine == "$(SRC_HOST)")
queue
machine_count = 1
requirements = (Machine == "$(DST_HOST)")
queue