Skip to content
Snippets Groups Projects

Initial commit

parent afac76a3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#duration=$[ ( $RANDOM % 120 ) + 1 ]
#echo $duration
#sleep $duration
git clone $1 Repository && cd Repository && git checkout $2
echo ${@:3}
exec $3 ${@:4}
# ----------------------------------------------------------------------------------------------------------------------
executable = /bin/bash
# ----------------------------------------------------------------------------------------------------------------------
universe = docker
docker_image = registry.eps.surrey.ac.uk/guillaume_docker:33437
should_transfer_files = YES
environment = mount=/vol/vssp/SF_datasets/multiview/Human3.6M/data,/vol/research/content4all,/vol/research/NOBACKUP/CVSSP/derived
# ----------------------------------------------------------------------------------------------------------------------
log = $ENV(PWD)/logs/$(cluster).$(process).log
output = $ENV(PWD)/logs/$(cluster).$(process).out
error = $ENV(PWD)/logs/$(cluster).$(process).err
# ----------------------------------------------------------------------------------------------------------------------
request_CPUs = 1
request_memory = 1G
request_disk = 1G
# ----------------------------------------------------------------------------------------------------------------------
+CanCheckpoint = False
+JobRunTime = 72
# ----------------------------------------------------------------------------------------------------------------------
on_exit_hold = ExitCode != 0
# ----------------------------------------------------------------------------------------------------------------------
launcher = $ENV(PWD)/launch.sh
# ----------------------------------------------------------------------------------------------------------------------
repository = /vol/research/content4all/3dhumanpose/projects/FilesystemTest
# ----------------------------------------------------------------------------------------------------------------------
branch = HEAD
# ----------------------------------------------------------------------------------------------------------------------
python = /vol/research/content4all/3dhumanpose/Anaconda/miniconda3/envs/ml-env/bin/python
# ----------------------------------------------------------------------------------------------------------------------
arguments = $(launcher) $(repository) $(branch) $(python) $(args)
# ----------------------------------------------------------------------------------------------------------------------
args = $(script)
# ----------------------------------------------------------------------------------------------------------------------
script = test.py
# ----------------------------------------------------------------------------------------------------------------------
queue 5000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment