This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello Nestor, I'm a little confused; the email you sent below indicates an error from `make install`, but the config.log and test-suite.log files you sent do not indicate any problems. Are you sure you sent the correct ones? I will address the issue you mention at the bottom of the email, regarding `--has-f90`. `--has-f03` implies `--has-f90`, so if you have `--has-f03` from `nf-config`, you have the f90 capabilities. I hope this helps, -Ward > > Hello, > > While building netcdf-fortran-4.4.2, using the following configure options: > > ./configure --prefix=/usr/local/netcdf/fortran CC=pgcc FC=pgfortran > F77=pgfortran CPPFLAGS=-I/usr/local/netcdf/c/include > LDFLAGS=-L/usr/local/netcdf/c/lib > > make install prompted the following: > > libtool: link: pgfortran -I../fortran -I../fortran -I../nf_test -g -o > .libs/tst03_f77_v2 tst03_f77_v2.o -L/usr/local/netcdf/c/lib > ../fortran/.libs/libnetcdff.so -L/usr/local/hdf5/lib > /usr/local/netcdf/c/lib/libnetcdf.so /usr/local/hdf5/lib/libhdf5_hl.so > /usr/local/hdf5/lib/libhdf5.so -ldl -lm -lz -lcurl -Wl,-rpath > -Wl,/usr/local/netcdf/fortran/lib -Wl,-rpath -Wl,/usr/local/netcdf/c/lib > -Wl,-rpath -Wl,/usr/local/hdf5/lib > tst03_f77_v2.o: In function `.C1_283': > tst03_f77_v2.F:(.data+0x84): undefined reference to `tests_' > Makefile:908: recipe for target 'tst03_f77_v2' failed > make[2]: *** [tst03_f77_v2] Error 2 > make[2]: Leaving directory '/tmp/netcdf-fortran-4.4.2/nf03_test' > Makefile:1322: recipe for target 'check-am' failed > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory '/tmp/netcdf-fortran-4.4.2/nf03_test' > Makefile:544: recipe for target 'check-recursive' failed > make: *** [check-recursive] Error 1 > [waldyd@master netcdf-fortran-4.4.2]$ cd /tmp/netcdf-fortran-4.4.2/nf03_test > [waldyd@master nf03_test]$ /bin/sh ../libtool --tag=F77 --mode=link > pgfortran -I../fortran -I../fortran -I../nf_test -g > -L/usr/local/netcdf/c/lib -o tst03_f77_v2 tst03_f77_v2.o > ../fortran/libnetcdff.la -lnetcdf > libtool: link: pgfortran -I../fortran -I../fortran -I../nf_test -g -o > .libs/tst03_f77_v2 tst03_f77_v2.o -L/usr/local/netcdf/c/lib > ../fortran/.libs/libnetcdff.so -L/usr/local/hdf5/lib > /usr/local/netcdf/c/lib/libnetcdf.so /usr/local/hdf5/lib/libhdf5_hl.so > /usr/local/hdf5/lib/libhdf5.so -ldl -lm -lz -lcurl -Wl,-rpath > -Wl,/usr/local/netcdf/fortran/lib -Wl,-rpath -Wl,/usr/local/netcdf/c/lib > -Wl,-rpath -Wl,/usr/local/hdf5/lib > tst03_f77_v2.o: In function `.C1_283': > tst03_f77_v2.F:(.data+0x84): undefined reference to `tests_' > > This issue is related with the following thread > http://netcdf-group.1586084.n2.nabble.com/How-to-enable-has-f90-in-NetCDF-F-td7575820.html > > NetCDF Group - How to enable has-f90 in > NetCDF-F?<http://netcdf-group.1586084.n2.nabble.com/How-to-enable-has-f90-in-NetCDF-F-td7575820.html> > netcdf-group.1586084.n2.nabble.com > How to enable has-f90 in NetCDF-F?. I'm building NetCDF-F 4.4.2 with the > Intel, GNU and PGI compilers, and am seeing this configuration setting > --has-f90 -> no when I run ... > > > > Would you please give some ideas about how to solve this issue? > > Best Regards, > > Néstor Waldyd > > > PD: Attached they are the test-suite.log & config.log files generated. > > > -- > -------------------------------------------------------------- > > Nestor Waldyd Alvarez Villa > Ingeniero Electrónico. MSc. C. Telecomunicaciones. > Universidad Pontificia Bolivariana > mailto:address@hidden > Medellín - Antioquía. > COLOMBIA > -------------------------------------------------------------- > > Ticket Details =================== Ticket ID: SNQ-496728 Department: Support netCDF Priority: Normal Status: Closed