I was trying to install NETCDF-Fortran in ubuntu 16.04.2, but some problems had been occurred. the attached file shows the problem, which I bring that here too:
make[2]: Entering directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
make[3]: Entering directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
PASS: nf_test
PASS: create_fills.sh
PASS: tst_f77_v2
FAIL: ftst_vars
FAIL: ftst_vars2
FAIL: ftst_vars3
FAIL: ftst_vars4
FAIL: ftst_vars5
FAIL: ftst_vars6
FAIL: ftst_types
FAIL: ftst_types2
FAIL: ftst_types3
FAIL: ftst_groups
PASS: ftst_path
FAIL: ftst_rengrps
FAIL: f90tst_vars
FAIL: tst_types
FAIL: tst_types2
PASS: f90tst_vars_vlen
PASS: tst_f90_nc4
FAIL: f90tst_grps
ERROR: f90tst_fill
ERROR: f90tst_fill2
FAIL: f90tst_vars3
FAIL: f90tst_vars4
FAIL: f90tst_vars2
PASS: f90tst_path
FAIL: f90tst_rengrps
PASS: ftst_v2
PASS: ftest
PASS: tst_f90
make[4]: Entering directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
============================================================================
Testsuite summary for netCDF-Fortran 4.4.3
============================================================================
# TOTAL: 31
# PASS: 10
# SKIP: 0
# XFAIL: 0
# FAIL: 19
# XPASS: 0
# ERROR: 2
============================================================================
See nf_test/test-suite.log
Please report to [email protected]
============================================================================
Makefile:1397: recipe for target 'test-suite.log' failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
Makefile:1503: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
Makefile:1814: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/irrig/Reg/netcdf-fortran-4.4.3/nf_test'
Makefile:534: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
I have already installed gcc, g++ and gfortran, but the problem was same.
I want to know how could I solve the problem.