[Clas_offline] gsim on centos62, Segmentation fault

Cole Smith lcs1h at imap.phys.virginia.edu
Sat Nov 24 17:54:45 EST 2012


According to: ldd /group/clas/builds/centos62/trunk/build/bin/gsim_bat
the executable was linked with shared libraries, which may not work on
all platforms.  What's worse, there is a mixture of shared and static 
libraries in /usr/lib64/cernlib/2006/lib.

Probably all cernlib input to gsim, including c_cern, etc. should be 
linked as static (.a) libraries.  This may work or not, depending on 
whether the linker goes ahead and sticks a Fortran common block into 
64-bit address space, in which case no cernlib pointer will find it.

Not sure if this is your problem.

Cole

On Sat, 24 Nov 2012, ephelps at jlab.org wrote:

> Has anyone been able to execute gsim on the CentOS 6.2 interactive nodes?
>
> I have tried the version at /group/clas/builds/centos62/trunk/build/bin,
> changing my environment accordingly, and I also tried recompiling
> everything, including the prerequisite cernlib, but the results were the
> same:
>
> with WS=volatile/clas/clase1/ephelps
> from, for example, $WS/genev/genev,
> executing the following:
>
> gsim_bat -ffread $WS/sim/gsim_e1f.ffread -mcin genev0129.bos -kine 1
> -bosout gsim019.bos
>
> results in "Segmentation fault" without any other messages.
>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline
>


More information about the Clas_offline mailing list