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

Building netcdf-2.4.3 on Cray T90, summary



This is a summary of the problem reported by
John Sheldon <address@hidden> in building
netcdf-2.4.3 on CRAY T90.

System type:
> % uname -a
> sn7203 t90 9.1.0.1 gfd.8 CRAY TS

netcdf-2.4.2 is installed and builds correctly.

Configure chooses 'c89' as the compiler and defaults to '-O'
optimization, as in 2.4.2.  The system uses xdrffio.c as it should.
No problems with the build.

The 'make test' fails:

> making `test' in directory netcdf/netcdf-2.4.3/src/xdr
>         c89 -c -O -I/usr/include/rpc  -DDEBUG xdrtest.c
> c89 -o xdrtest -O xdrtest.o
>         ./xdrtest > xdrtest_out.new
> diff xdrtest_out.new testout.sav
> *** XDR passes formatted test ***
> cmp test.xdr test_xdr.sav
> *** XDR passes binary test ***
> 
> making `test' in directory netcdf/netcdf-2.4.3/src/libsrc
>         c89 -c -O -DDEBUG cdftest.c
> c89 -o cdftest -O cdftest.o libnetcdf.a
> FORCE: No action was taken.
> library: No action was taken.
>         ./cdftest > cdftest_out.new
> diff cdftest_out.new testout.sav
> *** netCDF passes formatted test ***
> cmp test.nc test_cdf.sav
> *** netCDF passes binary test ***
> 
> making `test' in directory pub/netcdf/netcdf-2.4.3/src/nctest
>         ./nctest
> *** Testing nccreate ...        Unable to open file: testfile.nc
> Error Explanation:Make: "./nctest" terminated due to signal 11 (core dumped)
> cmd-2436 make: Stop

Sometimes there is a similar problem in libsrc running 'cdftest'.

Substituting the xdrffio.c module from netcdf-2.4.2 makes the problem go away.

-glenn