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

960822: installing on SunOS 4.1.4 system



Aaron,

>Date: Wed, 21 Aug 1996 18:13:03 -0600 
>From: address@hidden (Aaron Lai)
>Organization: Los Alamos National Laboratory
>To: address@hidden,
>To: address@hidden
>Subject: netCDF library 
>Keywords: 199608220013.AA12558 

In the above message you wrote:

>    I compiled the "gennet.for" program and linked with "-lnsl" as you
> suggested and got the executible working.  Thanks!
> 
>    That linking works on the Solaris system.  Since the majority of my
> netCDF data files and other model programs are on the LANL's Advanced
> Computing Lab's Sun 4 system, I also tried to compile and link on
> that system.  However, I tried many combinations of library link, and
> didn't get it to work.  There are two versions of "libnetcdf.a" in the
> ACL system:
> 
> 1.  When I linked the gennet.o with
> -rw-rw-r--  1 root       158096 Jan 26  1996 /usr/local/lib/libnetcdf.a
>     I got the message:
> .koala.cal,/home/ocean/data/CCM3/readnet {131} > f77 gennet.for 
> /usr/local/lib/libnetcdf.a -lnetcdf -lnsl
> gennet.for:
>  MAIN:
> ld: /usr/local/lib/libnetcdf.a: warning: archive has no table of contents; 
> add one using ranlib(1)
> ld: /usr/local/lib/libnetcdf.a(/): bad magic number

It appears that your installation of /usr/local/lib/libnetcdf.a didn't
work.  (I assume that it's the new library.)

...
> 2.  When I linked the gennet.o with
> -rwxr--r--  1 root        64608 Aug 21 11:25 /usr/lanl/lib/libnetcdf.a
>     I got the message:
> .koala.cal,/home/ocean/data/CCM3/readnet {135} > f77 gennet.for 
> /usr/lanl/lib/libnetcdf.a -L/usr/local//lib -lnetcdf
> gennet.for:
>  MAIN:
> ld: /usr/local//lib/libnetcdf.a: warning: archive has no table of contents; 
> add one using ranlib(1)
> ld: /usr/local//lib/libnetcdf.a(/): bad magic number
> 
>    The two experiments linked two versions of "libnetcdf.a" (one is old, Jan 
> 26, size 158096;
> the other is update, Aug 21, size 64608), but both were telling the same 
> thing.  Since I
> installed a netCDF on the Solaris system, and got it to work for me with your 
> message
> about the "-lnsl", I decided to install it on the ACL's system under my home 
> directory.
> (I had asked ACL's system managers several time to help me on the netCDF 
> problem,
> but, I never got any messages back.  I know that netCDF was used by one 
> people on the
> ACL system long ago.)  After I installed the netCDF, and tried it, I got the 
> same
> message:
> 
> .koala.cal,/home/ocean/data/CCM3/readnet {145} > f77 gennet.for 
> ../netcdf-2.4.3/lib/libnetcdf.a -lnetcdf -lnsl
> gennet.for:
>  MAIN:
> ld: /usr/local/lib/libnetcdf.a: warning: archive has no table of contents; 
> add one using ranlib(1)
> ld: /usr/local/lib/libnetcdf.a(/): bad magic number
> 
>    So, I cd to ../netcdf-2.4.3/lib and executed "ranlib libnetcdf.a" to add 
> one "table of
> contents".  But, after that, I still got the same message from linking.
> 
>    Now, I am asking your help again, with following information:
> 
> =======================================================================================
> .koala.cal,/home/ocean/data/CCM3/readnet {152} > uname -a
> SunOS koala 4.1.4 1 sun4m

We have the above system here.  The netCDF package installs on it with
no problems.

> =======================================================================================
> .koala.cal,/home/ocean/data/CCM3/readnet {153} > env
> HOME=/users/cal
> SHELL=/bin/csh
> TERM=dtterm
> USER=cal
> PATH=/usr/cm/bin:/usr/local/bin:/usr/local/graphics/bin:/usr/local/share/bin:/usr/bin/X11:/usr/lang:/usr/ucb:/bin:/usr/bin:/usr/lanl/bin:.:/users/cal/bin:/users/dennis/pvm3/bin/SUN4:/users/dennis/pvm3/lib:/users/dennis/pvm3/lib/SUN4
> PWD=/home/ocean/data/CCM3/readnet
> CSHRCVERS=$Revision: 3.6 $
> OPENWINHOME=/home/openwin
> ABHOME=/home/AnswerBook
> HOST=koala
> PAGER=/usr/ucb/more
> LOGNAME=cal
> MANPATH=/usr/cm/man:/usr/cm/djm/man:/home/hippi/man:/usr/local/man:/usr/local/share/man:/usr/lanl/man:/usr/lang/man:/usr/man
> CMSW=/usr/cm
> ISLAND_HOME=/home/IslandGraphics
> EXPLORERHOME=/usr/explorer
> FMHOME=/home/frame
> KHOROS_HOME=/home/khoros
> LM_LICENSE_FILE=/usr/local/flexlm/licenses/license.dat:/home/licenses/pooh/licenses_combined:/home/licenses/kodiak/licenses_combined:/home/licenses/cocker/licenses_combined
> FONTPATH=/home/AnswerBook/lib/fonts
> ENVIRONMENT=INTERACTIVE
> CVSROOT=/home/ocean/CVS-pop
> PVM_ROOT=/users/dennis/pvm3
> PVM_ARCH=SUN4
> PVM_DPATH=/users/dennis/pvm3/lib/pvmd
> DJM_PROJECT=pop-p
> LOGINVERS=$Revision: 1.4 $
> DEFAULT_TERM=vt100
> 00\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:ko=nd\054up:
> ================================================================================================

Your environment looks OK.

> I didn't set anything in the CUSTOMIZE file
> 
> =====================================================================================
> .koala.cal,/home/ocean/data/CCM3/netcdf-2.4.3/src {158} > configure
> creating cache ./config.cache
> checking for catman... catman
> checking for fill-value usage... new usage
> checking the installation prefix... 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3

The above line indicates that the netCDF library will be installed in
the directory `/am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/lib'.  What
happened to `/usr/local/lib'?

> checking the installation exec-prefix... 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3
> checking for acc... acc
> checking type of operating system... sunos4
> checking type of machine... sun4
> checking for ranlib... ranlib
> checking how to run the C preprocessor... /lib/cpp
> checking the C preprocessor... works
> checking for f77... f77
> checking for CC... CC
> checking for yacc... yacc
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... ar
> checking for makeinfo... makeinfo
> checking for tar flags... -chof
> checking for dependency generation mechanism... acc -M
> checking for C position-independent-code compile-option... -pic
> checking whether cross-compiling... no
> checking size of int... 4
> checking size of long... 4
> checking type of nclong... long
> checking endianess... big endian
> checking type of netlong... long
> checking type of internal netlong... long
> checking for XDR header-file... -I/usr/include/rpc
> checking for XDR library... 
> checking for xdr_long in default library... yes
> checking XDR implementation... ok
> checking type pointed to by inline XDR function... netlong
> checking XDR structure xdr_ops for x_getint member... no
> checking which XDR module to use... xdrposix
> checking for function prototype... yes
> checking for working const... yes
> checking for variadic function support... yes
> checking for strerror... yes
> checking compiler options for IEEE arithmetic... 
> checking for size of block buffer... 8192
> checking for float.h... no
> checking for stdlib.h... yes
> checking C header file <stdlib.h> for function malloc()... declared
> checking for package version... 2.4
> checking binary distribution directory... /home/ftp/pub/binary/sun4-sunos4
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating xdr/Makefile
> creating libsrc/Makefile
> creating fortran/Makefile
> creating cxx/Makefile
> creating ncgen/Makefile
> creating ncdump/Makefile
> creating nctest/Makefile
> creating doc/Makefile
> creating port/master.mk
> creating port/Makefile
> creating libsrc/local_nc.h
> libsrc/local_nc.h is unchanged
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> expanding `include's in file `Makefile'
> expanding `include's in file `xdr/Makefile'
> expanding `include's in file `libsrc/Makefile'
> expanding `include's in file `fortran/Makefile'
> expanding `include's in file `cxx/Makefile'
> expanding `include's in file `ncgen/Makefile'
> expanding `include's in file `ncdump/Makefile'
> expanding `include's in file `nctest/Makefile'
> expanding `include's in file `doc/Makefile'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> ================================================================================

Other than the above installation note, the output from the configure
script looks OK.

> 
> .koala.cal,/home/ocean/data/CCM3/netcdf-2.4.3/src {159} > more config.log

The file `config.log' looks OK except for the `OS level 4.1.4 not in
table' messages -- which I've never seen before.

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:1156: acc -E  conftest.c >/dev/null 2>conftest.out
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1171: acc -E -traditional-cpp  conftest.c >/dev/null 2>conftest.out
> acc: Warning: Option -traditional-cpp passed to ld
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1197: /lib/cpp  conftest.c >/dev/null 2>conftest.out
> configure:1684: acc -c -O -pic  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1712: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1745: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1781: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1845: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1875: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:1960: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2169: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2218: acc -c -O  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> "configure", line 2207: warning: tokens ignored at end of directive line
> "configure", line 2213: undefined struct/union member: x_getint
> "configure", line 2213: warning: improper pointer/integer combination: op "="
> configure:2259: acc -c -O  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2292: acc -c -O  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2332: acc -c -O  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2378: acc -o conftest -O   conftest.c  1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> configure:2450: /lib/cpp  conftest.c >/dev/null 2>conftest.out
> configure: 2447: Can't find include file float.h
> configure:2484: /lib/cpp  conftest.c >/dev/null 2>conftest.out
> configure:2510: acc -c -O  conftest.c 1>&5
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> "configure", line 2502: identifier redeclared: malloc
> ==================================================================================
> 
> **** All those "acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 
> include path"
>      are suspicious.

They are very suspicious.  The don't seem to affect the build, however:
the `make test' succeeds.

I suspect that your compilation environment is incorrect somehow.  Your
system administrator should be informed.

> 
> ==================================================================================
> Output from "make all"
> 
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -pic -O  putget.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> "putget.c", line 354: warning: argument is incompatible with prototype: arg #1
> "putget.c", line 1087: warning: argument is incompatible with prototype: arg 
> #1
> acc -c -pic -O  putgetg.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -pic -O  sharray.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> case `uname -sv` in \
>     'AIX 3') \
>         CFLAGS=`echo -pic -O | sed 's/-O[23]//g;s/-O//g'`; \
>         acc -c $CFLAGS  string.c; \
>         ;; \
>     *) \
>         acc -c -pic -O  string.c; \
>         ;; \
> esac
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -pic -O  var.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> "var.c", line 641: warning: argument is incompatible with prototype: arg #1
> "var.c", line 641: warning: argument is incompatible with prototype: arg #2
> acc -c -pic -O  xdrposix.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> "xdrposix.c", line 120: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 131: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 219: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 219: warning: argument is incompatible with prototype: arg 
> #2
> "xdrposix.c", line 228: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 228: warning: argument is incompatible with prototype: arg 
> #2
> "xdrposix.c", line 252: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 252: warning: argument is incompatible with prototype: arg 
> #2
> "xdrposix.c", line 263: warning: argument is incompatible with prototype: arg 
> #1
> "xdrposix.c", line 263: warning: argument is incompatible with prototype: arg 
> #2
> ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o iarray.o error.o  
> globdef.o putget.o putgetg.o sharray.o string.o var.o  xdrposix.o
> a - array.o
> a - attr.o
> a - cdf.o
> a - dim.o
> a - file.o
> a - iarray.o
> a - error.o
> a - globdef.o
> a - putget.o
> a - putgetg.o
> a - sharray.o
> a - string.o
> a - var.o
> a - xdrposix.o
> case "" in \
> '') ;; \
> *)  ar rucv libnetcdf.a ;; \
> esac
> ranlib libnetcdf.a
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `all' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/fortran
> 
> ./fortc -L . -O sunos4 common.inc > netcdf.inc
> ./fortc -L . -O sunos4 jackets.src > jackets.c
> acc -c -pic -O -I../libsrc jackets.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> ar rcuv ../libsrc/libnetcdf.a jackets.o
> a - jackets.o
> ranlib ../libsrc/libnetcdf.a
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `all' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/ncdump
> 
> acc -c -O -I../libsrc -DNO_FLOAT_H ncdump.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vardata.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H dumplib.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -o ncdump -O ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `all' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/ncgen
> 
> acc -c -O -I../libsrc main.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc load.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> lex ncgen.l
> 496/1000 nodes(%e), 1695/6000 positions(%p), 234/500 (%n), 14134 transitions,
> 301/2500 packed char classes(%k), 962/2000 packed transitions(%a), 1151/3000 
> output slots(%o)
> mv lex.yy.c ncgenyy.c
> yacc -d ncgen.y
> mv y.tab.c ncgentab.c
> mv y.tab.h ncgentab.h
> acc -c -O -I../libsrc ncgentab.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc escapes.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc getfill.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc init.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc close.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc genlib.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o close.o 
> genlib.o ../libsrc/libnetcdf.a
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> making `all' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/nctest
> 
> acc -c -O -I../libsrc -DNO_FLOAT_H varget.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vargetg.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H varput.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H varputg.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vardef.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vartests.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vputget.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H vputgetg.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H driver.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H cdftests.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H dimtests.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H rec.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H atttests.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H misctest.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H add.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H error.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H emalloc.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H val.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -c -O -I../libsrc -DNO_FLOAT_H slabs.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -o nctest -O varget.o vargetg.o varput.o varputg.o vardef.o vartests.o 
> vputget.o vputgetg.o driver.o cdftests.o dimtests.o rec.o atttests.o 
> misctest.o add.o error.o emalloc.o val.o slabs.o ../libsrc/libnetcdf.a
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `all' in directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/cxx
> 
> making `all' in directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/cxx
> 
> CC -c  -I../libsrc  netcdf.cc
> CC: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> CC -c  -I../libsrc  ncvalues.cc
> CC: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> ar rcuv libnetcdf_c++.a netcdf.o ncvalues.o
> a - netcdf.o
> a - ncvalues.o
> case "" in \
> '') ;; \
> *)  ar rucv libnetcdf_c++.a ;; \
> esac
> ranlib libnetcdf_c++.a
> CC -c  -I../libsrc  nctst.cc
> CC: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> CC  nctst.o -L. -lnetcdf_c++ -L../libsrc -lnetcdf  -o nctst
> CC: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `all' in directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/doc
> 
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> =======================================================================================
> Output from "make test"
> 
> making `test' in directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/xdr
> 
> acc -c -pic -O -I/usr/include/rpc  xdrtest.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> acc -o xdrtest -pic -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 ***
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `test' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/libsrc
> 
> acc -c -pic -O  cdftest.c
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o iarray.o error.o  
> globdef.o putget.o putgetg.o sharray.o string.o var.o  xdrposix.o
> case "" in \
> '') ;; \
> *)  ar rucv libnetcdf.a ;; \
> esac
> ranlib libnetcdf.a
> acc -o cdftest -pic -O cdftest.o libnetcdf.a
> ./cdftest > cdftest_out.new
> diff cdftest_out.new testout.sav
> *** netCDF passes formatted test ***
> cmp test.nc test_cdf.sav
> *** netCDF passes binary test ***
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `test' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/nctest
> 
> acc -o nctest -O varget.o vargetg.o varput.o varputg.o vardef.o vartests.o 
> vputget.o vputgetg.o driver.o cdftests.o dimtests.o rec.o atttests.o 
> misctest.o add.o error.o emalloc.o val.o slabs.o ../libsrc/libnetcdf.a
> ./nctest
> *** Testing nccreate ...        ok ***
> *** Testing ncopen ...          ok ***
> *** Testing ncredef ...         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 /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src

The above indicates that the netCDF library was built correctly.

> 
> 
> making `test' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/fortran
> 
> ar rcuv ../libsrc/libnetcdf.a jackets.o
> ranlib ../libsrc/libnetcdf.a
> ./fortc -L . -O sunos4 ftest.src > ftest.f
> f77 -c  ftest.f
> ftest.f:
>  MAIN ftest:
>         tncacpy:
>         tncadel:
>         tncagt:
>         tncapt:
>  BLOCK DATA:
>         tncddef:
>         tncinq:
>         tncredf:
>         tncvdef:
>         tncvgt:
>         tncvgt1:
>         tncvpt:
>         tncvpt1:
>         tfills:
> f77 -o ftest 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 ...

The above indicates that the FORTRAN API works correctly.

> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `test' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/ncdump
> 
> acc -o ncdump -O ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a
> ../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 ***
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `test' in directory 
> /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/ncgen
> 
> acc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o close.o 
> genlib.o ../libsrc/libnetcdf.a
> ./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
> acc -o ctest0 -I../libsrc -O  test0.c ../libsrc/libnetcdf.a 
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> ./ctest0                # tests `-c' option, creates ctest0.nc
> ../ncdump/ncdump -n test1 ctest0.nc > ctest1.cdl
> *** ncgen -c test successful ***
> test0.f:
>  MAIN fgennc:
> *** ncgen -f test successful ***
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> 
> making `test' in directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src/cxx
> 
> ar rcuv libnetcdf_c++.a netcdf.o ncvalues.o
> case "" in \
> '') ;; \
> *)  ar rucv libnetcdf_c++.a ;; \
> esac
> ranlib libnetcdf_c++.a
> CC  nctst.o -L. -lnetcdf_c++ -L../libsrc -lnetcdf  -o nctst
> CC: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
> ./nctst > test.out
> *** C++ test successful ***
> 
> returning to directory /am/nestegg/p8/ocean/data/CCM3/netcdf-2.4.3/src
> 
> ================================================================================
> 
> Output from "make clean"

Here you're making `clean'.  What happened to making `install'?

> My telephone number: (505) 665-6635

We eschew phones.

--------
Steve Emmerson   <address@hidden>