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

Re: Problems building netcdf-2.4.3 on CRAY T90



> > Okay, It looks like the configure actions are the same.
> > So, lets try ffio.
> >
> > Save the 2.4.3 xdrffio.c somehow, copy the 2.4.2 xdrffio.c into
> > the 2.4.3/libsrc, and try again.
>
> Some progress with that...Here's what I did:
>
>  mv ./libsrc/xdrffio.c ./libsrc/xdrffio.c-243
>  cp ../../netcdf-2.4.2/src/libsrc/xdrffio.c ./libsrc/xdrffio.c
>  mv make_all.log make_all.log-1
>
>  make all > & ! make_all.log &
>  tail -f make_all.log
>
>  mv make_test.log make_test.log-1
>  rm libsrc/cdftest
>  make test > & ! make_test.log &
>  tail -f make_test.log
>
> The "test" seemed to finish, despite a stumble right out of the gate-
> don't understand that...
>
> Should I retry, starting from scratch (or after a "make clean"), or do
> you have another test in mind?
>
> The "make test" result is below.
>
> John

Okay.

So it looks like there is a problem with the 2.4.3 xdrffio.c.
If you want, you can go over it with you local CRAY expert, or
pursue it that with the author, or whatever. It is contributed code.

If you are still interested in trying netcdf-3 library, you can proceed with
that and I'll stand by.

In order to achieve your original goal of better fill performance,
change NFILL in putget.c from 16 to (NC_PG_CHUNK/8). (I'll make this easier
to do in a future release.)

-glenn



> ================================================================
> FORCE: No action was taken.
> library: No action was taken.
> Make: "dir=`echo libsrc/test | sed 's,/.*,,'`; \
>     target=`echo libsrc/test | sed "s,$dir/,,"`; \
>     cd $dir && \
>     echo "making \`$target' in directory `pwd`" && \
>     echo "" && \
>     make  \
>         prefix=/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3
exec_prefix=/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3 \
>         $target || exit 1": Error code 1
> redef ...               ok ***
> *** Testing ncendef ...         ok ***
> *** Testing ncclose ...         ok ***
> *** Testing ncinquire ...       ok ***
> *** Testing ncsync ...          ok ***
> *** Testing ncabort ...         ok ***
> *** Testing ncdimdef ...        ok ***
> *** Testing ncdimid ...         ok ***
> *** Testing ncdiminq ...        ok ***
> *** Testing ncdimrename ...     ok ***
> *** Testing ncvardef ...        ok ***
> *** Testing ncvarid ...         ok ***
> *** Testing ncvarinq ...        ok ***
> *** Testing ncvarput1 ...       ok ***
> *** Testing ncvarget1 ...       ok ***
> *** Testing ncvarput ...        ok ***
> *** Testing ncvarget ...        ok ***
> *** Testing ncvarputg ...       ok ***
> *** Testing ncvargetg ...       ok ***
> *** Testing ncrecinq ...        ok ***
> *** Testing ncrecput ...        ok ***
> *** Testing ncrecget ...        ok ***
> *** Testing ncvarrename ...     ok ***
> *** Testing ncattput ...        ok ***
> *** Testing ncattinq ...        ok ***
> *** Testing ncattget ...        ok ***
> *** Testing ncattcopy ...       ok ***
> *** Testing ncattname ...       ok ***
> *** Testing ncattrename ...     ok ***
> *** Testing ncattdel ...        ok ***
> *** Testing nctypelen ...       ok ***
>
> returning to directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src
>
>
> making `test' in directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src/fortran
>
> FORCE: No action was taken.
>         ./fortc -L . -O unicos ftest.src > ftest.f
>         f90 -c -O2 ftest.f
> f90 -o ftest -O2 ftest.o -L../libsrc -lnetcdf
>         ./ftest
> *** Testing nccre ...
> *** Testing ncddef ...
> *** Testing ncvdef ...
> *** Testing ncapt, ncaptc ...
> *** Testing ncclos ...
> *** Testing ncvpt1 ...
> *** Testing ncvgt1 ...
> *** Testing ncvpt ...
> *** Testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ...
> *** Testing ncvgt, ncvgtc ...
> *** Testing ncagt, ncagtc ...
> *** Testing ncredf, ncdren, ncvren, ncaren, ncendf ...
> *** Testing ncacpy ...
> *** Testing ncadel ...
> *** Testing fill values ...
>
> returning to directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src
>
>
> making `test' in directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src/ncdump
>
> FORCE: No action was taken.
>         ../ncgen/ncgen -o test0.nc -n test0.cdl
>         ./ncdump test0.nc > test1.cdl
>         ../ncgen/ncgen -o test1.nc -n test1.cdl
>         ./ncdump -n test0 test1.nc > test2.cdl
> *** ncdump test successful ***
> FORCE: No action was taken.
>
> returning to directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src
>
>
> making `test' in directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src/ncgen
>
>         ./ncgen -b -o test0.nc test0.cdl
>         ../ncdump/ncdump -n test1 test0.nc > test1.cdl
>         ./ncgen -b test1.cdl
>         ../ncdump/ncdump test1.nc > test2.cdl
> *** ncgen -b test successful ***
>         ./ncgen -c -o ctest0.nc test0.cdl > test0.c
>         c89 -o ctest0 -I../libsrc -DDEBUG -O  test0.c ../libsrc/libnetcdf.a
>         ./ctest0                # tests `-c' option, creates ctest0.nc
>         ../ncdump/ncdump -n test1 ctest0.nc > ctest1.cdl
> *** ncgen -c test successful ***
> *** ncgen -f test successful ***
> FORCE: No action was taken.
> test: No action was taken.
>
> returning to directory
/t90home1/b/jps/unidata.ucar.edu/pub/netcdf/netcdf-2.4.3/src
>
> test: No action was taken.