# Problems with netCDF on DEC Alpha

```
We have a DEC Alpha machine in for evaluation. netCDF does not work on it,
apparently because of differences in the assumptions about the sizes of
longs and ints. The output of Steve Pemberton's config program gives:

/* Char = 8 bits, signed */
/* Maximum short = 32767 (= 2**15-1) */
/* Maximum int = 2147483647 (= 2**31-1) */
/* Maximum long = 9223372036854775807 (= 2**63-1) */
/* Alignments for char=1 short=2 int=4 long=8 */
/* Char pointers = 64 bits BEWARE! larger than int! */
/* Int pointers = 64 bits BEWARE! larger than int! */

/* Properties of float: */
/* Base = 2 */
/* Significant base digits = 24 (= at least 7 decimal digits) */
/* Smallest x such that 1.0-base**x != 1.0 = -24 */
/* Small x such that 1.0-x != 1.0 = 5.96046e-08 */
/* Smallest x such that 1.0+base**x != 1.0 = -23 */
/* Smallest x such that 1.0+x != 1.0 = 1.19209e-07 */
/* Arithmetic chops but uses guard digits */
/* Number of bits used for exponent = 8 */
/* Minimum normalised exponent = -125 */
/* Minimum normalised positive number = 1.17549e-38 */
/* The smallest numbers are normalised */
/* Maximum exponent = 128 */
/* Maximum number = 3.40282e+38 */
/* Arithmetic uses a hidden bit */

/* Properties of double: */
/* Base = 2 */
/* Significant base digits = 53 (= at least 15 decimal digits) */
/* Smallest x such that 1.0-base**x != 1.0 = -53 */
/* Small x such that 1.0-x != 1.0 = 1.11022e-16 */
/* Smallest x such that 1.0+base**x != 1.0 = -52 */
/* Smallest x such that 1.0+x != 1.0 = 2.22045e-16 */
/* Arithmetic chops but uses guard digits */
/* Number of bits used for exponent = 11 */
/* Minimum normalised exponent = -1021 */
/* Minimum normalised positive number = 2.22507e-308 */
/* The smallest numbers are normalised */
/* Maximum exponent = 1024 */
/* Maximum number = 1.79769e+308 */
/* Arithmetic uses a hidden bit */

/* Expressions are evaluated in double precision */

/* Memory mallocatable ~= 130976 Kbytes */

Have others run into this problem? If so, is it something that will be fixed
in the "new version" of netCDF?

I haven't been using the Alpha in our group, but can get information on the
breakage from those who have, if it is required.

Thanks,

Skip (montanaro@xxxxxxxxxx)

```
• 1993 messages navigation, sorted by:
• Search the `netcdfgroup` archives: