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

[netCDF #VQQ-554423]: NetCDF install problems



Hello,

Can you please provide the test-suite.log from the h5_test directory, which is 
generated when you run 'make check'?

Thanks!

-Ward

> Hi, Sir or Madam:
> 
> I want to install NetCDF on my Mac book. here is my Installation process:
> 
> 
> 
> 
> $ cd zlib-1.2.11
> $ FC=gfortran F90=gfortran F77=gfortran ./configure --prefix=/usr/local/zlib
> $ sudo make
> $ sudo make check
> $ sudo make install
> 
> 
> $ cd hdf5-1.10.4
> $ FC=gfortran F90=gfortran F77=gfortran ./configure --prefix=/usr/local/hdf5 
> --with-zlib=/usr/local/zlib --enable-hl
> $ sudo make
> $ sudo make check
> $ sudo make install
> 
> 
> 
> 
> $ cd netcdf-4.6.1
> $ FC=gfortran F90=gfortran F77=gfortran ./configure 
> --prefix=/usr/local/netcdf CPPFLAGS="-I/usr/local/zlib/include 
> -I/usr/local/hdf5/include" LDFLAGS="-L/usr/local/zlib/lib 
> -L/usr/local/hdf5/lib" --enable-netcdf4 --enable-large-file-tests
> $ sudo make
> $ sudo make check
> $ sudo make install
> ---------------------
> Reference?https://blog.csdn.net/weixin_41664821/article/details/79135007
> 
> 
> Then, it looks successful with some characters appear:
> 
> "Congratulations!"
> 
> 
> 
> 
> At last, I run "make check". The flowing are the Respond:
> 
> caocao:netcdf-4.6.1 caozhiyong$ make check
> 
> Making check in include
> 
> make[1]: Nothing to be done for `check'.
> 
> Making check in h5_test
> 
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  tst_h_files 
> tst_h_files2 tst_h_files4 tst_h_atts tst_h_atts3 tst_h_atts4 tst_h_vars 
> tst_h_vars2 tst_h_vars3 tst_h_grps tst_h_compounds tst_h_compounds2 
> tst_h_wrt_cmp tst_h_vl tst_h_opaques tst_h_strings tst_h_strings1 
> tst_h_strings2 tst_h_ints tst_h_dimscales tst_h_dimscales1 tst_h_dimscales2 
> tst_h_dimscales3 tst_h_enums tst_h_dimscales4
> 
> make[2]: `tst_h_files' is up to date.
> 
> make[2]: `tst_h_files2' is up to date.
> 
> make[2]: `tst_h_files4' is up to date.
> 
> make[2]: `tst_h_atts' is up to date.
> 
> make[2]: `tst_h_atts3' is up to date.
> 
> make[2]: `tst_h_atts4' is up to date.
> 
> make[2]: `tst_h_vars' is up to date.
> 
> make[2]: `tst_h_vars2' is up to date.
> 
> make[2]: `tst_h_vars3' is up to date.
> 
> make[2]: `tst_h_grps' is up to date.
> 
> make[2]: `tst_h_compounds' is up to date.
> 
> make[2]: `tst_h_compounds2' is up to date.
> 
> make[2]: `tst_h_wrt_cmp' is up to date.
> 
> make[2]: `tst_h_vl' is up to date.
> 
> make[2]: `tst_h_opaques' is up to date.
> 
> make[2]: `tst_h_strings' is up to date.
> 
> make[2]: `tst_h_strings1' is up to date.
> 
> make[2]: `tst_h_strings2' is up to date.
> 
> make[2]: `tst_h_ints' is up to date.
> 
> make[2]: `tst_h_dimscales' is up to date.
> 
> make[2]: `tst_h_dimscales1' is up to date.
> 
> make[2]: `tst_h_dimscales2' is up to date.
> 
> make[2]: `tst_h_dimscales3' is up to date.
> 
> make[2]: `tst_h_enums' is up to date.
> 
> make[2]: `tst_h_dimscales4' is up to date.
> 
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
> 
> PASS: tst_h_files
> 
> FAIL: tst_h_files2
> 
> FAIL: tst_h_files4
> 
> FAIL: tst_h_atts
> 
> FAIL: tst_h_atts3
> 
> FAIL: tst_h_atts4
> 
> FAIL: tst_h_vars
> 
> FAIL: tst_h_vars2
> 
> FAIL: tst_h_vars3
> 
> FAIL: tst_h_grps
> 
> FAIL: tst_h_compounds
> 
> FAIL: tst_h_compounds2
> 
> FAIL: tst_h_wrt_cmp
> 
> FAIL: tst_h_vl
> 
> FAIL: tst_h_opaques
> 
> FAIL: tst_h_strings
> 
> FAIL: tst_h_strings1
> 
> FAIL: tst_h_strings2
> 
> FAIL: tst_h_ints
> 
> FAIL: tst_h_dimscales
> 
> FAIL: tst_h_dimscales1
> 
> FAIL: tst_h_dimscales2
> 
> FAIL: tst_h_dimscales3
> 
> FAIL: tst_h_enums
> 
> FAIL: tst_h_dimscales4
> 
> ============================================================================
> 
> Testsuite summary for netCDF 4.6.1
> 
> ============================================================================
> 
> # TOTAL: 25
> 
> # PASS:  1
> 
> # SKIP:  0
> 
> # XFAIL: 0
> 
> # FAIL:  24
> 
> # XPASS: 0
> 
> # ERROR: 0
> 
> ============================================================================
> 
> See h5_test/test-suite.log
> 
> Please report to address@hidden
> 
> ============================================================================
> 
> make[3]: *** [test-suite.log] Error 1
> 
> make[2]: *** [check-TESTS] Error 2
> 
> make[1]: *** [check-am] Error 2
> 
> make: *** [check-recursive] Error 1
> 
> 
> 
> 
> If I ignore the warning and run a case. Sure enough, error occurred.
> 
> caocao:gotm caozhiyong$ cmake 
> /Users/caozhiyong/Documents/GOTM_5.2/code-5.2/src -DGOTM_USE_FABM=false
> 
> -- The Fortran compiler identification is GNU 6.3.0
> 
> -- Checking whether Fortran compiler has -isysroot
> 
> -- Checking whether Fortran compiler has -isysroot - yes
> 
> -- Checking whether Fortran compiler supports OSX deployment target flag
> 
> -- Checking whether Fortran compiler supports OSX deployment target flag - yes
> 
> -- Check for working Fortran compiler: /usr/local/bin/gfortran
> 
> -- Check for working Fortran compiler: /usr/local/bin/gfortran  -- works
> 
> -- Detecting Fortran compiler ABI info
> 
> -- Detecting Fortran compiler ABI info - done
> 
> -- Checking whether /usr/local/bin/gfortran supports Fortran 90
> 
> -- Checking whether /usr/local/bin/gfortran supports Fortran 90 -- yes
> 
> CMake Error at 
> /Applications/CMake.app/Contents/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137
>  (message):
> 
> Could NOT find NetCDF (missing: NetCDF_INCLUDE_DIRS)
> 
> Call Stack (most recent call first):
> 
> /Applications/CMake.app/Contents/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378
>  (_FPHSA_FAILURE_MESSAGE)
> 
> cmake/Modules/FindNetCDF.cmake:80 (find_package_handle_standard_args)
> 
> CMakeLists.txt:83 (find_package)
> 
> 
> 
> 
> What should I do? I am waiting for your reply.
> 
> Thanks for you time.
> 
> 
> 
> 
> Zhiyong Cao
> 
> Xiamen University, Xiamen, China
> 
> 
> 


Ticket Details
===================
Ticket ID: VQQ-554423
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.