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, I am not sure why 'make' is trying to do anything in the 'udunits' directory. Can you provide the `config.log` file generated when you run configure? Regarding the netCDF-Fortran failures; that is unusual, but may be related to the failure to build netcdf-c, as netCDF-C is required by netCDF-Fortran. -Ward > Hello, I have problems when I install netcdf-c library(4.3.3.1) and > netcdf-fortran library(4.3.3.1). Zlib 1.2.8 and HDF5 1.8.11 have installed > correctly. > > The netcdf-c library configuration command is : > CPPFLAGS=-I/netcdf/ed/include LDFLAGS=-L/netcdf/ed/lib ./configure > --prefix=/netcdf/ed CC=pgcc FC=pgf90 > > The error shows as follows when I input make command: > > Making all in /bin/udunits-2.1.24/local > make[2]: Entering directory `/bin/udunits-2.1.24/local' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory `/bin/udunits-2.1.24/local' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/netcdf/netcdf-c/Unidata-netcdf-c-c42d03f' > make: *** [all] Error 2 > > I want to find some solution but failed. Then I also have problems in 'make > check' step of netcdf-fortran installation. > > FAIL: nf_test > PASS: create_fills.sh > ../test-driver: line 107: 146623 Illegal instruction "$@" > $log_file 2>&1 > FAIL: tst_f77_v2 > ../test-driver: line 107: 146668 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars > ../test-driver: line 107: 146691 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars2 > ../test-driver: line 107: 146718 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars3 > ../test-driver: line 107: 146744 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars4 > ../test-driver: line 107: 146769 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars5 > ../test-driver: line 107: 146792 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_vars6 > ../test-driver: line 107: 146815 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_types > ../test-driver: line 107: 146838 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_types2 > ../test-driver: line 107: 146863 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_types3 > ../test-driver: line 107: 146890 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_groups > ../test-driver: line 107: 146913 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_path > ../test-driver: line 107: 146938 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_rengrps > ../test-driver: line 107: 146961 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_vars > ../test-driver: line 107: 146984 Illegal instruction "$@" > $log_file 2>&1 > FAIL: tst_types > ../test-driver: line 107: 147007 Illegal instruction "$@" > $log_file 2>&1 > FAIL: tst_types2 > ../test-driver: line 107: 147032 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_vars_vlen > ../test-driver: line 107: 147055 Illegal instruction "$@" > $log_file 2>&1 > FAIL: tst_f90_nc4 > ../test-driver: line 107: 147085 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_grps > ../test-driver: line 107: 147108 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_fill > ../test-driver: line 107: 147169 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_fill2 > ../test-driver: line 107: 147192 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_vars3 > ../test-driver: line 107: 147219 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_vars4 > ../test-driver: line 107: 147249 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_vars2 > ../test-driver: line 107: 147284 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_path > ../test-driver: line 107: 147307 Illegal instruction "$@" > $log_file 2>&1 > FAIL: f90tst_rengrps > ../test-driver: line 107: 147330 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftst_v2 > ../test-driver: line 107: 147357 Illegal instruction "$@" > $log_file 2>&1 > FAIL: ftest > ../test-driver: line 107: 147396 Illegal instruction "$@" > $log_file 2>&1 > FAIL: tst_f90 > ============================================================================ > Testsuite summary for netCDF-Fortran 4.4.2 > ============================================================================ > # TOTAL: 31 > # PASS: 1 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 30 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See nf_test/test-suite.log > Please report to address@hidden > ============================================================================ > make[3]: *** [test-suite.log] Error 1 > make[3]: Leaving directory > `/vol6/home/pkuswans/usr/yuhz/Tongji/netcdf/netcdf-fortran/netcdf-fortran-4.4.2/nf_test' > make[2]: *** [check-TESTS] Error 2 > make[2]: Leaving directory > `/vol6/home/pkuswans/usr/yuhz/Tongji/netcdf/netcdf-fortran/netcdf-fortran-4.4.2/nf_test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory > `/vol6/home/pkuswans/usr/yuhz/Tongji/netcdf/netcdf-fortran/netcdf-fortran-4.4.2/nf_test' > make: *** [check-recursive] Error 1 > > Can you help me? Thanks a lot. > Ticket Details =================== Ticket ID: WWW-682568 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.