<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I dunno if this fix ever got sent out to the listserv, and I lost the original email I sent, but here's one a few emails later. <div><br></div><div> - Paul<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Paul Mattione <<a href="mailto:pmatt@jlab.org">pmatt@jlab.org</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">September 9, 2013 5:05:52 PM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Dennis Weygand <<a href="mailto:weygand@jlab.org">weygand@jlab.org</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Cc: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Johann Goetz <<a href="mailto:theodore.goetz@gmail.com">theodore.goetz@gmail.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [Clas_offline] unresolved issue with user_ana and Centos62 batch farm</b><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Well, the line it crashes on is the "read" line below (recsis/retcl_yield.F):</div><div><br></div><div> if (nbyt .gt. 0) then</div><div> read(*,13, end=999)cline</div><div><br></div><div>So it's whatever fortran "read" with "*" as the first argument means (I thought it was command line, but maybe it is stdin, I dunno). </div><div><br></div><div> - Paul</div><br><div><div>On Sep 9, 2013, at 5:02 PM, Dennis Weygand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Paul,<div><br></div><div>Did you mean 'command line'? or stdin?</div><div>Dennis</div><div><br></div><div><br><div><div>On Sep 9, 2013, at 4:54 PM, Paul Mattione wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>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). <br><br>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):<br><br> IF (LINTER) THEN<br> call asynck_c(nbyt)<br> else<br> nbyt = 1<br> endif<br><br>to:<br><br> IF (LINTER) THEN<br> call asynck_c(nbyt)<br> else<br> nbyt = 0<br> endif<br><br>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). <br><br>I realize this isn't an ideal fix, but maybe it'll get things working for other people. Let me know if it does. <br><br> - Paul<br><br>On Sep 9, 2013, at 9:14 AM, Silvia Niccolai wrote:<br><br><blockquote type="cite">Dear Dennis and John,<br></blockquote><blockquote type="cite">we have managed to run the whole set of executables that are needed for <br></blockquote><blockquote type="cite">our MC jobs (event generator, GSIM, GPP, user_ana) on the **interactive** <br></blockquote><blockquote type="cite">Centos62 machine. Everything seems to be working fine and we are getting <br></blockquote><blockquote type="cite">consistent results with what was obtained running the full simulation <br></blockquote><blockquote type="cite">chain on Centos53.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">However, there are problems when moving onto the batch farm. My <br></blockquote><blockquote type="cite">student has met the same problem that was reported a week or so ago by <br></blockquote><blockquote type="cite">Kijun Park (and Kijun has confirmed us that his problem has not been <br></blockquote><blockquote type="cite">solved yet). The original email from Kijun is reported here. Did any of <br></blockquote><blockquote type="cite">you have a chance to look into this?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It seems like user_ana crashes while the routine retcl_yield.F tries to <br></blockquote><blockquote type="cite">read the tcl file. Why does this crash happen only when running on the <br></blockquote><blockquote type="cite">batch farm and not on the interactive one? Is there any difference from <br></blockquote><blockquote type="cite">ifarm1102 and the batch ones? I have no idea...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The line 100 of retcl_yield.F reads:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> read(*,13, end=999)cline<br></blockquote><blockquote type="cite"> 13 format(a200)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">My FORTRAN knowledge is a bit too stale lately to start looking into <br></blockquote><blockquote type="cite">this in a useful way.<br></blockquote><blockquote type="cite">And it seems like Kijun and Nerses have already spent quite some time <br></blockquote><blockquote type="cite">trying to look into this without finding a solution. If anyone has any <br></blockquote><blockquote type="cite">idea, it would be great. It could be another step ahead towards <br></blockquote><blockquote type="cite">actually managing to use the Centos62 farm (at today, used only at <br></blockquote><blockquote type="cite">40%, while the "old" farm is overloaded...).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you all and best regards,<br></blockquote><blockquote type="cite">Silvia<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On 08/30/2013 03:52 PM, KiJun Park wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hello All,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Do you have any idea to resolve the following issue ?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">This is an error from "user_ana" running under a batch-farm.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Meantime, I didn't have any problem same code under<br></blockquote></blockquote></blockquote><blockquote type="cite">ifarm1102(interactively).<br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I have checked all envi. setup both cases but nothing wrong so far...<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thank you in advance for nay help.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">At line 100 of file reconstruction/recsis/retcl_yield.F (unit = 5, file<br></blockquote></blockquote></blockquote><blockquote type="cite">= 'stdin')<br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Fortran runtime error: Sequential READ or WRITE not allowed after EOF<br></blockquote></blockquote></blockquote><blockquote type="cite">marker, possibly use REWIND or BACKSPACE<br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cp: cannot stat `clas.A00': No such file or directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cp: cannot stat `clas.A00': No such file or directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cp: cannot stat `eventtag': No such file or directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">cp: cannot stat `eventtag': No such file or directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">tput: No value for $TERM and no -T specified<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">stty: standard input: Invalid argument<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Sincerely yours,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Kijun<br></blockquote></blockquote></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Clas_offline mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br></blockquote><blockquote type="cite"><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br></blockquote><br></div></blockquote></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Dennis Weygand</div><div><a href="mailto:weygand@jlab.org">weygand@jlab.org</a></div><div>(757) 269-5926 (office)</div><div>(757) 870-4844 (cell)</div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></div><br class="Apple-interchange-newline">
</div>
<br></div></div></blockquote></div><br></div></blockquote></div><br></div></body></html>