Hi Henrique,
Are you running with the versions from the CERN web site? or did you
install Root yourself? if yes, with which version of CERNLIB?
Could you tell me where I can access your hbook file?
Rene Brun
On Wed, 13 Nov 2002, Henrique de M. J. Barbosa - mestrado wrote:
>
> Dear Rooters,
>
>
> I am experiencing some problems with h2root. My hbook file is ok because I
> can do everything inside paw++ but when I try to convert it:
>
> [hbarbosa@drcpc76 hbarbosa]$ h2root teste.hbook
> RZOPEN. Cannot determine record length - EXCHANGE mode is used.
> Converting directory //example
>
> *** Break *** segmentation violation
> Aborted
>
>
> I am using RedHat 7.1 and I've tried root3.01.06 and 3.02.07. I have also
> tried to use root3.03.09 copiled for RH7.2, and I always get the same
> error message. All this with gcc2.96.
>
> On the other hand, I tried with success on a different machine: RH6.1,
> egcs, root3.01
>
> Any clue of what is going on? Below is the extrure used within my f77
> program to produce the hbook file and in both cases and can read it with
> paw++ but I can not convert it with h2root.
>
> thanks,
>
> Henrique
> ****************************************
> State University at Campinas - BRASIL
> "Gleb Wathagin" Physics Institute
> Department of Cosmic Rays and Chronology
>
> Henrique Barbosa The Pierre Auger
> PhD Student Observatory
> ****************************************
>
>
> ---First try------------------------------------------------
> (...)
> integer hspace
> parameter (hspace=524288)
> real h
> integer icycle
> common /pawc/ h(hspace)
> (...)
>
> call hlimit(hspace)
>
> => some hbook1, and hfill
>
>
> open(unit=77,file='teste.hbook',form='unformatted',
> recl=1024,access='direct',status='unknown')
> call hrfile(77,'AUGER','n')
> call hrout(0,icycle,' ')
> call hrend('AUGER')
> close(unit=77)
>
> (...)
>
> ---Second try------------------------------------------------
> (...)
> integer hspace
> parameter (hspace=524288)
> real h
> integer icycle
> common /pawc/ h(hspace)
> (...)
>
> call hlimit(hspace)
> call hropen(1,'AUGER','/worktmp/hbarbosa/auger.hbook','NX',4096,icycle)
>
> => some hbook1, and hfill
>
> call hrout(0,icycle,' ')
> call hrend('AUGER')
>
> (...)
>
>
>
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET