[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
960209: netCDF on BSD
- Subject: 960209: netCDF on BSD
- Date: Fri, 09 Feb 96 07:54:08 -0700
Masato,
>Date: Fri, 9 Feb 96 11:40:19 JST
>From: address@hidden (Masato Shiotani)
>Organization: Div. of Ocean and Atmospheric Sci., Hokkaido Univ.
>Subject: Re: 960208: netCDF on BSD
>Keywords: 199602010918.AA01928
In the above message you wrote:
> Eventually, we succeeded!
Great!
> In Makefile there is description for target 'test' as follows:
>
> test: $(PROGRAM) FORCE
> ./$(PROGRAM)
>
> But our system doesn't extend as we would expect, so I rewrote this
> part explicitly:
>
> test: ftest.f FORCE
> f77 -o ftest ftest.f -L../libsrc -lnetcdf -lrpc
> ./$(PROGRAM)
>
> Then the output for 'make test' is as follows:
>
> f77 -o ftest ftest.f -L../libsrc -lnetcdf -lrpc
> f2c ftest.f
> ftest.f:
> MAIN ftest:
> Warning on line 107 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: ncopn declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 107 of ftest.f: nctlen declared EXTERNAL but never used.
> tncacpy:
> Warning on line 191 of ftest.f: inconsistent calling sequences for ncagt,
> arg 4: here integer*2 variable, previously integer*1 variable.
> Warning on line 265 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 265 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 265 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 265 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 265 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 265 of ftest.f: nctlen declared EXTERNAL but never used.
> tncadel:
> Warning on line 310 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 310 of ftest.f: nctlen declared EXTERNAL but never used.
> tncagt:
> Warning on line 453 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 453 of ftest.f: nctlen declared EXTERNAL but never used.
> tncapt:
> Warning on line 489 of ftest.f: inconsistent calling sequences for ncapt,
> arg 6: here integer*2 variable, previously integer*1 variable.
> Warning on line 539 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: ncopn declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 539 of ftest.f: nctlen declared EXTERNAL but never used.
> BLOCK DATA:
> tncddef:
> Warning on line 605 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: ncopn declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 605 of ftest.f: nctlen declared EXTERNAL but never used.
> tncinq:
> Warning on line 749 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 749 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 749 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 749 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 749 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 749 of ftest.f: nctlen declared EXTERNAL but never used.
> tncredf:
> Warning on line 784 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 784 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 784 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 784 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 784 of ftest.f: nctlen declared EXTERNAL but never used.
> tncvdef:
> Warning on line 853 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: ncopn declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 853 of ftest.f: nctlen declared EXTERNAL but never used.
> tncvgt:
> Warning on line 918 of ftest.f: inconsistent calling sequences for ncvgt,
> arg 5: here integer*2 variable, previously integer*1 variable.
> Warning on line 987 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 987 of ftest.f: nctlen declared EXTERNAL but never used.
> tncvgt1:
> Warning on line 1029 of ftest.f: inconsistent calling sequences for ncvgt1,
> arg 4: here integer*2 variable, previously integer*1 variable.
> Warning on line 1059 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 1059 of ftest.f: nctlen declared EXTERNAL but never used.
> tncvpt:
> Warning on line 1116 of ftest.f: inconsistent calling sequences for ncvpt,
> arg 5: here integer*2 variable, previously integer*1 variable.
> Warning on line 1163 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 1163 of ftest.f: nctlen declared EXTERNAL but never used.
> tncvpt1:
> Warning on line 1201 of ftest.f: inconsistent calling sequences for ncvpt1,
> arg 4: here integer*2 variable, previously integer*1 variable.
> Warning on line 1220 of ftest.f: ncdid declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: nccre declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: ncvid declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: ncddef declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: ncvdef declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: ncsfil declared EXTERNAL but never used.
> Warning on line 1220 of ftest.f: nctlen declared EXTERNAL but never used.
The above warning may be safely ignored.
> gcc ftest.c -O3 -m486 -funroll-loops -o ftest -L../libsrc -lnetcdf -lrpc
> -lF77 -lI77 -lcfpu
> ./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 ...
>
> It seems OK.
Yes, it does.
> >> It looks like you're almost done. The remaining steps are
> >>
> >> 1. Testing the FORTRAN API using the file `ftest.f' that will come
> >> in another message.
> >>
> >> 2. Installing the netCDF package by executing the command `make
> >> install' from the top-level source directory.
> >>
> >> 3. Cleaning up by executing the command `make clean' from the
> >> top-level source directory. NOTE: This command will remove
> >> the fortran/ subdirectory files that I sent you: `netcdf.inc',
> >> `jackets.c', and `ftest.f'. You should probably save these
> >> files before executing the command.
>
> I have done all these steps, and I found the NetCDF package is working
> well.
>
> Thanks for your efforts!
>
> Masato
You're most welcome. If you ever get to Boulder again, look me up.
--------
Steve Emmerson <address@hidden>