process.condor_submit 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. universe = vanilla
  2. # resource requirements for each job
  3. request_cpus = 1
  4. request_memory = 4G
  5. request_disk = 5G
  6. # tell condor that a job is self contained and the executable
  7. # is enough to bootstrap the computation on the execute node
  8. should_transfer_files = yes
  9. # explicitly do not transfer anything back
  10. # we are using datalad for everything that matters
  11. transfer_output_files = ""
  12. # the actual job script, nothing condor-specific in it
  13. executable = $ENV(PWD)/code/participant_job
  14. # the job expects these environment variables for labeling and synchronization
  15. # - JOBID: subject AND process specific ID to make a branch name from
  16. # (must be unique across all (even multiple) submissions)
  17. # including the cluster ID will enable sorting multiple computing attempts
  18. # - DSLOCKFILE: lock (must be accessible from all compute jobs) to synchronize
  19. # write access to the output dataset
  20. # - DATALAD_GET_SUBDATASET__SOURCE__CANDIDATE__...:
  21. # (additional) locations for datalad to locate relevant subdatasets, in case
  22. # a configured URL is outdated
  23. # - GIT_AUTHOR_...: Identity information used to save dataset changes in compute
  24. # jobs
  25. environment = "\
  26. JOBID=$(subject).$(Cluster) \
  27. DSLOCKFILE=$ENV(PWD)/.condor_datalad_lock \
  28. DATALAD_GET_SUBDATASET__SOURCE__CANDIDATE__101cat='ria+http://containers.ds.inm7.de#{id}' \
  29. GIT_AUTHOR_NAME='Adina Wagner' \
  30. GIT_AUTHOR_EMAIL='adina.wagner@t-online.de' \
  31. "
  32. # place the job logs into PWD/logs, using the same name as for the result branches
  33. # (JOBID)
  34. log = $ENV(PWD)/logs/$(subject)_$(Cluster).log
  35. output = $ENV(PWD)/logs/$(subject)_$(Cluster).out
  36. error = $ENV(PWD)/logs/$(subject)_$(Cluster).err
  37. # essential args for 'participant_job'
  38. # 1: where to clone the analysis dataset
  39. # 2: location to push the result git branch to. The 'ria+' prefix is stripped.
  40. # 3: ID of the subject to process
  41. arguments = "\
  42. ria+file:///data/group/psyinf/inputstore#47a9ef9e-9fa0-49cd-873f-c51cc501da96 \
  43. /data/group/psyinf/outputstore/47a/9ef9e-9fa0-49cd-873f-c51cc501da96 \
  44. sub-$(subject) \
  45. "
  46. queue