Skip to content

Commit

Permalink
Merge pull request #167 from aaryanpatel2/main
Browse files Browse the repository at this point in the history
added +JobDurationCategory to submit files
  • Loading branch information
ChristinaLK authored Nov 18, 2024
2 parents 3afe197 + fb494ac commit 842c2ef
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/htc_workloads/specific_resources/gpu-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ in order to access the greatest amount of computing capacity.**

executable = run_gpu_job.py
#arguments =

+JobDurationCategory = "Medium"

# specify both general requirements and gpu requirements if there are any
# requirements =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ Then, a job submit file:

executable = wrapper.sh
transfer_input_files = hello

+JobDurationCategory = "Medium"

request_cpus = 4
request_memory = 1 GB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ An example submit file for an exit driven checkpointing job looks like:
output = example.out
error = example.err
log = example.log

+JobDurationCategory = "Medium"

cpu = 1
request_disk = 2 GB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ for a job that will use Samtools with a BAM file named `my-sample.bam` which is

should_transfer_files = YES
when_to_transfer_output = ON_EXIT

+JobDurationCategory = "Medium"

requirements = (OSGVO_OS_STRING == "RHEL 9")
request_memory = 1.3GB
Expand Down Expand Up @@ -436,6 +438,8 @@ for a job that will use Samtools with a Fasta file `genome.fa' and CRAM file nam

should_transfer_files = YES
when_to_transfer_output = ON_EXIT

+JobDurationCategory = "Medium"

requirements = (OSGVO_OS_STRING == "RHEL 9")
request_memory = 1.3GB
Expand Down
2 changes: 2 additions & 0 deletions documentation/software_examples/ai/scikit-learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ An example scikit-learn machine learning executable is:
# specify both general requirements and gpu requirements if there are any
# requirements = True
# require_gpus =

+JobDurationCategory = "Medium"

request_gpus = 0
request_cpus = 1
Expand Down
2 changes: 2 additions & 0 deletions documentation/software_examples/ai/tensorflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ To run this TensorFlow script, create an HTCondor submit file to tell HTCondor h

executable = run-tf.py
#arguments =

+JobDurationCategory = "Medium"

# specify both general requirements and gpu requirements if needed
# requirements = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ All together, the submit file will look something like this:
output = job.out
error = job.error

+JobDurationCategory = "Medium"

request_cpus = 1
request_memory = 2GB
request_disk = 2GB
Expand Down Expand Up @@ -141,6 +143,8 @@ As an example:
output = job.out
error = job.error

+JobDurationCategory = "Medium"

request_cpus = 1
request_memory = 2GB
request_disk = 2GB
Expand Down

0 comments on commit 842c2ef

Please sign in to comment.