Privacy and Security Notice

Archived Messages for EGN_CALCOM_1996@cebaf.gov: GSIM

GSIM

coleman@wmspin.physics.wm.edu
Sun, 09 Jun 1996 18:52:17 -0400

To whom it may be of interest. I have been for the better part of a
month been trying to get GSIM to swallow a couple of files from=20
CELEG using the lizin format. The files consist of ep scattering with=
=20
resonances and decays on. The latest file being used has the=20
electrons removed from it. Anyway the following couple of pages
describe how I've tried to build GSIM, run it, and what errors I
can find using the HP debugger.=20
=09Does anybody know where the GEANT files are located?
I intend on trying to hunt down the error in the production version
since this is typcial of the one I have been getting since the proble=
m
started. Any thoughts or suggestions?
=09=09=09=09Thanks,
=09=09=09=09Alan

************** Bulding and using the TEST version of GSIM: **********=
********
cebafb> make_upd full
make RCS_UPD=3Dyes LINK_DIR=3D/clas/cebafb/u1/cmobj/xltest/hpux.plt f=
ull
fort77 -cpp +es +ppu -I. -I../../gsim.ini/s/ -I/clas/cebafb/u1/cm=
obj/share -c -g ../s/gsim_bat.F
/tmp/fcpFAAa06847:
MAIN gsim_bat:
never_gets_called:
gdcxyz:
entry igsa:
entry gdtrak:
sigterm_handler:
fort77 +FPZO -g -o gsim_bat gsim_bat.o -L/usr/site2/ce=
rnlib/hp700_ux90/95a/lib -lpacklib -lkernlib -L/clas/cebafb/u1/cmobj/=
xltest/hpux.plt -lgsim -lrecutl -lclasutil -lfputil -lbos -lfpack -l=
geant -lpawlib -lgraflib -lgrafX11 -lpacklib -lphtools -lmathlib -lke=
rnlib -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -lXt -lX11 -L/lib -L/=
usr/lib -lPW -lpacklib -lf -lc -lm -ldld
chmod 775 gsim_bat
End of MAKE_UPD

Attempting to run GSIM, the following is entered to the keyboard
gsim_bat -ffread /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/f=
fread.in -lizin /usr/user9/colemana/celeg/CelegTYv2/10000.lund.liz -k=
ine 2 -bosout /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/1000=
0.evt >& /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/10000.out
{ERROR}
cebafb> Segmentation fault (core dumped)
{USING DEBUGGER TO LOOK AT THE CORE DUMP}
cebafb> xdb gsim_bat core
r0 00000000 000077ca 00028f7b 00000001 r4 7b0338b8 7b0338c0 7b0338c=
0 7b0338b8
r8 00000001 00000001 00000001 00000000 r12 40013ce8 40013ce8 0000200=
0 00000000
r16 7b035d44 ffffffff 7b03300d 7afbd370 r20 00001f49 7b033af8 0000000=
0 00000001
r24 7b0338c0 7b0338b8 00000001 40056218 r28 00000000 00000000 7b033af=
8 7affb4c8
pc =3D 000077ca.00028f78 priv =3D 3 psw =3D jthlnxbCvmrQP=
DI sar =3D 26
0x00028f64 gsim_bat+007c BLE 1576(4,31)
0x00028f68 gsim_bat+0080 OR 31,0,2
0x00028f6c gsim_bat+0084 LDIL 0x28800,31
0x00028f70 gsim_bat+0088 BLE 1600(4,31)
0x00028f74 gsim_bat+008c OR 31,0,2
> 68: 0x00028f78 gsim_bat+0090 LDO 104(0),1
0x00028f7c gsim_bat+0094 STB 1,-128(0,30)
0x00028f80 gsim_bat+0098 LDO -128(30),26
0x00028f84 gsim_bat+009c LDO 1(0),25
0x00028f88 gsim_bat+00a0 LDIL 0x85800,31
File: gsim_bat.F Procedure: gsim_bat_ Line: 68
Core file from: gsim_bat
Child died due to: segmentation violation
Procedures: 206
Files: 193
>s
Starting process 8009: "gsim_bat"
Wait...loading shared-library map tables. Done.
>
>t
0 gsim_bat_ () [../s/gsim_bat.F: 68]
>

*********** Bulding and using the PRODUCTION version of GSIM: *******=
********
cebafb> make RCS_UPD=3Dyes full
fort77 -cpp +es +ppu -I. -I../../gsim.ini/s/ -I/clas/cebafb/u1/cm=
obj/share
c -g ../s/gsim_bat.F
/tmp/fcpFAAa08351:
MAIN gsim_bat:
never_gets_called:
gdcxyz:
entry igsa:
entry gdtrak:
sigterm_handler:
fort77 +FPZO -g -o gsim_bat gsim_bat.o -L/usr/site2/ce=
rnlib/hp70
_ux90/95a/lib -lpacklib -lkernlib -L/clas/cebafb/u1/cmobj/xlprod/hpux=
.plt -lgsi
-lrecutl -lclasutil -lfputil -lbos -lfpack -lgeant -lpawlib -lgrafl=
ib -lgrafX
1 -lpacklib -lphtools -lmathlib -lkernlib -L/usr/lib/Motif1.2 -lXm -L=
/usr/lib/X
1R5 -lXt -lX11 -L/lib -L/usr/lib -lPW -lpacklib -lf -lc -lm -ldld
chmod 775 gsim_bat
cebafb>

