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

20030514: NetCDF 3.5.1-beta10 on a NEC SX6



Matt,

> To: address@hidden
> From: Matt Huddleston <address@hidden>
> Subject: NetCDF 3.5.1-beta10 on a NEC SX6
> Organization: Met Office
> Keywords: netCDF 3.5.1-beta10 F90 NEC SX6

The above message contained the following:

> I'm trying to install a f90 compliant version of NetCDF on a NEC SX6
> (having recently got it working on Cray  T3e's) and I have run into
> problems in ncx.c which I dont understand.  I see someone from Japan has
> a version running so I have also emailed them - but I wonder if you have
> any comments ?
> 
> So far, our installation fails :
> 
> Making `install' in directory
> /home/cr/ocean/hadhh/netcdf-3.5.1-beta10/src/libsrc
> 
>         test -d /home/cr/ocean/hadhh/netcdf-3.5.1-beta10/lib || mkdir
> /home/cr/ocean/hadhh/netcdf-3.5.1-beta10/lib
>         cc -c -O -I.  -DNDEBUG ncx.c
> "ncx.c", line 1119: fatal(35): #error directive: "ix_float
> implementation"
>   #error "ix_float implementation"
>    ^
> 
> *** Error code 1 (bu21)
> make: fatal error.
>
> Any advice you have would be most welcome.
> 
> Many thanks in advance -

Unfortunately, the person who wrote the "ncx.c" module is no longer with
us. Looking over the code, however, it appears that the module can be
compiled on an SX system only if the C macro _FLOAT2 is also defined. I
don't know how that macro would be defined, however. I suspect that some
compiler option would set it.

Our support-email archive has the following email from the developer of
the ncx.c module:

    http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/netcdf/2687

The _FLOAT2 macro is mentioned in it.  Unfortunately, I've never worked
on an SX system, so I don't completely understand the email.  You might
have better luck.

Sorry to be of so little help.  Things might be different if we had
access to an SX system.

Good luck.  If you think we can be of further help, please don't
hesitate to contact us.

> Matt Huddleston
> 
> --
> Dr Matt Huddleston  Ocean Scientist
> Met Office  London Road  Bracknell  Berkshire  RG12 2SZ  United Kingdom
> Tel: +44 (0)1344 854261  Fax: +44 (0)1344 854499
> E-mail: address@hidden  http://www.metoffice.com

Regards,
Steve Emmerson