[Met_help] Compiling BUFURLIB, METv2

John Halley Gotway johnhg at rap.ucar.edu
Sun Nov 1 14:32:42 MST 2009


Hello,

I see that you're having trouble compiling BUFRLIB using the Intel
compilers.  We are aware of one problem with BUFRLIB for which we've
posted a bug fix on the MET website.

Please look here:
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
For the BUFRLIB issue posted on 05/27/2009.

Please make that change to the "nvnwin.f" file and try recompiling BUFRLIB
using the following 3 commands:
      icc -c -DUNDERSCORE *.c
      ifort -c -DUNDERSCORE *.f *.F
      ar crv libbufr.a *.o

If you still see error messages, try ignoring them for the time being, and
compiling MET.  MET may or may not compile depending on the error in
BUFRLIB.

If MET does not in fact compile because of the problem in BUFRLIB please
send us the following:
- The version of the Intel compilers you're using.  Try typing:
    icc --version
    ifort --version
- Your top-level MET Makefile.
- The output from make when you try to compile MET.  Compile MET with
something like:
    make >& make_met.log
  That redirects the output of make to a file.  Send us that
"make_met.log" file.

Unfortunately, I won't be able to look at this further until Wednesday. 
I'll be out of town until then.  I have had success compiling MET using
versions 10 and 11 of the Intel compilers.  So I'm hopeful that we'll be
able to get this working.

Thanks,
John Halley Gotway
johnhg at ucar.edu


