[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19981026: netCDF on T3D/E
- Subject: Re: 19981026: netCDF on T3D/E
- Date: Thu, 05 Nov 1998 15:18:25 -0700
Al,
>Date: Thu, 05 Nov 1998 16:07:17 -0500
>From: Al Bourgeois <address@hidden>
>Organization: Lockheed Martin
>To: Steve Emmerson <address@hidden>
>Subject: Re: 19981026: netCDF on T3D/E
>Keywords: 199811051609.JAA13971
In the above message, you wrote:
> Yes, our T3D is front-ended by a C90. But the user code is definitely
> running on the T3D ... on 8 processors.
Just FYI, the netCDF code must run on a single processor: it's not
designed with parallel processing in mind.
> However, I am using the library as it was built after the "make". I
> didn't do the "make test" or the "make install" until just now. (Sorry
> ... just saw that in the INSTALL instructions. I guess I got excited
> when the "make" worked.) That shouldn't affect the library, should it?
Doing a "make test" will tell you if the netCDF library works correctly.
> Attached is the result of the "make test". Does it look normal?
No. See below.
> Making `test' in directory /work/afl/netCDF/netcdf-3.4/src/libsrc
>
> FORCE: No action was taken.
> ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o
> ncx.o putget.o string.o v1hpg.o v2i.o var.o
> : libnetcdf.a
> FORCE: No action was taken.
> cc -o t_nc -g t_nc.o -L. -lnetcdf
> ./t_nc
> dimrename: IXX
> nc_close ret = 0
>
> reopen id = 274878096896 for filename test.nc
> NC done
> GATTR VAR VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> fill_seq indices 0 0 0 0.000000 != 0.000031
The last line above is the first error.
> indices 0 0 1 1.000000 != 0.000031
> indices 0 0 3 3.000000 != 0.000031
> indices 0 0 5 5.000000 != 0.000031
> indices 0 0 7 7.000000 != 0.000031
> indices 0 1 1 9.000000 != 0.000031
> indices 0 1 3 11.000000 != 0.000031
> indices 0 1 5 13.000000 != 0.000031
> indices 0 1 7 15.000000 != 0.000031
> indices 0 2 1 17.000000 != 0.000031
> indices 0 2 3 19.000000 != 0.000031
> indices 0 2 5 21.000000 != 0.000031
> indices 0 2 7 23.000000 != 0.000031
> indices 0 3 1 25.000000 != 0.000031
> indices 0 3 3 27.000000 != 0.000031
> indices 0 3 5 29.000000 != 0.000031
> indices 0 3 7 31.000000 != 0.000031
> indices 0 4 1 33.000000 != 0.000031
> indices 0 4 3 35.000000 != 0.000031
> indices 0 4 5 37.000000 != 0.000031
> indices 0 4 7 39.000000 != 0.000031
> indices 0 5 1 41.000000 != 0.000031
> indices 0 5 3 43.000000 != 0.000031
> indices 0 5 5 45.000000 != 0.000031
> indices 0 5 7 47.000000 != 0.000031
> indices 0 6 1 49.000000 != 0.000031
> indices 0 6 3 51.000000 != 0.000031
> indices 0 6 5 53.000000 != 0.000031
> indices 0 6 7 55.000000 != 0.000031
> indices 1 0 1 57.000000 != 0.000031
> indices 1 0 3 59.000000 != 0.000031
> indices 1 0 5 61.000000 != 0.000031
> indices 1 0 7 63.000000 != 0.000031
> indices 1 1 1 65.000000 != 0.000031
> indices 1 1 3 67.000000 != 0.000031
> indices 1 1 5 69.000000 != 0.000031
> indices 1 1 7 71.000000 != 0.000031
> indices 1 2 1 73.000000 != 0.000031
> indices 1 2 3 75.000000 != 2.718282
> indices 1 2 5 77.000000 != 0.000031
> indices 1 2 7 79.000000 != 0.000031
> indices 1 3 1 81.000000 != 0.000031
> indices 1 3 3 83.000000 != 0.000031
> indices 1 3 5 85.000000 != 0.000031
> indices 1 3 7 87.000000 != 0.000031
> indices 1 4 1 89.000000 != 0.000031
> indices 1 4 3 91.000000 != 0.000031
> indices 1 4 5 93.000000 != 0.000031
> indices 1 4 7 95.000000 != 0.000031
> indices 1 5 1 97.000000 != 0.000031
> indices 1 5 3 99.000000 != 0.000031
> indices 1 5 5 101.000000 != 0.000031
> indices 1 5 7 103.000000 != 0.000031
> indices 1 6 1 105.000000 != 0.000031
> indices 1 6 3 107.000000 != 0.000031
> indices 1 6 5 109.000000 != 0.000031
> indices 1 6 7 111.000000 != 0.000031
> indices 2 0 1 113.000000 != 0.000031
> indices 2 0 3 115.000000 != 0.000031
> indices 2 0 5 117.000000 != 0.000031
> indices 2 0 7 119.000000 != 0.000031
> indices 2 1 1 121.000000 != 0.000031
> indices 2 1 3 123.000000 != 0.000031
> indices 2 1 5 125.000000 != 0.000031
> indices 2 1 7 127.000000 != 0.000031
> indices 2 2 1 129.000000 != 0.000031
> indices 2 2 3 131.000000 != 0.000031
> indices 2 2 5 133.000000 != 0.000031
> indices 2 2 7 135.000000 != 0.000031
> indices 2 3 1 137.000000 != 0.000031
> indices 2 3 3 139.000000 != 0.000031
> indices 2 3 5 141.000000 != 0.000031
> indices 2 3 7 143.000000 != 0.000031
> indices 2 4 1 145.000000 != 0.000031
> indices 2 4 3 147.000000 != 0.000031
> indices 2 4 5 149.000000 != 0.000031
> indices 2 4 7 151.000000 != 0.000031
> indices 2 5 1 153.000000 != 0.000031
> indices 2 5 3 155.000000 != 0.000031
> indices 2 5 5 157.000000 != 0.000031
> indices 2 5 7 159.000000 != 0.000031
> indices 2 6 1 161.000000 != 0.000031
> indices 2 6 3 163.000000 != 0.000031
> indices 2 6 5 165.000000 != 0.000031
> indices 2 6 7 167.000000 != 0.000031
> indices 3 0 1 169.000000 != 0.000031
> indices 3 0 3 171.000000 != 0.000031
> indices 3 0 5 173.000000 != 0.000031
> indices 3 0 7 175.000000 != 0.000031
> indices 3 1 1 177.000000 != 0.000031
> indices 3 1 3 179.000000 != 0.000031
> indices 3 1 5 181.000000 != 0.000031
> indices 3 1 7 183.000000 != 0.000031
> indices 3 2 1 185.000000 != 0.000031
> indices 3 2 3 187.000000 != 0.000031
> indices 3 2 5 189.000000 != 0.000031
> indices 3 2 7 191.000000 != 0.000031
> indices 3 3 1 193.000000 != 0.000031
> indices 3 3 3 195.000000 != 0.000031
> indices 3 3 5 197.000000 != 0.000031
> indices 3 3 7 199.000000 != 0.000031
> indices 3 4 1 201.000000 != 0.000031
> indices 3 4 3 203.000000 != 0.000031
> indices 3 4 5 205.000000 != 0.000031
> indices 3 4 7 207.000000 != 0.000031
> indices 3 5 1 209.000000 != 0.000031
> indices 3 5 3 211.000000 != 0.000031
> indices 3 5 5 213.000000 != 0.000031
> indices 3 5 7 215.000000 != 0.000031
> indices 3 6 1 217.000000 != 0.000031
> indices 3 6 3 219.000000 != 0.000031
> indices 3 6 5 221.000000 != 0.000031
> indices 3 6 7 223.000000 != 0.000031
> indices 4 0 1 225.000000 != 0.000031
> indices 4 0 3 227.000000 != 0.000031
> indices 4 0 5 229.000000 != 0.000031
> indices 4 0 7 231.000000 != 0.000031
> indices 4 1 1 233.000000 != 0.000031
> indices 4 1 3 235.000000 != 0.000031
> indices 4 1 5 237.000000 != 0.000031
> indices 4 1 7 239.000000 != 0.000031
> indices 4 2 1 241.000000 != 0.000031
> indices 4 2 3 243.000000 != 0.000031
> indices 4 2 5 245.000000 != 0.000031
> indices 4 2 7 247.000000 != 0.000031
> indices 4 3 1 249.000000 != 0.000031
> indices 4 3 3 251.000000 != 0.000031
> indices 4 3 5 253.000000 != 0.000031
> indices 4 3 7 255.000000 != 0.000031
> indices 4 4 1 257.000000 != 0.000031
> indices 4 4 3 259.000000 != 0.000031
> indices 4 4 5 261.000000 != 0.000031
> indices 4 4 7 263.000000 != 0.000031
> indices 4 5 1 265.000000 != 0.000031
> indices 4 5 3 267.000000 != 0.000031
> indices 4 5 5 269.000000 != 0.000031
> indices 4 5 7 271.000000 != 0.000031
> indices 4 6 1 273.000000 != 0.000031
> indices 4 6 3 275.000000 != 0.000031
> indices 4 6 5 277.000000 != 0.000031
> indices 4 6 7 279.000000 != 0.000031
> indices 5 0 1 281.000000 != 0.000031
> indices 5 0 3 283.000000 != 0.000031
> indices 5 0 5 285.000000 != 0.000031
> indices 5 0 7 287.000000 != 0.000031
> indices 5 1 1 289.000000 != 0.000031
> indices 5 1 3 291.000000 != 0.000031
> indices 5 1 5 293.000000 != 0.000031
> indices 5 1 7 295.000000 != 0.000031
> indices 5 2 1 297.000000 != 0.000031
> indices 5 2 3 299.000000 != 0.000031
> indices 5 2 5 301.000000 != 0.000031
> indices 5 2 7 303.000000 != 0.000031
> indices 5 3 1 305.000000 != 0.000031
> indices 5 3 3 307.000000 != 0.000031
> indices 5 3 5 309.000000 != 0.000031
> indices 5 3 7 311.000000 != 0.000031
> indices 5 4 1 313.000000 != 0.000031
> indices 5 4 3 315.000000 != 0.000031
> indices 5 4 5 317.000000 != 0.000031
> indices 5 4 7 319.000000 != 0.000031
> indices 5 5 1 321.000000 != 0.000031
> indices 5 5 3 323.000000 != 0.000031
> indices 5 5 5 325.000000 != 0.000031
> indices 5 5 7 327.000000 != 0.000031
> indices 5 6 1 329.000000 != 0.000031
> indices 5 6 3 331.000000 != 0.000031
> indices 5 6 5 333.000000 != 0.000031
> indices 5 6 7 335.000000 != 0.000031
> indices 6 0 1 337.000000 != 0.000031
> indices 6 0 3 339.000000 != 0.000031
> indices 6 0 5 341.000000 != 0.000031
> indices 6 0 7 343.000000 != 0.000031
> indices 6 1 1 345.000000 != 0.000031
> indices 6 1 3 347.000000 != 0.000031
> indices 6 1 5 349.000000 != 0.000031
> indices 6 1 7 351.000000 != 0.000031
> indices 6 2 1 353.000000 != 0.000031
> indices 6 2 3 355.000000 != 0.000031
> indices 6 2 5 357.000000 != 0.000031
> indices 6 2 7 359.000000 != 0.000031
> indices 6 3 1 361.000000 != 0.000031
> indices 6 3 3 363.000000 != 0.000031
> indices 6 3 5 365.000000 != 0.000031
> indices 6 3 7 367.000000 != 0.000031
> indices 6 4 1 369.000000 != 0.000031
> indices 6 4 3 371.000000 != 0.000031
> indices 6 4 5 373.000000 != 0.000031
> indices 6 4 7 375.000000 != 0.000031
> indices 6 5 1 377.000000 != 0.000031
> indices 6 5 3 379.000000 != 0.000031
> indices 6 5 5 381.000000 != 0.000031
> indices 6 5 7 383.000000 != 0.000031
> indices 6 6 1 385.000000 != 0.000031
> indices 6 6 3 387.000000 != 0.000031
> indices 6 6 5 389.000000 != 0.000031
> indices 6 6 7 391.000000 != 0.000031
> indices 7 0 1 393.000000 != 0.000031
> indices 7 0 3 395.000000 != 0.000031
> indices 7 0 5 397.000000 != 0.000031
> indices 7 0 7 399.000000 != 0.000031
> indices 7 1 1 401.000000 != 0.000031
> indices 7 1 3 403.000000 != 0.000031
> indices 7 1 5 405.000000 != 0.000031
> indices 7 1 7 407.000000 != 0.000031
> indices 7 2 1 409.000000 != 0.000031
> indices 7 2 3 411.000000 != 0.000031
> indices 7 2 5 413.000000 != 0.000031
> indices 7 2 7 415.000000 != 0.000031
> indices 7 3 1 417.000000 != 0.000031
> indices 7 3 3 419.000000 != 0.000031
> indices 7 3 5 421.000000 != 0.000031
> indices 7 3 7 423.000000 != 0.000031
> indices 7 4 1 425.000000 != 0.000031
> indices 7 4 3 427.000000 != 0.000031
> indices 7 4 5 429.000000 != 0.000031
> indices 7 4 7 431.000000 != 0.000031
> indices 7 5 1 433.000000 != 0.000031
> indices 7 5 3 435.000000 != 0.000031
> indices 7 5 5 437.000000 != 0.000031
> indices 7 5 7 439.000000 != 0.000031
> indices 7 6 1 441.000000 != 0.000031
> indices 7 6 3 443.000000 != 0.000031
> indices 7 6 5 445.000000 != 0.000031
> indices 7 6 7 447.000000 != 0.000031
> Done
> got val = 3.250000
> got val = 0.000000
> got val = 2.718282
> got val = 82555
> got val = 97
> got NC_CHAR val = A (0x41)
> got NC_CHAR val = B (0x42)
> got NC_CHAR val = "The red death had long devastated the country."
> got val = A (0x41)
> got val = B (0x42)
> got val = "The red death had long devastated the country."
> got vals = 0.000031 ... 0.000031
> re nc_close ret = 0
> cmp test.nc test_nc.sav
> test.nc test_nc.sav differ: char 2084, line 5
The last line above indicates that your netCDF library doesn't work
properly.
When you built the library, did you follow the instructions in the
INSTALL file for a CRAY T3D. Here they are:
This example is for a CRAY T3D that is being front-ended by a CRAY
C90 and *not* for the C90 itself.
Have /mpp/bin at the head of your PATH.
Set this environment variable so that the configure script
(and tests) will be run on the t3d.
TARGET=cray-t3d
Set this environment variable so that the configure script
(and tests) will be run on a single processor of the t3d.
MPP_NPES=1
CC=cc
CPPFLAGS=-DNDEBUG
CFLAGS=-O
FC=f90
FFLAGS="-g -F -dp"
CXX="" # problems compiling cplusplus, use CXXFLAGS="-h char"?
--------
Steve Emmerson <http://www.unidata.ucar.edu>