<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello Jixie and Zhiwen,<div class=""><br class=""></div><div class="">I have a working container available on the farm which can be used with singularity. It would be interesting to see if the problem persists in the container environment. </div><div class=""><br class=""></div><div class="">You should be able to test it by loading singularity with:</div><div class="">module load singularity</div><div class=""><br class=""></div><div class="">And then running:</div><div class="">singularity shell /work/clas/clase1/tylern/clas6.img</div><div class=""><br class=""></div><div class="">This will give you a shell with all the clas software available in the path.</div><div class=""><br class=""></div><div class="">I agree though there is some work that needs to be done if this is going to be the solution. At the moment I’m using a precompiled version of cernlib and have not been able to compile cernlib in the container. If anyone has any knowledge on compiling cernlib that would be greatly appreciated. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Nick</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 1, 2018, at 2:19 PM, Zhiwen Zhao <<a href="mailto:zwzhao@jlab.org" class="">zwzhao@jlab.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Hi, Jixie</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">I think the debugging and interpreting the result on new farm using old software is a never ending process.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Nick made a clas6 software docker image which could be the ultimate way of running old software and have the same result as the old farm did</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://github.com/tylern4/docker-clas6/blob/master/README.md" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://github.com/tylern4/docker-clas6/blob/master/README.md</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">There are some work needed if the collaboration wants to make this the official way.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Zhiwen</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On 9/30/2018 5:24 AM, Jixie Zhang wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Hi CLAS members,<br class=""> <span class="Apple-converted-space"> </span>gsim_bat  give me some trouble that I could not understand. I am wondering<br class="">if any of you have similar experience.  The clas_package version I am using is<br class="">a pretty old version: release-4-14, but I made necessary modification to have it<br class="">compiled and run in RHEL7.<br class=""> <span class="Apple-converted-space"> </span>gsim_bat does not run in batch farm since August 2018, before that the same executable<br class="">ran smoothly.<br class="">gsim_bat encountered with "segmentation fault" when run in batch farm.<br class="">It runs normally in interactive farm (ifarm1401 and ifarm1402) but only<br class="">in some specified work disk. I recompiled the whole CLAS PACKAGE but this<br class="">problem stays.<br class="">After careful investigation, I found that gsim_bat can not be run in the following path:<br class="">/work/halla/solid/*<br class="">/work/hallc/sane/*<br class="">/scratch/jixie/*<br class="">/cache/halla/solid/*<br class="">/home/jixie/*<br class="">(I only tested the above disk|drive. the list could be even longer...)<br class="">The error message is:<br class="">--------------error message start---------------------<br class="">Program received signal SIGSEGV: Segmentation fault - invalid memory reference.<br class="">Backtrace for this error:<br class="">#0  0x7FB9ADAC3467<br class="">#1  0x7FB9ADAC3AAE<br class="">#2  0x7FB9ACFCA66F<br class="">#3  0x7FB9AD02A13F<br class="">#4  0x625AD5 in ctimef_<br class="">#5  0x41AA65 in gsimpar_2_bos_<br class="">#6  0x4076CF in uginit_<br class="">#7  0x4058D3 in MAIN__ at gsim_bat.F:?<br class="">Segmentation fault<br class=""><a href="http://ifarm1401.jlab.org/" class="">ifarm1401.jlab.org</a><span class="Apple-converted-space"> </span><<a href="http://ifarm1401.jlab.org/" class="">http://ifarm1401.jlab.org</a>>><br class="">--------------error message end---------------------<br class="">The error message told that the problem happen at calling ctimef() subroutine, which comes from cernlib.  I do not trust this error message too much.<br class="">However, the same executable can run in<br class="">/work/clas/claseg4/jixie/*<br class="">/work/halla/g2p/disk1/jixie/*<br class="">Surprisingly, gsim_bat_debug works well in everywhere. gsim_bat_debug was compiled with -DEBUG defined, which means the source code is totally different.<br class="">See more details of my test here:<span class="Apple-converted-space"> </span><a href="https://userweb.jlab.org/~jixie/gsim_bat_problem.txt" class="">https://userweb.jlab.org/~jixie/gsim_bat_problem.txt</a><span class="Apple-converted-space"> </span><<a href="https://userweb.jlab.org/%7Ejixie/gsim_bat_problem.txt" class="">https://userweb.jlab.org/%7Ejixie/gsim_bat_problem.txt</a>><br class="">--<span class="Apple-converted-space"> </span><br class="">With Best Regards,<br class="">Jixie Zhang<br class=""><a href="tel:757-269-7735" class="">757-269-7735</a><br class="">_______________________________________________<br class="">_______________________________________________<br class="">Clas_offline mailing list<br class=""><a href="mailto:Clas_offline@jlab.org" class="">Clas_offline@jlab.org</a><br class=""><a href="https://mailman.jlab.org/mailman/listinfo/clas_offline" class="">https://mailman.jlab.org/mailman/listinfo/clas_offline</a></blockquote></div></blockquote></div><br class=""></div></body></html>