Print

Print


Hello, Holly.

This could be any number of things.

To debug this, you can use the GDB debugger, which should be present on your system.  (Linux?)

These commands will setup your local slic installation and launch the debugger.

. init_ilcsoft.sh
gdb `which slic`

Then from within the gdb prompt that opens type the following:

set args -g ~/hps-detectors/detectors/HPS-TestRun-v3/HPS-TestRun-v3.lcdd -i ~/egs_5.5gev_0.0018x0_2bb_90na_01.stdhep -x -o output_trial -r 100
r

The first command sets the arguments and the second 'r' will run the program.

When the Seg Fault occurs and the program halts, type into the terminal:

bt 

...which will give you a detailed backtrace.

This debug output you can send back in an email, as it should point to where the problem is happening.  Hopefully, that will be enough to pinpoint the problem, but if not I'll try to reproduce it myself.

BTW, where did you get the .stdhep file?  Was this something you generated yourself or is it from a set of standard HPS event samples?

--Jeremy

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Holly Szumila-Vance
Sent: Thursday, November 14, 2013 1:28 PM
To: hps-software
Subject: SLIC install

Hello hps-software,

I am still working on a getting a good local install of slic. Everything compiled fine, but I have issues using slic. No matter the detector  or input files, the results are always a "segmentation fault (core dumped)". I am certain it is in my install, but as everything is up to date, I am really not sure where the problem is. 

Started Run Timer.
>>>> BeginRun <0>
Creating new LCIO file: ./output_trial.slcio Detector name set to <HPS-TestRun-v3> in run header.
StdHep file </home/holly/egs_5.5gev_0.0018x0_2bb_90na_01.stdhep> opened with <999947> events.
>>>> BeginEvent <0>
Segmentation fault (core dumped)

This was after I ran:
slic -g ~/hps-detectors/detectors/HPS-TestRun-v3/HPS-TestRun-v3.lcdd -i ~/egs_5.5gev_0.0018x0_2bb_90na_01.stdhep -x -o output_trial -r 100


Holly


________________________________


Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1