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

Re: 20010712: NetCDF Error report



>To: address@hidden
>From: Yu-Jin Choi <address@hidden>
>Subject: Error report
>Organization: UCAR/Unidata
>Keywords: 200107121920.f6CJKs126517

Hi,

> I got a problem at the step "make test". Below are the information.
> 
> (A) SunOS 90a-268.umd.edu 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
> (B) 3.5.0
> (C) C compiler : /opt/SUNWspro/bin/c89
>     f77        : /opt/SUNWspro/bin/f77
>     f90        : /opt/SUNWspro/bin/f90
>     C++        : /opt/SUNWspro/bin/CC
> 
> (D) configure.log
> 
> creating cache ./config.cache
> checking for top-level source-directory
> /export/data/SMK3/yjchoi/netcdf-3.5.0/src
> checking for m4 preprocessor
> checking for m4... m4
> checking m4 flags... -B10000
 ...
> Making `test' in directory
> /export/data/SMK3/yjchoi/netcdf-3.5.0/src/fortran
> 
> ar cru ../libsrc/libnetcdf.a fort-attio.o        fort-control.o fort-dim.o 
> fort-genatt.o   fort-geninq.o fort-genvar.o   fort-lib.o fort-misc.o     
> fort-v2compat.o         fort-vario.o    fort-var1io.o fort-varaio.o   
> fort-varmio.o   fort-varsio.o
> ranlib ../libsrc/libnetcdf.a
> /opt/SUNWspro/bin/f77 -o ftest -O -w  ftest.o ../libsrc/libnetcdf.a
> *** Error code 1
> *** Error code 1

I can't duplicate the problem here.  It looks like something's missing
in the output from this last step that you sent from "make test",
because this should have compiled the program ftest.F before trying to
link it and running the test.  For example, here's the output I see on
a similar Solaris 7 system:

 Making `test' in directory /scratch/russ/builds/buddy-opt/src/fortran

 + /opt/SUNWspro/bin/f77 -c -O -w ftest.F 
 /tmp/fpp.26521.0.f:
  MAIN ftest:
         tncacpy:
         tncadel:
         tncagt:
         tncapt:
  BLOCK DATA:
         tncddef:
         tncinq:
         tncredf:
         tncvdef:
         tncvgt:
         tncvgt1:
         tncvpt:
         tncvpt1:
         tfills:
 ar cru ../libsrc/libnetcdf.a fort-attio.o       fort-control.o  fort-dim.o     
 fort-genatt.o   fort-geninq.o   fort-genvar.o   fort-lib.o      fort-misc.o    
 fort-v2compat.o         fort-vario.o    fort-var1io.o   fort-varaio.o   
fort-varmio.o   fort-varsio.o
 ranlib ../libsrc/libnetcdf.a
 /opt/SUNWspro/bin/f77 -o ftest -O -w  ftest.o ../libsrc/libnetcdf.a 
 ./ftest
 *** Testing nccre ...
 *** Testing ncddef ...
 *** Testing ncvdef ...
 *** Testing ncapt, ncaptc ...
...
 *** Testing ncadel ...
 *** Testing fill values ...

Could you please go to the netcdf-3.5.0/src/fortran/ directory and
send me the output you see from the following:

 make clean all test

Thanks.

--Russ