Usage
$ tunel run-app <server> htcondor/job
Arguments
Name | Description | Split By |
---|---|---|
cpus | The number of CPUs to allocate for the job (defaults to 1) | NA |
memory | The memory (in MB, without writing MB) for the job | NA |
disk | The disk space (also in GB, without the GB suffix) for the job | NA |
njobs | The number of jobs to launch of this type (defaults to 1) | NA |
If split by is provided, this means the argument takes a list, and you should use this as a delimiter.
Scripts
job.sh
This app uses the htcondor launcher by default.
#!/bin/bash
# job.sh: a short discovery job
# This is part of the OSG tutorial-quickstart
printf "Start time: "; /bin/date
printf "Job is running on node: "; /bin/hostname
printf "Job running as user: "; /usr/bin/id
printf "Job is running in directory: "; /bin/pwd
echo
echo "Working hard..."
sleep 30
echo "Science complete!"
Have any questions, or want to request a new app or launcher? Ask us!