Re: Problem Compiling GBRAHMS on Solaris (SPARC)

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Thu May 03 2001 - 09:07:49 EDT

  • Next message: Hironori Ito: "Re: HIJING prediction"

    Christian,
    
    I can compile, but not link GBRAHMS on solaris. The make files had to be
    slightly modifidied - see my
    ~videbaek/geant/lib directory (rcf) - But the link fails - I guess to large
    extend because I do not know how
    the solaris /cern/lib was build by fiziak (STAR) copied from standard cern
    distributions. With g77 or f90 ??
    The problems seems related to single vs double underscores?
    ------------------------------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    
    tlf: 631-344-4106
    fax 631-344-1334
    e-mail: videbaek@bnl.gov
    ----- Original Message -----
    From: "Christian Holm Christensen" <cholm@hehi03.nbi.dk>
    To: <brahms-dev-l@bnl.gov>
    Sent: Tuesday, May 01, 2001 8:17 AM
    Subject: Problem Compiling GBRAHMS on Solaris (SPARC)
    
    
    > Hi all,
    >
    > I seem to have some trouble compiling GBRAHMS on Solaris (SPARC), in
    > particular rmine001.
    >
    > If I use 'cc' as the C compiler, then it complains about missing
    > language feature.  Substituting 'cc' with 'gcc' helps.
    >
    > However, then 'f90' fails when compiling src/mids/ebm0.F, saying
    >
    >        m0field % fldmap   = fmap
    >                  ^
    >  cf90-213 f90comp: ERROR EB_SET_M0_MAP, File = ebm0.f, Line = 262, Column
    = 18
    >    "FLDMAP" is not a component of derived type "FIELD_DESCRIPTOR".
    >
    > Substittuting 'f90' with 'g77' pops up  another problem, that some
    > macros (RECELEM) expands some lines beyond the 75 column limit, and so
    > it fails.
    >
    > So my question is: Has anyone succcessfully compiled GBRAHMS on
    > Solaris recently? And if so, what's the trick?
    >
    > 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 2b29 : Thu May 03 2001 - 09:06:19 EDT