>
> hi met_help,
>
> I am trying to compile BUFRLIB, for METv2
>
> intel compilers: icc, ifort
> $AC -c -DUNDERSCORE *.c
> $FC -c -DUNDERSCORE -fno-second-underscore *.f
>
> fortcom: Warning: nvnwin.f, line 84: The INTEGER(KIND=4) value is
> out-of-range. [10E10]
>
> INVN(I) = BMISS
>
> ----------------^
>
> fortcom: Error: wrdlen.f, line 112: Illegal character in statement label
> field [I]
>
> 10 IF(I.GE.65) GOTO 900
>
> ---^
>
> fortcom: Error: wrdlen.f, line 112: Illegal character in statement label
> field [F]
>
> 10 IF(I.GE.65) GOTO 900
>
> ----^
>
> fortcom: Error: wrdlen.f, line 112: A continuation character is illegal on
> a line with a statement label
>
> 10 IF(I.GE.65) GOTO 900
>
> -----^
>
> fortcom: Error: wrdlen.f, line 112: Unbalanced parentheses
>
> 10 IF(I.GE.65) GOTO 900
>
> -------------^
>
> fortcom: Error: wrdlen.f, line 112: Syntax error, found INTEGER_CONSTANT
> '65' when expecting one of: <IDENTIFIER> <CHAR_CON_KIND_PARAM>
> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT>
>
> 10 IF(I.GE.65) GOTO 900
>
> -----------^
>
> fortcom: Error: wrdlen.f, line 136: Illegal character in statement label
> field [I]
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> ---^
>
> fortcom: Error: wrdlen.f, line 136: Illegal character in statement label
> field [F]
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> ----^
>
> fortcom: Error: wrdlen.f, line 136: A continuation character is illegal on
> a line with a statement label
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> -----^
>
> fortcom: Error: wrdlen.f, line 136: Unbalanced parentheses
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> ----------------^
>
> fortcom: Error: wrdlen.f, line 136: Syntax error, found ')' when expecting
> one of: => = . %
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> ----------------^
>
> fortcom: Error: wrdlen.f, line 457: Illegal character in statement label
> field [F]
>
> 100 FORMAT(/15('='),' WELCOME TO BUFR ARCHIVE LIBRARY ',15('=')/
>
> ----^
>
> fortcom: Error: wrdlen.f, line 457: A continuation character is illegal on
> a line with a statement label
>
> 100 FORMAT(/15('='),' WELCOME TO BUFR ARCHIVE LIBRARY ',15('=')/
>
> -----^
>
> fortcom: Error: wrdlen.f, line 457: Syntax error, found '(/' when
> expecting one of: => = . ( : %
>
> 100 FORMAT(/15('='),' WELCOME TO BUFR ARCHIVE LIBRARY ',15('=')/
>
> ----------^
>
> fortcom: Error: wrdlen.f, line 469: Illegal character in statement label
> field [W]
>
> 900 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH IS '
>
> ----^
>
> fortcom: Error: wrdlen.f, line 469: A continuation character is illegal on
> a line with a statement label
>
> 900 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH IS '
>
> -----^
>
> fortcom: Error: wrdlen.f, line 470: Syntax error, found CHARACTER_CONSTANT
> 'LIMITED TO 64 BITS (THIS MACHINE APPARENTLY HAS",I4," BIT ' when
> expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
> .NE. /= .GT. > ...
>
> . 'LIMITED TO 64 BITS (THIS MACHINE APPARENTLY HAS",I4," BIT '
>
> -------^
>
> fortcom: Error: wrdlen.f, line 473: Illegal character in statement label
> field [W]
>
> 901 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH (",I4,"'
>
> ----^
>
> fortcom: Error: wrdlen.f, line 473: A continuation character is illegal on
> a line with a statement label
>
> 901 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH (",I4,"'
>
> -----^
>
> fortcom: Error: wrdlen.f, line 474: Syntax error, found CHARACTER_CONSTANT
> ') IS NOT A MULTIPLE OF 8 (THIS MACHINE HAS WORDS NOT ON WHOLE' when
> expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
> .NE. /= .GT. > ...
>
> . ') IS NOT A MULTIPLE OF 8 (THIS MACHINE HAS WORDS NOT ON WHOLE'
>
> -------^
>
> fortcom: Error: wrdlen.f, line 477: Illegal character in statement label
> field [W]
>
> 902 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - BYTE ORDER CHECKING MISTAKE'
>
> ----^
>
> fortcom: Error: wrdlen.f, line 477: A continuation character is illegal on
> a line with a statement label
>
> 902 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - BYTE ORDER CHECKING MISTAKE'
>
> -----^
>
> fortcom: Error: wrdlen.f, line 478: Syntax error, found CHARACTER_CONSTANT
> ', LOOP INDEX J (HERE =",I3,") IS .GT. NO. OF BYTES PER WORD ' when
> expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
> .NE. /= .GT. > ...
>
> . ', LOOP INDEX J (HERE =",I3,") IS .GT. NO. OF BYTES PER WORD '
>
> -------^
>
> fortcom: Error: wrdlen.f, line 481: Illegal character in statement label
> field [W]
>
> 903 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - CAN''T DETERMINE MACHINE '
>
> ----^
>
> fortcom: Error: wrdlen.f, line 481: A continuation character is illegal on
> a line with a statement label
>
> 903 WRITE(BORT_STR,'("BUFRLIB: WRDLEN - CAN''T DETERMINE MACHINE '
>
> -----^
>
> fortcom: Error: wrdlen.f, line 482: Syntax error, found CHARACTER_CONSTANT
> 'NATIVE LANGUAGE (CHAR. A UNPACKS TO INT.",I4," NEITHER ASCII ' when
> expecting one of: .EQV. .NEQV. .XOR. .OR. .AND. .LT. < .LE. <= .EQ. ==
> .NE. /= .GT. > ...
>
> . 'NATIVE LANGUAGE (CHAR. A UNPACKS TO INT.",I4," NEITHER ASCII '
>
> -------^
>
> fortcom: Error: wrdlen.f, line 136: This variable or component must be of
> a derived or structure type [J]
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> ------^
>
> fortcom: Error: wrdlen.f, line 136: This is not a field name that is
> defined in the encompassing structure. [GT]
>
> 20 IF(J.GT.NBYTW) GOTO 902
>
> --------^
>
> fortcom: Error: wrdlen.f, line 456: This label has not been defined as a
> FORMAT label. [100]
>
> PRINT 100, NBYTW,NBITW,CNDIAN,NREV,IORD,CLANG
>
> ---------------^
>
> fortcom: Error: wrdlen.f, line 109: This label is undefined. [10]
>
> IF(INT.EQ.0) GOTO 10
>
> ------------------------^
>
> fortcom: Error: wrdlen.f, line 456: This label is undefined. [100]
>
> PRINT 100, NBYTW,NBITW,CNDIAN,NREV,IORD,CLANG
>
> ---------------^
>
> fortcom: Severe: Too many errors, exiting
>
> compilation aborted for wrdlen.f (code 1)
>
>
>
> thanks
>
> a_shamsi
>
>
>
>
> _________________________________________________________________
> Windows Live: Keep your friends up to date with what you do online.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010_______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help
>




More information about the Met_help mailing list