[ExM Users] multiple returns allowed in Swift/T

Ketan Maheshwari ketancmaheshwari at gmail.com
Wed Aug 7 20:03:44 CDT 2013


Hi,

I am writing some benchmark scripts. One of them is SIMO for single input
multiple output for which an app looks as follows:

app (file _outB1, file _outB2, file _outB3, file _outB4) A (file _inA1){
    "simo.sh" @_inA1 @_outB1 @_outB2 @_outB3 @_outB4;
}

Wondering if this is the right way to define multiple outputs to an app?

I am getting error message when I call the app in main{} as follows:

(file outb1 <outb1>, file outb2 <outb2>, file outb3 <outb3>, file outb4
<outb4>) = A (in_a);

The error is:

simo.swift l.22:9 mismatched input 'outb1' expecting RPAREN
simo.swift l.22:49 no viable alternative at input 'outb3'
simo.swift l.22:82 no viable alternative at input ')'
simo.swift l.22:86 mismatched input 'A' expecting GT
simo.swift l.24:0 mismatched input '}' expecting EOF
Error occurred during parsing.

Thanks for suggestions to fix this.

-- 
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20130807/7a66322e/attachment.html>


More information about the ExM-user mailing list