Subject: DUCC job Issue


Below is a simple python script that runs two jobs sequentially.

Lou.

=====

#!/usr/bin/env python

import os

ducc_home = '/user/ducc/ducc_runtime'
cmd_submit = os.path.join(ducc_home,'bin/ducc_submit')

jobA = 'examples/simple/1.job'
jobB = 'examples/simple/1.dd.job'

file_jobA = os.path.join(ducc_home,jobA)
file_jobB = os.path.join(ducc_home,jobB)

run_jobA = cmd_submit+' -f '+file_jobA+' '+'--wait_for_completion'
run_jobB = cmd_submit+' -f '+file_jobB+' '+'--wait_for_completion'

print 'jobA: submit '+jobA
result = os.system(run_jobA)
print 'jobA: '+str(result)
print 'jobB: submit '+jobB
result = os.system(run_jobA)
print 'jobB: '+str(result)

On Fri, Apr 20, 2018 at 9:34 AM, Eddie Epstein <[EMAIL PROTECTED]> wrote: