G2root problems

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

The 2 procedures seem to work except that you reach a disk quota when saving your file with Geant.

Rene

[quote=“brun”]The 2 procedures seem to work except that you reach a disk quota when saving your file with Geant.

Rene[/quote]

What leads you to believe it’s a disk quota issue? I’ve tried it using two installations (one is sort of a mirror) with the same result. I’m nearly certain there are no quotas hindering me; I would have tripped them earlier with large local software builds.

In the first program you get this error message:

RZOUT . Cannot find the 673 records requested *** GROUT *** Error in writing data structure VOLU to disk a symptom of a disk quota exceeded, unless the file that you are trying to write exceeds 1 GByte (unlikely for a detector geometry).

Rene

Hello,

If on my system there is no output from “quota -v”, I can conclude there is no quota in effect, right? This is the case for one of my sessions, yet it crashes similarly.

Is there any means of increasing the verbosity of the rz/file command, perhaps?

Update: please consider this topic resolved. There were some steps specific to our collaboration, above and beyond what is detailed in the g2root man page.

Thanks,
Matthew Lockner