Hi Dev, 

I am working on a astronomy (One degree imager-ODI ) workflow  where we have a 
requirement of For Each. Application inside the workflow need to be run for 
every outputs but there are multiple outputs from the previous application in 
the workflow.  For each is designed to work on Array list of outputs and to run 
multiple instance of same application for each output in the array. Our current 
implementation only deal with URIArray when outputs are written to outputData 
folder. In this case also outputs are written there but there are different 
outputs so my recommendation to application developer was to write the output 
parameter multiple time to stdout file [see below] . GFAC can read the stdout 
file for same output parameter and generate output Array for for-each node. As 
we have StringArray, DoubleArray, BooleanArray etc and we are not use any of 
those. I am thinking of handling this as StringArray if there are no 
objections.  Suggestions?

Application stdout

CallPipeList=/scratch/01437/ogce/newrun/Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/CallPipeList1
CallPipeList=/scratch/01437/ogce/newrun/Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/CallPipeList2
CallPipeList=/scratch/01437/ogce/newrun/Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/CallPipeList3
processLogs=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/processLogs.txt
outList=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/outList.txt
dataLogs=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/dataLogs.txt
parent=
exitStatus=2 NOPIPE 6 t HALT "subpipeline not available"
exitBB=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/exitBB.txt
restoreBB=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/restoreBB.txt
datasets=/scratch/01437/ogce/newrun//Lonestar_application_Mon_Aug_27_09_50_27_EDT_2012_ee954a79-d9ff-4757-8c0a-f6946d60b0e1/outputData/datasets.txt

Thanks
Raminder

Reply via email to