<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Had anyone ever seen this error?<br><div><br><font class="Apple-style-span" color="#144fae"><br></font>Any ideas? <br><font class="Apple-style-span" color="#144fae"><br></font>SWIFT_HOME=/soft/swift/0.94-2012.1102<br><font class="Apple-style-span" color="#144fae"><br></font>ERROR:<br>Could not start execution:<br> Error reading source: org.globus.cog.karajan.parser.ParsingException: Exception executing org.globus.cog.karajan.translator.atoms.Named@2cca7081:<br> org.globus.cog.karajan.parser.ParsingException: Exception executing org.globus.cog.karajan.translator.atoms.Named@2cca7081:<br> Exception executing org.globus.cog.karajan.translator.atoms.Named@2cca7081:<br> Exception executing org.globus.cog.karajan.translator.atoms.Named@2cca7081:<br> org.globus.cog.karajan.translator.atoms.SingleLineComment$Eval cannot be cast to org.globus.cog.karajan.translator.atoms.Identifier$Eval<br></div><div><br></div><div><div>type file;</div><div><br></div><div>string MCRPath = "/soft/matlab/7.13";</div><div>string spikefilename = "X.mat";</div><div>string packedfilename = "glm_aic_results_";</div><div><br></div><div>app (file packlog, file packeddata) packdemo (string mcr, int nchn, file datafile, string dir)</div><div>{</div><div> PackWrapper mcr nchn 60 @filename(datafile) dir;</div><div>}</div><div><br></div><div>app (file outdata,file result) causaltest (string mcr, int nchn, int target, int trigger, file datafile, file packed, string dir)</div><div>{</div><div> causalCoreWrapper mcr nchn target trigger @filename(datafile) @filename(packed) dir;</div><div>}</div><div><br></div><div>string WinDirs[] = ["trans11/Win2/","trans11/Win1/","trans11/Win3/","trans12/Win3/","trans12/Win2/","trans12/Win1/","trans11_s1/Win1/","trans11_s1/Win2/","trans11_s1/Win3/","trans11_s2/Win1/","trans11_s2/Win2/","trans11_s2/Win3/","trans11_s3/Win1/","trans11_s3/Win2/","trans11_s3/Win3/","trans11_s4/Win1/","trans11_s4/Win2/","trans11_s4/Win3/","trans11_s5/Win1/","trans11_s5/Win2/","trans11_s5/Win3/","trans11_s6/Win1/","trans11_s6/Win2/","trans11_s6/Win3/","trans11_s7/Win1/","trans11_s7/Win2/","trans11_s7/Win3/","trans11_s8/Win1/","trans11_s8/Win2/","trans11_s8/Win3/","trans11_s9/Win1/","trans11_s9/Win2/","trans11_s9/Win3/","trans11_s10/Win1/","trans11_s10/Win2/","trans11_s10/Win3/","trans11_s100/Win1/","trans11_s100/Win2/","trans11_s100/Win3/","trans11_s99/Win1/","trans11_s99/Win2/","trans11_s99/Win3/","trans11_s98/Win1/","trans11_s98/Win2/","trans11_s98/Win3/","trans11_s97/Win1/","trans11_s97/Win2/","trans11_s97/Win3/","trans11_s96/Win1/","trans11_s96/Win2/","trans11_s96/Win3/","trans11_s95/Win1/","trans11_s95/Win2/","trans11_s95/Win3/","trans11_s94/Win1/","trans11_s94/Win2/","trans11_s94/Win3/","trans11_s93/Win1/","trans11_s93/Win2/","trans11_s93/Win3/","trans11_s92/Win1/","trans11_s92/Win2/","trans11_s92/Win3/","trans11_s91/Win1/","trans11_s91/Win2/","trans11_s91/Win3/","trans11_s90/Win1/","trans11_s90/Win2/","trans11_s90/Win3/","trans11_s89/Win1/","trans11_s89/Win2/","trans11_s89/Win3/","trans11_s88/Win1/","trans11_s88/Win2/","trans11_s88/Win3/","trans11_s87/Win1/","trans11_s87/Win2/","trans11_s87/Win3/","trans11_s86/Win1/","trans11_s86/Win2/","trans11_s86/Win3/","trans11_s85/Win1/","trans11_s85/Win2/","trans11_s85/Win3/","trans11_s84/Win1/","trans11_s84/Win2/","trans11_s84/Win3/","trans11_s83/Win1/","trans11_s83/Win2/","trans11_s83/Win3/","trans11_s82/Win1/","trans11_s82/Win2/","trans11_s82/Win3/","trans11_s81/Win1/","trans11_s81/Win2/","trans11_s81/Win3/","trans11_s80/Win1/","trans11_s80/Win2/","trans11_s80/Win3/","trans11_s79/Win1/","trans11_s79/Win2/","trans11_s79/Win3/","trans11_s78/Win1/","trans11_s78/Win2/","trans11_s78/Win3/","trans11_s77/Win1/","trans11_s77/Win2/","trans11_s77/Win3/","trans11_s76/Win1/","trans11_s76/Win2/","trans11_s76/Win3/","trans11_s75/Win1/","trans11_s75/Win2/","trans11_s75/Win3/","trans11_s74/Win1/","trans11_s74/Win2/","trans11_s74/Win3/","trans11_s73/Win1/","trans11_s73/Win2/","trans11_s73/Win3/","trans11_s72/Win1/","trans11_s72/Win2/","trans11_s72/Win3/","trans11_s71/Win1/","trans11_s71/Win2/","trans11_s71/Win3/","trans11_s70/Win1/","trans11_s70/Win2/","trans11_s70/Win3/","trans11_s69/Win1/","trans11_s69/Win2/","trans11_s69/Win3/","trans11_s68/Win1/","trans11_s68/Win2/","trans11_s68/Win3/","trans11_s67/Win1/","trans11_s67/Win2/","trans11_s67/Win3/","trans11_s66/Win1/","trans11_s66/Win2/","trans11_s66/Win3/","trans11_s65/Win1/","trans11_s65/Win2/","trans11_s65/Win3/","trans11_s64/Win1/","trans11_s64/Win2/","trans11_s64/Win3/","trans11_s63/Win1/","trans11_s63/Win2/","trans11_s63/Win3/","trans11_s62/Win1/","trans11_s62/Win2/","trans11_s62/Win3/","trans11_s61/Win1/","trans11_s61/Win2/","trans11_s61/Win3/","trans11_s60/Win1/","trans11_s60/Win2/","trans11_s60/Win3/","trans11_s59/Win1/","trans11_s59/Win2/","trans11_s59/Win3/","trans11_s58/Win1/","trans11_s58/Win2/","trans11_s58/Win3/","trans11_s57/Win1/","trans11_s57/Win2/","trans11_s57/Win3/","trans11_s56/Win1/","trans11_s56/Win2/","trans11_s56/Win3/","trans11_s55/Win1/","trans11_s55/Win2/","trans11_s55/Win3/","trans11_s54/Win1/","trans11_s54/Win2/","trans11_s54/Win3/","trans11_s53/Win1/","trans11_s53/Win2/","trans11_s53/Win3/","trans11_s52/Win1/","trans11_s52/Win2/","trans11_s52/Win3/","trans11_s51/Win1/","trans11_s51/Win2/","trans11_s51/Win3/","trans11_s50/Win1/","trans11_s50/Win2/","trans11_s50/Win3/","trans11_s49/Win1/","trans11_s49/Win2/","trans11_s49/Win3/","trans11_s48/Win1/","trans11_s48/Win2/","trans11_s48/Win3/","trans11_s47/Win1/","trans11_s47/Win2/","trans11_s47/Win3/","trans11_s46/Win1/","trans11_s46/Win2/","trans11_s46/Win3/","trans11_s45/Win1/","trans11_s45/Win2/","trans11_s45/Win3/","trans11_s44/Win1/","trans11_s44/Win2/","trans11_s44/Win3/","trans11_s43/Win1/","trans11_s43/Win2/","trans11_s43/Win3/","trans11_s42/Win1/","trans11_s42/Win2/","trans11_s42/Win3/","trans11_s41/Win1/","trans11_s41/Win2/","trans11_s41/Win3/","trans11_s40/Win1/","trans11_s40/Win2/","trans11_s40/Win3/","trans11_s39/Win1/","trans11_s39/Win2/","trans11_s39/Win3/","trans11_s38/Win1/","trans11_s38/Win2/","trans11_s38/Win3/","trans11_s37/Win1/","trans11_s37/Win2/","trans11_s37/Win3/","trans11_s36/Win1/","trans11_s36/Win2/","trans11_s36/Win3/","trans11_s35/Win1/","trans11_s35/Win2/","trans11_s35/Win3/","trans11_s34/Win1/","trans11_s34/Win2/","trans11_s34/Win3/","trans11_s33/Win1/","trans11_s33/Win2/","trans11_s33/Win3/","trans11_s32/Win1/","trans11_s32/Win2/","trans11_s32/Win3/","trans11_s31/Win1/","trans11_s31/Win2/","trans11_s31/Win3/","trans11_s30/Win1/","trans11_s30/Win2/","trans11_s30/Win3/","trans11_s29/Win1/","trans11_s29/Win2/","trans11_s29/Win3/","trans11_s28/Win1/","trans11_s28/Win2/","trans11_s28/Win3/","trans11_s27/Win1/","trans11_s27/Win2/","trans11_s27/Win3/","trans11_s26/Win1/","trans11_s26/Win2/","trans11_s26/Win3/","trans11_s25/Win1/","trans11_s25/Win2/","trans11_s25/Win3/","trans11_s24/Win1/","trans11_s24/Win2/","trans11_s24/Win3/","trans11_s23/Win1/","trans11_s23/Win2/","trans11_s23/Win3/","trans11_s22/Win1/","trans11_s22/Win2/","trans11_s22/Win3/","trans11_s21/Win1/","trans11_s21/Win2/","trans11_s21/Win3/","trans11_s20/Win1/","trans11_s20/Win2/","trans11_s20/Win3/","trans11_s19/Win1/","trans11_s19/Win2/","trans11_s19/Win3/","trans11_s18/Win1/","trans11_s18/Win2/","trans11_s18/Win3/","trans11_s17/Win1/","trans11_s17/Win2/","trans11_s17/Win3/","trans11_s16/Win1/","trans11_s16/Win2/","trans11_s16/Win3/","trans11_s15/Win1/","trans11_s15/Win2/","trans11_s15/Win3/","trans11_s14/Win1/","trans11_s14/Win2/","trans11_s14/Win3/","trans11_s13/Win1/","trans11_s13/Win2/","trans11_s13/Win3/","trans11_s12/Win1/","trans11_s12/Win2/","trans11_s12/Win3/","trans11_s11/Win1/","trans11_s11/Win2/","trans11_s11/Win3/"];</div><div>string MaxChnWin[] = ["71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71","71"];</div><div><br></div><div>foreach win, iwin in WinDirs {</div><div> # Map the input file and the packed file, both unique for each window</div><div> file spikes <single_file_mapper; file=@strcat(win,spikefilename)>;</div><div> file packedout <single_file_mapper; file=@strcat(win,packedfilename,MaxChnWin[iwin],".mat")>;</div><div> file packedlog <single_file_mapper; file=@strcat(win,packedfilename,MaxChnWin[iwin],".log")>;</div></div><div><br></div><div><div> (packedlog, packedout) = packdemo (MCRPath, , spikes, win);</div><div><br></div><div> # determine the size of the trigger and chn (target) arrays</div><div> int chnvec[] = [1:MaxChnWin[iwin]];</div><div> int trgvec[] = [1:MaxChnWin[iwin]];</div><div><br></div><div> foreach chn in chnvec {</div><div> # Create a Map the files for all triggers</div><div> file causalout[] <simple_mapper; prefix=@strcat(win,"ECM_AIC_target", chn, "_trigger"),suffix=".mat")>;</div><div> file causallog[] <simple_mapper; prefix=@strcat(win,"target", chn, "trigger"),suffix=".log")>;</div><div><br></div><div> foreach trg in trgvec {</div><div><br></div><div> (causallog[trg],causalout[trg]) = causaltest (MCRPath, , chn, trg, spikes, packedout, win);</div><div> }</div><div> }</div><div><br></div><div><br></div><div>}</div></div><div><br></div><div><br></div><div><br></div></body></html>