[Clas_offline] gsim_bat does not run in batch farm
Jixie Zhang
jixie at jlab.org
Tue Oct 2 09:06:43 EDT 2018
Dear all,
Ahmed's solution works.
Thanks.
On Mon, Oct 1, 2018 at 2:28 PM Ahmed El Alaoui <ahmede at jlab.org> wrote:
> Hi Jixie,
>
> 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.
>
> Best regards,
> Ahmed
>
> diff gsimpar_2_bos.F(v1.13) gsimpar_2_bos.F (v1.12)
> 5c5
> < c $Id: gsimpar_2_bos.F,v 1.13 2011/08/31 22:30:44 fklein Exp $
> ---
> > c $Id: gsimpar_2_bos.F,v 1.12 2011/03/31 19:52:57 fxgirod Exp $
> 25c25
> < parameter (crevis= '$Revision: 1.13 $')
> ---
> > parameter (crevis= '$Revision: 1.12 $')
> 27,28c27,28
> < parameter (cdate= '$Date: 2011/08/31 22:30:44 $')
> < parameter (cautho= '$Author: fklein $')
> ---
> > parameter (cdate= '$Date: 2011/03/31 19:52:57 $')
> > parameter (cautho= '$Author: fxgirod $')
> 32c32
> < 1$Id: gsimpar_2_bos.F,v 1.13 2011/08/31 22:30:44 fklein Exp $
> ---
> > 1$Id: gsimpar_2_bos.F,v 1.12 2011/03/31 19:52:57 fxgirod Exp $
> 266,269c266,267
> < ival = info_arr(8)
> < call ctimef(ival,ctime_acc)
> < ival = info_arr(10)
> < call ctimef(ival,ctime_crea)
> ---
> > call ctimef(info_arr(8),ctime_acc)
> > call ctimef(info_arr(10),ctime_crea)
>
>
> On 09/30/2018 06:24 AM, Jixie Zhang wrote:
>
> Hi CLAS members,
> gsim_bat give me some trouble that I could not understand. I am
> wondering
> if any of you have similar experience. The clas_package version I am
> using is
> a pretty old version: release-4-14, but I made necessary modification to
> have it
> compiled and run in RHEL7.
>
> gsim_bat does not run in batch farm since August 2018, before that the
> same executable
> ran smoothly.
> gsim_bat encountered with "segmentation fault" when run in batch farm.
> It runs normally in interactive farm (ifarm1401 and ifarm1402) but only
> in some specified work disk. I recompiled the whole CLAS PACKAGE but this
> problem stays.
>
> After careful investigation, I found that gsim_bat can not be run in the
> following path:
>
> /work/halla/solid/*
> /work/hallc/sane/*
> /scratch/jixie/*
> /cache/halla/solid/*
> /home/jixie/*
> (I only tested the above disk|drive. the list could be even longer...)
> The error message is:
>
> --------------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 faultifarm1401.jlab.org>
>
> --------------error message end---------------------
>
> 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.
>
> However, the same executable can run in
> /work/clas/claseg4/jixie/*
> /work/halla/g2p/disk1/jixie/*
>
> Surprisingly, gsim_bat_debug works well in everywhere. gsim_bat_debug was
> compiled with -DEBUG defined, which means the source code is totally
> different.
>
> See more details of my test here:
> https://userweb.jlab.org/~jixie/gsim_bat_problem.txt
>
>
> --
> With Best Regards,
> Jixie Zhang
> 757-269-7735
> _______________________________________________
>
>
> _______________________________________________
> Clas_offline mailing listClas_offline at jlab.orghttps://mailman.jlab.org/mailman/listinfo/clas_offline
>
>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline
--
With Best Regards,
Jixie Zhang
757-269-7735
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/clas_offline/attachments/20181002/b501b53c/attachment-0001.html>
More information about the Clas_offline
mailing list