Netcdf-c-4.8.1: failure in ncdump/test_rcmerge.sh

Dear all,
I was installing netcdf-c-4.8.1 using following command line:

./configure --prefix=$DIR/netcdf LDFLAGS=-L$DIR/netcdf/lib CPPFLAGS=-I$DIR/netcdf/include --disable-netcdf4 --disable-dap

then I configured successfully and passed the “make” steps.

But when I used “make check”, I encountered an error:

FAIL: test_rcmerge.sh
PASS: tst_null_byte_padding.sh
PASS: test_unicode_directory.sh
PASS: test_unicode_path.sh
PASS: tst_inmemory_nc3.sh
PASS: tst_nccopy_w3.sh
PASS: test_keywords.sh
============================================================================
Testsuite summary for netCDF 4.8.1
============================================================================
# TOTAL: 26
# PASS:  25
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ncdump/test-suite.log
Please report to support-netcdf@unidata.ucar.edu
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/disk2/public/usr_local/netcdf-c-4.8.1/ncdump'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/disk2/public/usr_local/netcdf-c-4.8.1/ncdump'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/disk2/public/usr_local/netcdf-c-4.8.1/ncdump'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/disk2/public/usr_local/netcdf-c-4.8.1/ncdump'
make: *** [check-recursive] Error 1

*other basic information:
I installed hdf5-1.10.4, mpich-4.0.2, libpng-1.6.37 and zlib-1.2.11.
compiler: intel compiler (icc/icpc, ifort)

the envionment variables are as follow:

#module load
source /opt/intel/oneapi/setvars.sh intel64
export CC=icc
export CXX=icpc
export FC=ifort
export CFLAGS=-m64
export F77=ifort
export FFLAGS=-m64
export DIR=/disk2/public/usr_local
export F90=ifort

#netcdf
export NETCDF=$DIR/netcdf
export PATH=$NETCDF/bin:$PATH
export LIB=$NETCDF/lib
export INC=$NETCDF/include
export LD_LIBRARY_PATH=$NETCDF/lib:$LD_LIBRARY_PATH

#for mpich
export MPIPATH=$DIR/mpich
export MPIPATHBIN=$MPIPATH/bin
export MPIPATHINCLUDE=$MPIPATH/include
export MPIPATHLIB=$MPIPATH/lib
export MPIPATHSHARE=$MPIPATH/share
export PATH=$PATH:$MPIPATHBIN:$MPIPATHINCLUDE:$MPIPATHLIB:$MPIPATHSHARE

I would appreciate it if you would take the time out of your busy schedule to check out my posts and give suggestions.
Best regards,
Janice
test-suite.log.txt (329 Bytes)

It is possible that there is an error in the make test related to test_rcmerge.sh. I found the following link by googling ‘FAIL: test_rcmerge.sh’.

Note: please review the I/O API documentation for instructions on how to build netCDF.
https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#ncf4

Thanks for your reply!