[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 980116: building under SX-4
- Subject: Re: 980116: building under SX-4
- Date: Fri, 16 Jan 1998 15:17:25 -0700
>To: address@hidden
>cc: address@hidden
>From: "E.Hocke" <address@hidden>
>Subject: building under SX-4
>Organization: .
>Keywords: 199801160816.BAA20070
Hi Elke,
> > may I ask you for help again?
> >
> > This time I'm planing to build the netcdf-3.3.1 on the
> > SUPER-UX unix 7.1 Rev1 SX-4
Please instead try our alpha release of netCDF 3.4, which has
modifications for the NEC SX-4 included. It's available from
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.4a.tar.Z
I've appended a copy of the instructions in the INSTALL file for the
SX-4 system.
> > I set these environmental variables
> >
> > CC=cc
> > CPPFLAGS=-DNDEBUG
> > CFLAGS=-hfloat2 -hint64 -h2
> > LIBS=-lm -li77sx
> > FC=f77
> > FFLAGS=-float2 -Wl -int64
> >
> > as it was described in the file install to
> > realize the Cray compatibility, because we've got data
> > written by a Cray. (One huge file on one CDROM, which we
> > cannot read with the other machines)
> >
> > The program ncdump worked correctly and I got the datas
> > I expected. As you could see in the output of "make test"
> > the building of the C-libaries was successful.
> > But unfortunately the fortran-libaries couldn't be built
> > correctly.
> >
> > There are different Fortran-Compiler installed
> > such as f77 in /bin/f77
> > f77sx /bin/f77sx
> > f90 /bin/f90
> > Which shall I use and which special options do I need??
We used f90 with no special options to the Fortran compiler, but see the
appended INSTALL excerpt for flags we used for Cray compatibility mode.
...
> > I thank you very much for your help in advance.
> >
> > Yours faithfully
> > Elke Hocke <address@hidden>
You're welcome. Please let us know if this doesn't work by email to
address@hidden.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
SUPER-UX unix 7.2 SX-4 (sx4.hstc.necsyl.com)
Wed Sep 17 13:30:59 MDT 1997
/home/cust/ncar1/netcdf-3.3.2b/{lib,lib_float2}
CC="cc -Xa"
CFLAGS=-h2
FC=f90
FFLAGS=""
CXX=""
Passes libsrc/t_nc.
Passes nctest.
nc_test:
30 failures in nc_test for _long functions.
Okay to ignore: cpp problem sets up improper ranges for test.
(cpp problem reported to NEC)
fortran/ftest works.
Compiling nftest: Many (ignoreable) warn(82)
nf_test:
6435 failures
get_int1: Range error: No error
get_int2: Range error: No error
Okay to ignore.
put_real: Var value read not that expected
???
Passes ncdump test.
Minor roundoff errors in test of ncgen.
< i:d = -1.e+308, ...
---
> i:d = -9.99999999999999e+307, ...
There are SX specific hacks in nc_test and ncx.m4 to deal with
the broken C preprocessor.
Cray compatibility options:
CC="cc -Xa -hfloat2 -hint64"
CFLAGS=-h2
FC="f90 -float2"
FFLAGS=""
CXX=""
FLDFLAGS="-Wl -int64" # needed for the interlanguage linkage
LIBS=-lm # needed for ie3_fl2(), fl2_ie3()
Passes libsrc/t_nc.
Passes nctest.
Passes nc_test.
Passes fortran/ftest.
nf_test:
get_int1: Range error: No error
get_int2: Range error: No error
Total number of failures: 6412
Okay to ignore - int1 and int2 types are integer
Minor roundoff errors in test of ncdump.
< 7, 8, 9.99999999999989e+29 ;
---
> 7, 8, 9.99999999999977e+29 ;
Minor roundoff errors in test of ncgen.
< i:d = -9.99999999999881e+307, 0., 9.99999999999881e+307 ;
---
> i:d = -9.9999999999975e+307, 0., 9.9999999999975e+307 ;
...