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

970609: building using NAG f90



Steve,

>Date: 9 Jun 1997 09:37:54 -0500 
>From: "Steve Mauget" <address@hidden>
>Organization: USDA
>To: "Steve E" <address@hidden>
>Subject: Latest test... 
>Keywords: 199706021417.IAA27579

In the above message, you wrote:

> Steve: 
> 
>      Below is the most recent output of "make" and "make test".
>      I have edited out a lot of repeated warning statements that
>      occured during  testing in src/fortran.
> 
>                                                 Steve M.
> 
> C==========================================================
> 
> Making `all' in directory /temp/netcdf-3.3.1/src/libsrc
> 
>       /bin/c89 -c -g -I.   attr.c
>       /bin/c89 -c -g -I.   dim.c
>       /bin/c89 -c -g -I.   error.c
>       /bin/c89 -c -g -I.   -DVERSION=`cat ../VERSION` libvers.c
>       /bin/c89 -c -g -I.   nc.c
>       /bin/c89 -c -g -I.   ncio.c
>       /bin/c89 -c -g -I.   ncx.c
>       /bin/c89 -c -g -I.   putget.c
>       /bin/c89 -c -g -I.   string.c
>       /bin/c89 -c -g -I.   v1hpg.c
>       /bin/c89 -c -g -I.   v2i.c
>       /bin/c89 -c -g -I.   var.c
>       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
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> 
> Making `all' in directory /temp/netcdf-3.3.1/src/fortran
> 
>       /bin/c89 -c -g -I../libsrc   fort-attio.c
>       /bin/c89 -c -g -I../libsrc   fort-control.c
>       /bin/c89 -c -g -I../libsrc   fort-dim.c
>       /bin/c89 -c -g -I../libsrc   fort-genatt.c
>       /bin/c89 -c -g -I../libsrc   fort-geninq.c
>       /bin/c89 -c -g -I../libsrc   fort-genvar.c
>       /bin/c89 -c -g -I../libsrc   fort-lib.c
>       /bin/c89 -c -g -I../libsrc   fort-misc.c
>       /bin/c89 -c -g -I../libsrc   fort-v2compat.c
>       /bin/c89 -c -g -I../libsrc   fort-vario.c
>       /bin/c89 -c -g -I../libsrc   fort-var1io.c
>       /bin/c89 -c -g -I../libsrc   fort-varaio.c
>       /bin/c89 -c -g -I../libsrc   fort-varmio.c
>       /bin/c89 -c -g -I../libsrc   fort-varsio.c
>       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
>       : ../libsrc/libnetcdf.a
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> 
> Making `all' in directory /temp/netcdf-3.3.1/src/ncdump
> 
>       /bin/c89 -c -g -I../libsrc   ncdump.c
>       /bin/c89 -c -g -I../libsrc   vardata.c
>       /bin/c89 -c -g -I../libsrc   dumplib.c
>       /bin/c89 -o ncdump -g  ncdump.o vardata.o dumplib.o -L../libsrc 
> -lnetcdf  
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> 
> Making `all' in directory /temp/netcdf-3.3.1/src/ncgen
> 
>       /bin/c89 -c -g -I../libsrc -I.   main.c
>       /bin/c89 -c -g -I../libsrc -I.   load.c
>       /bin/c89 -c -g -I../libsrc -I.   ncgentab.c
>       /bin/c89 -c -g -I../libsrc -I.   escapes.c
>       /bin/c89 -c -g -I../libsrc -I.   getfill.c
>       /bin/c89 -c -g -I../libsrc -I.   init.c
>       /bin/c89 -c -g -I../libsrc -I.   genlib.c
>       /bin/c89 -o ncgen -g  main.o load.o ncgentab.o escapes.o  getfill.o 
> init.o
> genlib.o -L../libsrc -lnetcdf  
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> Not making `cxx/all' because no C++ compiler
> 
> Making `test' in directory /temp/netcdf-3.3.1/src/libsrc
> 
>       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
>       /bin/c89 -o t_nc -g  t_nc.o -L. -lnetcdf 
>       ./t_nc
> trying again
> dimrename: IXX
> nc_close ret = 0
> 
> reopen id = 3 for filename test.nc
> NC done
> GATTR VAR VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> fill_seq indices       1 2 3  75.000000 != 2.718282
> 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.000000 ... 447.000000
> re nc_close ret = 0
>       cmp test.nc test_nc.sav
> *** Success ***
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> 
> Making `test' in directory /temp/netcdf-3.3.1/src/nctest
> 
>       ./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 ***
>       cmp testfile.nc testfile_nc.sav
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 
> 
> Making `test' in directory /temp/netcdf-3.3.1/src/nc_test
> 
>       ./nc_test
> *** Testing nc_strerror ... ok
> *** Testing nc_open ... ok
> *** Testing nc_close ... ok
> *** Testing nc_inq ... ok
> *** Testing nc_inq_dimid ... ok
> *** Testing nc_inq_dim ... ok
> *** Testing nc_inq_dimlen ... ok
> *** Testing nc_inq_dimname ... ok
> *** Testing nc_inq_varid ... ok
> *** Testing nc_inq_var ... ok
> *** Testing nc_inq_natts ... ok
> *** Testing nc_inq_ndims ... ok
> *** Testing nc_inq_nvars ... ok
> *** Testing nc_inq_unlimdim ... ok
> *** Testing nc_inq_vardimid ... ok
> *** Testing nc_inq_varname ... ok
> *** Testing nc_inq_varnatts ... ok
> *** Testing nc_inq_varndims ... ok
> *** Testing nc_inq_vartype ... ok
> *** Testing nc_get_var_text ...  179 good comparisons. ok
> *** Testing nc_get_var_uchar ...  264 good comparisons. ok
> *** Testing nc_get_var_schar ...  269 good comparisons. ok
> *** Testing nc_get_var_short ...  682 good comparisons. ok
> *** Testing nc_get_var_int ...  1189 good comparisons. ok
> *** Testing nc_get_var_long ...  1189 good comparisons. ok
> *** Testing nc_get_var_float ...  1194 good comparisons. ok
> *** Testing nc_get_var_double ...  1207 good comparisons. ok
> *** Testing nc_get_var1_text ...  179 good comparisons. ok
> *** Testing nc_get_var1_uchar ...  264 good comparisons. ok
> *** Testing nc_get_var1_schar ...  269 good comparisons. ok
> *** Testing nc_get_var1_short ...  682 good comparisons. ok
> *** Testing nc_get_var1_int ...  1189 good comparisons. ok
> *** Testing nc_get_var1_long ...  1189 good comparisons. ok
> *** Testing nc_get_var1_float ...  1194 good comparisons. ok
> *** Testing nc_get_var1_double ...  1207 good comparisons. ok
> *** Testing nc_get_var1 ...  1386 good comparisons. ok
> *** Testing nc_get_vara_text ...  179 good comparisons. ok
> *** Testing nc_get_vara_uchar ...  264 good comparisons. ok
> *** Testing nc_get_vara_schar ...  269 good comparisons. ok
> *** Testing nc_get_vara_short ...  682 good comparisons. ok
> *** Testing nc_get_vara_int ...  1189 good comparisons. ok
> *** Testing nc_get_vara_long ...  1189 good comparisons. ok
> *** Testing nc_get_vara_float ...  1194 good comparisons. ok
> *** Testing nc_get_vara_double ...  1207 good comparisons. ok
> *** Testing nc_get_vara ...  1386 good comparisons. ok
> *** Testing nc_get_vars_text ...  179 good comparisons. ok
> *** Testing nc_get_vars_uchar ...  264 good comparisons. ok
> *** Testing nc_get_vars_schar ...  269 good comparisons. ok
> *** Testing nc_get_vars_short ...  682 good comparisons. ok
> *** Testing nc_get_vars_int ...  1189 good comparisons. ok
> *** Testing nc_get_vars_long ...  1189 good comparisons. ok
> *** Testing nc_get_vars_float ...  1194 good comparisons. ok
> *** Testing nc_get_vars_double ...  1207 good comparisons. ok
> *** Testing nc_get_vars ...  1386 good comparisons. ok
> *** Testing nc_get_varm_text ...  179 good comparisons. ok
> *** Testing nc_get_varm_uchar ...  264 good comparisons. ok
> *** Testing nc_get_varm_schar ...  269 good comparisons. ok
> *** Testing nc_get_varm_short ...  682 good comparisons. ok
> *** Testing nc_get_varm_int ...  1189 good comparisons. ok
> *** Testing nc_get_varm_long ...  1189 good comparisons. ok
> *** Testing nc_get_varm_float ...  1194 good comparisons. ok
> *** Testing nc_get_varm_double ...  1207 good comparisons. ok
> *** Testing nc_get_varm ...  1386 good comparisons. ok
> *** Testing nc_get_att_text ...  7 good comparisons. ok
> *** Testing nc_get_att_uchar ...  5 good comparisons. ok
> *** Testing nc_get_att_schar ...  7 good comparisons. ok
> *** Testing nc_get_att_short ...  15 good comparisons. ok
> *** Testing nc_get_att_int ...  19 good comparisons. ok
> *** Testing nc_get_att_long ...  19 good comparisons. ok
> *** Testing nc_get_att_float ...  21 good comparisons. ok
> *** Testing nc_get_att_double ...  27 good comparisons. ok
> *** Testing nc_get_att ...  34 good comparisons. ok
> *** Testing nc_inq_att ... ok
> *** Testing nc_inq_attname ... ok
> *** Testing nc_inq_attid ... ok
> *** Testing nc_inq_attlen ... ok
> *** Testing nc_inq_atttype ... ok
> *** Testing nc_create ... ok
> *** Testing nc_redef ...  1386 good comparisons.  34 good comparisons. ok
> *** Testing nc_enddef ...  1386 good comparisons.  34 good comparisons. ok
> *** Testing nc_sync ...  34 good comparisons.  1386 good comparisons. ok
> *** Testing nc_abort ...  1386 good comparisons.  34 good comparisons. ok
> *** Testing nc_def_dim ... ok
> *** Testing nc_rename_dim ... ok
> *** Testing nc_def_var ... ok
> *** Testing nc_put_var_text ...  179 good comparisons. ok
> *** Testing nc_put_var_uchar ...  264 good comparisons. ok
> *** Testing nc_put_var_schar ...  269 good comparisons. ok
> *** Testing nc_put_var_short ...  682 good comparisons. ok
> *** Testing nc_put_var_int ...  1189 good comparisons. ok
> *** Testing nc_put_var_long ...  1189 good comparisons. ok
> *** Testing nc_put_var_float ...  1194 good comparisons. ok
> *** Testing nc_put_var_double ...  1207 good comparisons. ok
> *** Testing nc_put_var1_text ...  179 good comparisons. ok
> *** Testing nc_put_var1_uchar ...  264 good comparisons. ok
> *** Testing nc_put_var1_schar ...  269 good comparisons. ok
> *** Testing nc_put_var1_short ...  682 good comparisons. ok
> *** Testing nc_put_var1_int ...  1189 good comparisons. ok
> *** Testing nc_put_var1_long ...  1189 good comparisons. ok
> *** Testing nc_put_var1_float ...  1194 good comparisons. ok
> *** Testing nc_put_var1_double ...  1207 good comparisons. ok
> *** Testing nc_put_var1 ...  1386 good comparisons. ok
> *** Testing nc_put_vara_text ...  179 good comparisons. ok
> *** Testing nc_put_vara_uchar ...  264 good comparisons. ok
> *** Testing nc_put_vara_schar ...  269 good comparisons. ok
> *** Testing nc_put_vara_short ...  682 good comparisons. ok
> *** Testing nc_put_vara_int ...  1189 good comparisons. ok
> *** Testing nc_put_vara_long ...  1189 good comparisons. ok
> *** Testing nc_put_vara_float ...  1194 good comparisons. ok
> *** Testing nc_put_vara_double ...  1207 good comparisons. ok
> *** Testing nc_put_vara ...  1386 good comparisons. ok
> *** Testing nc_put_vars_text ...  179 good comparisons. ok
> *** Testing nc_put_vars_uchar ...  264 good comparisons. ok
> *** Testing nc_put_vars_schar ...  269 good comparisons. ok
> *** Testing nc_put_vars_short ...  682 good comparisons. ok
> *** Testing nc_put_vars_int ...  1189 good comparisons. ok
> *** Testing nc_put_vars_long ...  1189 good comparisons. ok
> *** Testing nc_put_vars_float ...  1194 good comparisons. ok
> *** Testing nc_put_vars_double ...  1207 good comparisons. ok
> *** Testing nc_put_vars ...  1386 good comparisons. ok
> *** Testing nc_put_varm_text ...  179 good comparisons. ok
> *** Testing nc_put_varm_uchar ...  264 good comparisons. ok
> *** Testing nc_put_varm_schar ...  269 good comparisons. ok
> *** Testing nc_put_varm_short ...  682 good comparisons. ok
> *** Testing nc_put_varm_int ...  1189 good comparisons. ok
> *** Testing nc_put_varm_long ...  1189 good comparisons. ok
> *** Testing nc_put_varm_float ...  1194 good comparisons. ok
> *** Testing nc_put_varm_double ...  1207 good comparisons. ok
> *** Testing nc_put_varm ...  1386 good comparisons. ok
> *** Testing nc_rename_var ...  1386 good comparisons. ok
> *** Testing nc_put_att_text ...  7 good comparisons. ok
> *** Testing nc_put_att_uchar ...  5 good comparisons. ok
> *** Testing nc_put_att_schar ...  7 good comparisons. ok
> *** Testing nc_put_att_short ...  15 good comparisons. ok
> *** Testing nc_put_att_int ...  19 good comparisons. ok
> *** Testing nc_put_att_long ...  19 good comparisons. ok
> *** Testing nc_put_att_float ...  21 good comparisons. ok
> *** Testing nc_put_att_double ...  27 good comparisons. ok
> *** Testing nc_put_att ...  34 good comparisons. ok
> *** Testing nc_copy_att ...  34 good comparisons. ok
> *** Testing nc_rename_att ...  34 good comparisons. ok
> *** Testing nc_del_att ... ok
> *** Testing nc_set_fill ...  2796 good comparisons. ok
> 
> Total number of failures: 0
> *** Success ***
> 
> Returning to directory /temp/netcdf-3.3.1/src
> 

