~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to makeflow/src/condor_submit_makeflow

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if [ X$1 = X ]
 
4
then
 
5
        echo "use: condor_submit_makeflow [makeflowoptions] <makeflowfile>"
 
6
        exit 1
 
7
fi
 
8
 
 
9
makeflow=`which makeflow`
 
10
if [ $? != 0 ]
 
11
then
 
12
        echo "$0: Sorry, I cannot find makeflow in your PATH."
 
13
        exit 1
 
14
fi
 
15
 
 
16
condor_submit << EOF
 
17
universe = local
 
18
cmd = $makeflow
 
19
arguments = -T condor -l makeflow.\$(CLUSTER).makeflowlog -L makeflow.\$(CLUSTER).condorlog $@
 
20
output = makeflow.\$(CLUSTER).output
 
21
error = makeflow.\$(CLUSTER).error
 
22
log = makeflow.\$(CLUSTER).condorlog
 
23
getenv = true
 
24
queue
 
25
EOF