<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Jixie,<br>
<br>
I had the same issue few months ago. The problem can be fixed if you
use the the version 1.13 of gsim/gsimpar_2_bos.F instead of the 1.12
version.<br>
<div class="moz-cite-prefix"><br>
Best regards,<br>
Ahmed<br>
<br>
diff gsimpar_2_bos.F(v1.13) gsimpar_2_bos.F (v1.12)<br>
5c5<br>
< c $Id: gsimpar_2_bos.F,v 1.13 2011/08/31 22:30:44 fklein Exp
$<br>
---<br>
> c $Id: gsimpar_2_bos.F,v 1.12 2011/03/31 19:52:57 fxgirod
Exp $<br>
25c25<br>
< parameter (crevis= '$Revision: 1.13 $')<br>
---<br>
> parameter (crevis= '$Revision: 1.12 $')<br>
27,28c27,28<br>
< parameter (cdate= '$Date: 2011/08/31 22:30:44 $')<br>
< parameter (cautho= '$Author: fklein $')<br>
---<br>
> parameter (cdate= '$Date: 2011/03/31 19:52:57 $')<br>
> parameter (cautho= '$Author: fxgirod $')<br>
32c32<br>
< 1$Id: gsimpar_2_bos.F,v 1.13 2011/08/31 22:30:44 fklein
Exp $<br>
---<br>
> 1$Id: gsimpar_2_bos.F,v 1.12 2011/03/31 19:52:57 fxgirod
Exp $<br>
266,269c266,267<br>
< ival = info_arr(8)<br>
< call ctimef(ival,ctime_acc)<br>
< ival = info_arr(10)<br>
< call ctimef(ival,ctime_crea)<br>
---<br>
> call ctimef(info_arr(8),ctime_acc)<br>
> call ctimef(info_arr(10),ctime_crea)<br>
<br>
<br>
On 09/30/2018 06:24 AM, Jixie Zhang wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGz-G1wAi4zcmF+h2WV-fOJUD9fwcW++ye0jtcnk91jLGShncA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div dir="ltr">
<div>Hi CLAS members,</div>
<div> gsim_bat give me some trouble that I could not
understand. I am wondering</div>
<div>if any of you have similar experience. The clas_package
version I am using is <br>
</div>
<div>a pretty old version: release-4-14, but I made necessary
modification to have it</div>
<div>compiled and run in RHEL7.<br>
</div>
<div><br>
</div>
<div> gsim_bat does not run in batch farm since August 2018,
before that the same executable</div>
<div> ran smoothly. <br>
</div>
<div>gsim_bat encountered with "segmentation fault" when run
in batch farm. <br>
</div>
<div>It runs normally in interactive farm (ifarm1401 and
ifarm1402) but only
<div>in some specified work disk. I recompiled the whole
CLAS PACKAGE but this <br>
</div>
<div>problem stays.<br>
</div>
<div><br>
</div>
<div>After careful investigation, I found that gsim_bat can
not be run in the following path:</div>
<div><br>
</div>
<div>/work/halla/solid/*</div>
<div>/work/hallc/sane/*</div>
<div>/scratch/jixie/*</div>
<div>/cache/halla/solid/*</div>
<div>/home/jixie/*<br>
</div>
<div>(I only tested the above disk|drive. the list could be
even longer...)<br>
</div>
<div>The error message is:</div>
<div>
<pre>--------------error message start---------------------
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7FB9ADAC3467
#1 0x7FB9ADAC3AAE
#2 0x7FB9ACFCA66F
#3 0x7FB9AD02A13F
#4 0x625AD5 in ctimef_
#5 0x41AA65 in gsimpar_2_bos_
#6 0x4076CF in uginit_
#7 0x4058D3 in MAIN__ at gsim_bat.F:?
Segmentation fault
<a href="http://ifarm1401.jlab.org" target="_blank" moz-do-not-send="true">ifarm1401.jlab.org</a>>
</pre>
<div>
<pre>--------------error message end---------------------</pre>
</div>
</div>
<div>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.</div>
<div><br>
</div>
<div>However, the same executable can run in <br>
</div>
<div>/work/clas/claseg4/jixie/*</div>
<div>/work/halla/g2p/disk1/jixie/*</div>
<div><br>
</div>
<div>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>
</div>
<div><br>
</div>
<div>See more details of my test here: <a
href="https://userweb.jlab.org/%7Ejixie/gsim_bat_problem.txt"
target="_blank" moz-do-not-send="true">https://userweb.jlab.org/~jixie/gsim_bat_problem.txt</a></div>
</div>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
-- <br>
<div dir="ltr" class="gmail_signature">With Best Regards,<br>
Jixie Zhang<br>
757-269-7735 <br>
_______________________________________________</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Clas_offline mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a></pre>
</blockquote>
<br>
</body>
</html>