[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010211: installing netcdf 3.5-beta8 under IRIX64: (ftest.f77): unrecognizable format



Binson,

> To: address@hidden
> From: Binson Joseph <address@hidden>
> Subject: netcdf 3.5-beta8
> Organization: ASU
> Keywords: 200102111833.f1BIX6L22151 netCFD 3.5-beta8

The above message contained the following:

> May I request your help to fix a bug during my
> 'netcdf' installation in an SGI Origin 2000
> running IRIX 6.5.4m.
> 
> I failed at the stage of "make test"
> 
> I include below the required information for you to 
> help me diagnose the problem:
> 
> Many thanks in advance,
> 
> Binson
> -------------------------------------- 
> A. uname -a
> IRIX64 hydra 6.5 04151556 IP27
> ---------------------------------------
> B. "VERSION" file
>    3.5-beta8
> ------------------------------
> C. 
> 
> hydra.eas.asu.edu 116% which c89 
> /bin/c89 
> 
> hydra.eas.asu.edu 117% which f90
> /bin/f90
> 
> hydra.eas.asu.edu 119% which cc
> /bin/cc
...

> Making `test' in directory 
> /working/bjoseph/netcdf/netcdf-3.5-beta8/src/fortran
> 
> + c89 -E ftest.F
> + grep -v ^#
> + 1> ftest.f77
> + f90 -c -O ftest.f77
> ld32: FATAL 11: Object file format error (ftest.f77): unrecognizable format
> + rm ftest.f77
> + exit 1
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)

You must use the "-cpp" option with the IRIX64 Fortran-90 compiler in
order to obtain correct macro-preprocessing of the Fortran-90 test file.
The top-level file "INSTALL.html" contains examples.

I suggest the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 5 near the end of the "INSTALL.html" file.

    3.  Ensure that the environment variable FFLAGS contains the string
        "-cpp".

    4.  Perform steps 6 through 9 near the end of the "INSTALL.html"
        file.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>