<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hello Georgie,</div><div>This problem was found and finally solved a year or more ago by Paul Mattione (see email below). I thought that Paul's fix had been put into svn, but maybe it didn't...which version of user_ana are you using?</div><div>Best regards</div><div>Silvia<br><br>Sent from my iPhone</div><div><br>Begin forwarded message:<br><br></div><blockquote type="cite"><div><b>From:</b> Paul Mattione <<a href="mailto:pmatt@jlab.org">pmatt@jlab.org</a>><br><b>Date:</b> 9 Sep 2013 22:54:29 CEST<br><b>To:</b> Silvia Niccolai <<a href="mailto:silvia@jlab.org">silvia@jlab.org</a>><br><b>Cc:</b> Dennis Weygand <<a href="mailto:weygand@jlab.org">weygand@jlab.org</a>>, John Goetz <<a href="mailto:goetz@jlab.org">goetz@jlab.org</a>>, <a href="mailto:clas_offline@jlab.org">clas_offline@jlab.org</a>, <a href="mailto:garillon@ipno.in2p3.fr">garillon@ipno.in2p3.fr</a><br><b>Subject:</b> <b>Re: [Clas_offline] unresolved issue with user_ana and Centos62 batch farm</b><br><br></div></blockquote><blockquote type="cite"><div><span>I have the same problem as well, and I think I may have found a kludge to avoid it (it doesn't "fix" it though). </span><br><span></span><br><span>My understanding is that in this part of the code, recsis tries to read in tcl arguments from the command line. Since we don't want to do this in a batch job anyway, in recsis/retcl_yield.F, just before the crash at line 100, I changed the lines (in my personal build):</span><br><span></span><br><span> IF (LINTER) THEN</span><br><span> call asynck_c(nbyt)</span><br><span> else</span><br><span> nbyt = 1</span><br><span> endif</span><br><span></span><br><span>to:</span><br><span></span><br><span> IF (LINTER) THEN</span><br><span> call asynck_c(nbyt)</span><br><span> else</span><br><span> nbyt = 0</span><br><span> endif</span><br><span></span><br><span>This skips the check-the-command-line section of the code entirely, and appears to be working for me (although I have some other issues to iron out on my monte-carlo so I'm not completely sure yet). </span><br><span></span><br><span>I realize this isn't an ideal fix, but maybe it'll get things working for other people. Let me know if it does. </span><br><span></span><br><span> - Paul</span><br><span></span><br><span>On Sep 9, 2013, at 9:14 AM, Silvia Niccolai wrote:</span><br><span></span><br><blockquote type="cite"><span>Dear Dennis and John,</span><br></blockquote><blockquote type="cite"><span>we have managed to run the whole set of executables that are needed for </span><br></blockquote><blockquote type="cite"><span>our MC jobs (event generator, GSIM, GPP, user_ana) on the **interactive** </span><br></blockquote><blockquote type="cite"><span>Centos62 machine. Everything seems to be working fine and we are getting </span><br></blockquote><blockquote type="cite"><span>consistent results with what was obtained running the full simulation </span><br></blockquote><blockquote type="cite"><span>chain on Centos53.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>However, there are problems when moving onto the batch farm. My </span><br></blockquote><blockquote type="cite"><span>student has met the same problem that was reported a week or so ago by </span><br></blockquote><blockquote type="cite"><span>Kijun Park (and Kijun has confirmed us that his problem has not been </span><br></blockquote><blockquote type="cite"><span>solved yet). The original email from Kijun is reported here. Did any of </span><br></blockquote><blockquote type="cite"><span>you have a chance to look into this?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>It seems like user_ana crashes while the routine retcl_yield.F tries to </span><br></blockquote><blockquote type="cite"><span>read the tcl file. Why does this crash happen only when running on the </span><br></blockquote><blockquote type="cite"><span>batch farm and not on the interactive one? Is there any difference from </span><br></blockquote><blockquote type="cite"><span>ifarm1102 and the batch ones? I have no idea...</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>The line 100 of retcl_yield.F reads:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span> read(*,13, end=999)cline</span><br></blockquote><blockquote type="cite"><span> 13 format(a200)</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>My FORTRAN knowledge is a bit too stale lately to start looking into </span><br></blockquote><blockquote type="cite"><span>this in a useful way.</span><br></blockquote><blockquote type="cite"><span>And it seems like Kijun and Nerses have already spent quite some time </span><br></blockquote><blockquote type="cite"><span>trying to look into this without finding a solution. If anyone has any </span><br></blockquote><blockquote type="cite"><span>idea, it would be great. It could be another step ahead towards </span><br></blockquote><blockquote type="cite"><span>actually managing to use the Centos62 farm (at today, used only at </span><br></blockquote><blockquote type="cite"><span>40%, while the "old" farm is overloaded...).</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thank you all and best regards,</span><br></blockquote><blockquote type="cite"><span>Silvia</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>On 08/30/2013 03:52 PM, KiJun Park wrote:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Hello All,</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Do you have any idea to resolve the following issue ?</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>This is an error from "user_ana" running under a batch-farm.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Meantime, I didn't have any problem same code under</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><span>ifarm1102(interactively).</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>I have checked all envi. setup both cases but nothing wrong so far...</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Thank you in advance for nay help.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>At line 100 of file reconstruction/recsis/retcl_yield.F (unit = 5, file</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><span>= 'stdin')</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Fortran runtime error: Sequential READ or WRITE not allowed after EOF</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><span>marker, possibly use REWIND or BACKSPACE</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>cp: cannot stat `clas.A00': No such file or directory</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>cp: cannot stat `clas.A00': No such file or directory</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>cp: cannot stat `eventtag': No such file or directory</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>cp: cannot stat `eventtag': No such file or directory</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>tput: No value for $TERM and no -T specified</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>stty: standard input: Invalid argument</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Sincerely yours,</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Kijun</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Clas_offline mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a></span><br></blockquote><span></span><br></div></blockquote></div></body></html>