Looks good up to this point.

> 
> Making `test' in directory /temp/netcdf-3.3.1/src/fortran
> 
> + /bin/c89 -E -I../libsrc ftest.F
> + grep -v ^#
> + 1> ftest.f
> + /usr/local/bin/f90 -c -g ftest.f
> Warning: ftest.f, line 1446: Unused external reference NF_INQ_NDIMS
>          detected at END@<end-of-statement>
> Warning: ftest.f, line 1446: Unused external reference NF_GET_VARA_INT1
>          detected at END@<end-of-statement>
> Warning: ftest.f, line 1446: Unused external reference NF_INQ
>          detected at END@<end-of-statement>
> Warning: ftest.f, line 1446: Unused external reference NF_DELETE
>          detected at END@<end-of-statement>
>                       "
>                       "
>    ( a whole lot of these statements edited out... )              

Warning about unused references shouldn't appear in the next release.

...
> [f90 continuing despite warning messages]
> Error: ftest.f, line 2786: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2788: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2790: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2792: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2825: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2833: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2840: Inconsistent datatype for arg 4 in call to NCAGT
> Error: ftest.f, line 2847: Inconsistent datatype for arg 4 in call to NCAGT
etc.

I looked over the Fortran-90 standard and couldn't find the reason
for the above errors.  I couldn't find anything in the Standard that
prohibited using different types for an actual argument in the context
of the NCAGT() procedure call.  Would you please contact the NAG F90
people and ask them for the chapter-and-verse that prohibits this.
Thanks.

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