Problem Compiling GBRAHMS on Solaris (SPARC)

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue May 01 2001 - 08:17:11 EDT

  • Next message: Christian Holm Christensen: "BRAT changes - mult code and build system"

    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 : Tue May 01 2001 - 08:18:27 EDT