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

Re: 980513: netcdf 3.3.1 Digital Unix 4.0d

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: 980513: netcdf 3.3.1 Digital Unix 4.0d
  • Date: Wed, 13 May 1998 14:26:28 -0600

>To: address@hidden
>From: Rich Signell <address@hidden>
>Subject: Ever seen this one?
>Organization: USGS
>Keywords: 199805131851.MAA28919
>
> Guys,
>
> We are trying to install netcdf 3.3.1 on a multi-processor
> DEC alpha machine running Digital Unix 4.0d.   Have you
> ever seen this error?
>
>
> # make install
>
> Making `install' in directory /usr/users/jnoel/tmp/dist/netcdf/src/libsrc
>
> test -d /usr/users/jnoel/tmp/dist/netcdf/lib || mkdir
> /usr/users/jnoel/tmp/dist/netcdf/lib
> c89 -c -O -I.  -DNDEBUG attr.c
> c89 -c -O -I.  -DNDEBUG dim.c
> c89 -c -O -I.  -DNDEBUG error.c
> c89 -c -O -I.  -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
> c89 -c -O -I.  -DNDEBUG nc.c
> c89 -c -O -I.  -DNDEBUG ncio.c
> c89 -c -O -I.  -DNDEBUG ncx.c
> cc: Error: ncx.c, line 1119: #error "ix_float implementation"
> #error "ix_float implementation"
> -^
> cc: Error: ncx.c, line 1542: #error "ix_double implementation"
> #error "ix_double implementation"
> -^
> *** Exit 1
> Stop.
> --
> Rich Signell               |  address@hidden
> U.S. Geological Survey     |  (508) 457-2229  |  FAX (508) 457-2310
> 384 Woods Hole Road        |  http://crusty.er.usgs.gov/rsignell.html
> Woods Hole, MA  02543-1598 |

What this means it that ncx.c (== ncx.m4) doesn't know how to convert
your system floating point type to the external form netcdf useds.

It is basing this on what 'configure' tried to figure, which is
probably incorrect. If your alpha is like the single processor ones,
ncconfig.h should have

#undef WORDS_BIGENDIAN

#define NO_IEEE_FLOAT 1

#define SIZEOF_DOUBLE 8

#define SIZEOF_ FLOAT 4

If these values are the correct ones for your system, and configure
is saying otherwise, then we have a problem with configure.
(You can override configure manually by editing ncconfig.h).
I seem to recall that steve had to change something in configute
dealing with the 'NO_IEEE_FLOAT'. It may be that you need this
change as well, and don't have it.

If these values are _not_ the correct ones for your system, then
we may have to do some work on ncx.m4.

-glenn