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

[netCDF #NMV-326132]: URGENT HELP



Those netcdf instructions are out of date.
See the comments at https://github.com/USEPA/CMAQ/issues/121

> I am trying to install CMAQ.
> 
> The general steps for installation on a Linux system with, C-shell, GCC and
> Gfortran are below. These instructions are an example and we recommend
> using the latest release available at the time of your CMAQ installation.
> 
> FOLLOWING THE STEPS FROM
> 
> https://github.com/USEPA/CMAQ/blob/5.2.1/DOCS/Tutorials/CMAQ_GettingStarted.md
> 
> 
> ### Set up your Linux system environment
> $ setenv CC gcc
> $ setenv CPPFLAGS  '-DNDEBUG –DgFortran'
> $ setenv CFLAGS  -O
> $ setenv FC  gfortran
> $ setenv FFLAGS  '-O –w'
> $ setenv CXX  g++
> 
> ## Install netCDF-C
> $ wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.1.1.tar.gz
> $ tar xvzf netcdf-4.4.1.1.tar.gz
> $ cd netcdf-4.4.1.1
> $ ./configure --disable-netcdf-4 --disable-dap
> $ make check install
> $ cd ../
> 
> ## Install netCDF-Fortran
> $ setenv NCDIR {location of netCDF C installation}
> $ setenv CPPFLAGS "$CPPFLAGS -I${NCDIR}/include LDFLAGS=-L${NCDIR}/lib"
> $ wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-4.4.4.tar.gz
> $ tar xvzf netcdf-4.4.4.tar.gz
> $ cd netcdf-4.4.4
> $ ./configure
> $ make check
> $ make install
> 
> 
> 
> 
> 
> 
> the error MESSEGAE .
> 
> akhila@LAPTOP-V2VHUIOK:~/netcdf-4.4.1.1/netcdf-4.4.1.1$ make check install
> Making check in include
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/include'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/include'
> Making check in libdispatch
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/libdispatch'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/libdispatch'
> Making check in libsrc
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/libsrc'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/libsrc'
> Making check in liblib
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/liblib'
> make[1]: Nothing to be done for 'check'.
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/liblib'
> Making check in ncgen3
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> make  check-TESTS
> make[2]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> make[3]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> PASS: run_tests.sh
> ============================================================================
> Testsuite summary for netCDF 4.4.1.1
> ============================================================================
> # TOTAL: 1
> # PASS:  1
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> make[3]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> make[2]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen3'
> Making check in ncgen
> make[1]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> make  check-TESTS
> make[2]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> make[3]: Entering directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> FAIL: run_tests.sh
> ============================================================================
> Testsuite summary for netCDF 4.4.1.1
> ============================================================================
> # TOTAL: 1
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ncgen/test-suite.log
> Please report to address@hidden
> ============================================================================
> Makefile:878: recipe for target 'test-suite.log' failed
> make[3]: *** [test-suite.log] Error 1
> make[3]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> Makefile:984: recipe for target 'check-TESTS' failed
> make[2]: *** [check-TESTS] Error 2
> make[2]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> Makefile:1064: recipe for target 'check-am' failed
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> '/home/akhila/netcdf-4.4.1.1/netcdf-4.4.1.1/ncgen'
> Makefile:691: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> akhila@LAPTOP-V2VHUIOK:~/netcdf-4.4.1.1/netcdf-4.4.1.1$
> 
> 
> 
> 
> 
> 
> 
> 
> ITZ ASKING ME TO REPORT TO THIS EMAIL
> 
> Thanks in advance,
> Akhila Thomas
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: NMV-326132
Department: Support netCDF
Priority: Normal
Status: Open
===================
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.