Re: Problem with breg/hijing

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue Jul 24 2001 - 12:21:43 EDT

  • Next message: Djamel Ouerdane: "BB calibration"

    Hi Steve et al, 
    
    On Tue, 24 Jul 2001 10:59:41 -0500
    "Stephen J. Sanders" <ssanders@ku.edu> wrote
    concerning ": Problem with breg/hijing":
    > Hi,  I have been trying to run Hijing using the BREG code base.  
    > Unfortunately, the program enters an infinite loop in the 2nd event.
    > This occurs even  changing the input parameters.  I went back to the
    > code Flemming has sitting around on the rcas machines and it runs
    > fine.  
    
    The "code base" - yiecks, such a M$ term - is exactly the same in
    breg/hijing as in obsolete/hijing.  
    
    What has changed, is that most of the code is put in a shared library
    and some compiler flags may be different.  
    
    Which brhijing were you executing? The one in
    /afs/rhic/opt/brahms/pro/bin? If yes, on which machine? 
    
    > Using gdb on the breg code, I was able to locate the loop
    > where the code is sitting: (near line 2353 in hijing1.36.f) 
    > 
    > 155     CALL PYTHIA
    >            JJ=MINT(31)
    >            IF(JJ.NE.1) GO TO 155
    > 
    > It seems clear that MINT(31) is being clobbered.  However, I have
    > not  been able to find any coding errors, yet.
    
    To me, this sounds like a compiler, linker, and or machine problem. 
    
    Did you try breg/hijing and old hijing on the same machine, using the
    same compiler and so on? 
    
    You could try to link brhijing statically by passing the
    --disable-shared and --enable-static option to the configure script. 
    
    Did you try to compare the file hijing1.36.f with the upstream same?
    It's avaliable from 
    
      http://nta0.lbl.gov/~xnwang/hijing/
    
    You'll find very few differences indeed. 
    
    BTW, it seems a whole new HIJING (2.03) is avaliable.  
    
    > Has anyone successfully run this (breg) code?  I'm wondering if I
    > might have something set up incorrectly.
    
    The whole point of BREG, BRAG, BROP, BRAT(2) and so on, is that you
    don't have to set up anything, except your PATH should contain the
    directory where you install everything.   
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b30 : Tue Jul 24 2001 - 12:22:54 EDT