Greetings,
I am playing around with g2root today. It appears to be somewhat sparsely documented, but I found a man page I’ve been using as a guide at http://manpages.ubuntu.com/manpages/intrepid/man1/g2root.1.html. Their step #1 lists a GEANT command which for me lists some discouraging errors:
GEANT > rz/file 21 phenix.geom on
RZMAKE. Unit 21 Initializing with LREC= 1024, OPT= ON X
RZMAKE. new RZ format selected.
This file will not be readable with versions of RZ prior to release 94B
*** GROUT *** Data structure DRAW version 1 saved to disk
*** GROUT *** Data structure MATE version 1 saved to disk
*** GROUT *** Data structure PART version 1 saved to disk
*** GROUT *** Data structure ROTM version 1 saved to disk
*** GROUT *** Data structure RUNG version 1 saved to disk
*** GROUT *** Data structure SETS version 1 saved to disk
*** GROUT *** Data structure TMED version 1 saved to disk
RZOUT . Cannot find the 673 records requested
*** GROUT *** Error in writing data structure VOLU to disk
*** GROUT *** Data structure SCAN was not found
RZEND. called for LUN21
If I try to run g2root, it segfaults roughly where one might expect given the above:
$ g2root phenix.geom phenix.C
************** Directory ===> //LUN1 <===
Created 100101/1353 Modified 100101/1353
===> List of objects
OBJECT VERSION CYCLE DATE/TIME NDATA
DRAW 1 1 100101/1353 15
MATE 1 1 100101/1353 470314
PART 1 1 100101/1353 4784
ROTM 1 1 100101/1353 54119
RUNG 1 1 100101/1353 47
SETS 1 1 100101/1353 26993
TMED 1 1 100101/1353 44282
Number of records = 588 Number of megawords = 0 +601578 words
Per cent of directory quota used = 58.800
Per cent of file used = 58.800
Blocking factor = 99.741
In g2rin, iquest(13)= 75
after rzink, ikey= 1 iquest(1)= 0
trying to read:DRAW
after rzink, ikey= 2 iquest(1)= 0
trying to read:MATE
after rzink, ikey= 3 iquest(1)= 0
trying to read:PART
after rzink, ikey= 4 iquest(1)= 0
trying to read:ROTM
after rzink, ikey= 5 iquest(1)= 0
trying to read:RUNG
after rzink, ikey= 6 iquest(1)= 0
trying to read:SETS
after rzink, ikey= 7 iquest(1)= 0
trying to read:TMED
after rzink, ikey= 8 iquest(1)= 1
nkeys= 7 nwkey= 2
nvolum= 0 jvolum= 0
Segmentation fault
Any suggestions what to do to correct all this?
Thanks,
Matthew Lockner