IOAPI to netcdf4 compress mode

Do you modify Makefile.nocpl.sed or Makefile.nocpl?
The error was:

Makefile:208: recipe for target ‘airs2m3’ failed
make[1]: *** [airs2m3] Error 1
make[1]: Leaving directory ‘/home/ensiyeh/Build_WRF/LIBRARIES/ioapi-3.2/m3tools’
Makefile:198: recipe for target ‘all’ failed
make: *** [all] Error 2

Hi cjcoat,
I want to install netcdf-4.1.3, but it gives errors:

compilation aborted for test_write.c (code 2)
Makefile:494: recipe for target ‘test_write.o’ failed
make[2]: * [test_write.o] Error 2
make[2]: Leaving directory ‘/home/ensiyeh/WRF-CMAQ/LIBRARIES/netcdf-4.1.3/nc_test’
Makefile:698: recipe for target ‘check-am’ failed
make[1]: * [check-am] Error 2
make[1]: Leaving directory ‘/home/ensiyeh/WRF-CMAQ/LIBRARIES/netcdf-4.1.3/nc_test’
Makefile:551: recipe for target ‘check-recursive’ failed
make: * [check-recursive] Error 1

I use disable-dap disable-netcdf-4. Could you help me, please?
I use intell compiler and ubuntu 18.04

I found disable-dap -disable-netcdf-4 NOT possible for netcdf-c to let install netcdf-fortran later versions but what makes me confusing is that they are suggesting to use this method.

============================================================================
Testsuite summary for netCDF 4.4.1.1
============================================================================
# TOTAL: 2
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

and
============================================================================
Testsuite summary for netCDF 4.4.1.1
============================================================================
# TOTAL: 2
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================

Looks like it works for me, with netCDF C netcdf-4.4.1.1 and netCDF-fortran-4.4.4.

BTW, the 4.1’s are quite early, in the transition to separate netCDF Fortran (where, among other things they silently removed the older CALL NC()* Fortran interfaces. Perhaps a more recent set of netCDFs would fix the problem.

I would be surprised to see if that works with netcdf-c-4.7.1 (and a big surprise if you can install just netcdf-c-4.7.0 with disable dap and disable-netcdf-4) and netcdf-fortran-4.5.1 (the latest ones, they didn’t work in my case, meaning make check does not succeed in netcdf-fortran install). I will try with the versions you mentioned too.

The netcdf-4.1.1 configured with --disable-dap --disable-netcdf-4

Testsuite summary for netCDF 4.4.1.1

============================================================================

# TOTAL: 1

PASS: 1

SKIP: 0

XFAIL: 0

FAIL: 0

XPASS: 0

ERROR: 0

============================================================================

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

============================================================================