An executable file called GOnew3 is used to run the PRODUCTION VERSIO=
N its
constents are
gsim_bat=09=09=09=09=09=09=09=09=09=09=09=09\
=09-ffread /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/ffread.=
in=09=09=09=09\
=09-lizin /usr/user9/colemana/celeg/CelegTYv2/10000.lund.liz=09=09=
=09=09=09=09\
=09-kine 2=09=09=09=09=09=09=09=09=09=09=09=09\
=09-bosout /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/10000.e=
vt=09=09=09=09=09\
=09> /usr/user9/colemana/gsimII/gsim/gsim_bat/hpf77.plt/10000.out
=09
end of Contents of GOnew3

nohup GOnew3 &

[1] + Suspended (tty output) GOnew3

xdb gsim_bat core

r0 00000000 000024d9 0015e647 41529d18 r4 7b034554 7b034e3c 0001e80=
0 00000002
r8 7b0350e8 7b034e44 7b034e48 411697a8 r12 7b034e28 0000003b 000efd6=
1 40c9d728
r16 000000ea 000000e2 000efd6a 7afbd370 r20 4c700518 3f060ae4 7affac7=
0 00000000
r24 00000001 8012a4b4 0001ee28 40056218 r28 3f060ae4 36a48b5b 7b0352b=
8 7b035268
pc =3D 000024d9.0015e740 priv =3D 3 psw =3D jthlnxbCvmrQP=
DI sar =3D 00
0x0015e72c gnpgon_ +058c FADD,SGL 6R,7L,7R
0x0015e730 gnpgon_ +0590 FSUB,SGL 7R,5L,8L
0x0015e734 gnpgon_ +0594 FABS,SGL 8L,17R
0x0015e738 gnpgon_ +0598 FMPY,SGL 4R,4R,4L
0x0015e73c gnpgon_ +059c LDO 1576(6),26
> 0x0015e740 gnpgon_ +05a0 FLDWS -4(0,26),5L
0x0015e744 gnpgon_ +05a4 FADD,SGL 4L,5L,5R
0x0015e748 gnpgon_ +05a8 FSQRT,SGL 5R,6L
0x0015e74c gnpgon_ +05ac FDIV,SGL 17R,6L,20R
0x0015e750 gnpgon_ +05b0 LDW 0(0,5),31
File: unknown Procedure: gnpgon_ + 0x000005a0 Line: unknown
Copyright Hewlett-Packard Co. 1985,1987-1994. All Rights Reserved.
<<<< XDB Version A.09.01 HP-UX >>>>
Do you want to save a backup copy of the core file? n
Core file from: gsim_bat
Child died due to: floating point exception
Procedures: 173
Files: 166
>t
0 gnpgon_ + 0x000005a0 (0, 0, 0, 0)
1 gtnext_ + 0x000014ac (0xbf674d80, 0xbebd3122, 0x40ddb244, 0)
2 gtelec_ + 0x000004a8 (0x411697b8, 0x24, 0x1, 0x7b033fe0)
3 gtrack_ + 0x000007a8 (0x7b033f80, 0x4d43544b, 0x40055264, 0x7b033e=
e4)
4 guser_trak () [../s/guser_trak.F: 81]
5 gutrak () [../s/gutrak.F: 59]
6 jumpt0_ + 0x00000014 (0, 0x7b033d5c, 0xffffffff, 0)
7 gtreve_ + 0x00000314 (0xb, 0, 0x4090cec4, 0x7b033a0c)
8 guser_trev () [../s/guser_trev.F: 81]
9 gutrev () [../s/gutrev.F: 69]
10 jumpt0_ + 0x00000014 (0x7b033cac, 0x7b033ca0, 0x7b033cdc, 0x7b033c=
a8)
11 gtrig_ + 0x00000068 (0x6e202a2a, 0x6174696f, 0x616c697a, 0x6e69746=
9)
12 grun_ + 0x00000068 (0x7b033c3c, 0x400560f2, 0x7b033c08, 0)
13 gsim_bat_ () [../s/gsim_bat.F: 102]

r0 00000000 00007da5 000246f3 00000001 r4 7b033940 7b033948 7b03394=
8 7b033940
r8 00000001 00000001 00000001 00000000 r12 40013ce8 40013ce8 0000200=
0 00000000
r16 7b035ddc ffffffff 7b03300d 7afbd370 r20 00002432 7b033b88 0000000=
0 00000001
r24 7b033948 7b033940 00000001 40056218 r28 00000000 00000000 7b033b8=
8 7affb4c8
pc =3D 00007da5.000246f0 priv =3D 3 psw =3D jthlnxbCvmrQP=
DI sar =3D 26
0x000246dc gsim_bat+007c BLE 1440(4,31)
0x000246e0 gsim_bat+0080 OR 31,0,2
0x000246e4 gsim_bat+0084 LDIL 0x24000,31
0x000246e8 gsim_bat+0088 BLE 1464(4,31)
0x000246ec gsim_bat+008c OR 31,0,2
> 68: 0x000246f0 gsim_bat+0090 LDO 104(0),1
0x000246f4 gsim_bat+0094 STB 1,-128(0,30)
0x000246f8 gsim_bat+0098 LDO -128(30),26
0x000246fc gsim_bat+009c LDO 1(0),25
0x00024700 gsim_bat+00a0 LDIL 0x85800,31
File: gsim_bat.F Procedure: gsim_bat_ Line: 68
10 jumpt0_ + 0x00000014 (0x7b033cac, 0x7b033ca0, 0x7b033cdc, 0x7b033c=
a8)
11 gtrig_ + 0x00000068 (0x6e202a2a, 0x6174696f, 0x616c697a, 0x6e69746=
9)
12 grun_ + 0x00000068 (0x7b033c3c, 0x400560f2, 0x7b033c08, 0)
13 gsim_bat_ () [../s/gsim_bat.F: 102]
>s
Starting process 9266: "gsim_bat"
Wait...loading shared-library map tables. Done.
>