add HTCondor backend
This commit is contained in:
9
backends/htcondor/run.sh
Normal file
9
backends/htcondor/run.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# apparently this vodoo kills all processes opened in this script
|
||||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
|
||||
|
||||
ssh -N -L 8080:localhost:8080 lxplus7103 &
|
||||
|
||||
sleep 10
|
||||
/afs/cern.ch/work/j/jheuel/zoidberg/target/debug/zoidberg_client http://localhost:8080
|
||||
14
backends/htcondor/worker.submit
Normal file
14
backends/htcondor/worker.submit
Normal file
@@ -0,0 +1,14 @@
|
||||
executable = run.sh
|
||||
#arguments = SomeArgument
|
||||
|
||||
output = output/stdout.$(Process)
|
||||
error = output/stderr.$(Process)
|
||||
log = output/log.$(Process)
|
||||
|
||||
request_cpus = 1
|
||||
#request_memory = 1024
|
||||
#request_disk = 10240
|
||||
|
||||
should_transfer_files = no
|
||||
|
||||
queue 150
|
||||
Reference in New Issue
Block a user