PnetCDF 1.12.2: tst_rec_vars.c failed

Bruno Pagani bruno.pagani at astrophysics.eu
Sun Aug 22 02:07:16 CDT 2021


Hi,

Le 22/08/2021 à 10:53, Abhiram Nirmal CS a écrit :
> Hi all,
>
> I've been trying to install PnetCDF 1.12.2 for use with HWRF. I've 
> already installed NetCDF4 and HDF5 with parallel support and been 
> trying to compile PnetCDF 1.12.2. Configuration completes 
> successfully, my configuration is as follows:
>
> /./configure --prefix="${DIR}/pnetcdf" --enable-large-single-req 
> --enable-large-file-test --enable-netcdf4 MPICC=mpicc MPIF77=mpif77 
> MPIF90=mpif90 --enable-shared=no --with-netcdf4="${NETCDF}"/
> /
> /
> Everything up to and including `/make check`/ works fine, except for 
> `/make ptest`/. The `/tst_rec_vars.c`/ test fails. The error message 
> is as follows:
>
> /*** TESTING C   tst_rec_vars for record variables to NetCDF4 file 
>  ------ Error at line 78 of tst_rec_vars.c: expect dim X len 4 but got 3/
> /Error at line 78 of tst_rec_vars.c: expect dim X len 4 but got 3 
> //fail with 2 mismatches/
> /
> /
> I think the failed test is checking the NetCDF file 
> `/tst_rec_vars.nc`/, and I have checked NetCDF file manually using 
> `/ncdump`,/ and it indeed has a /time/ dimension of length 4. I'm not 
> sure what is causing the error. I tried running the test manually and 
> it does pass. In fact, I manually ran every test inside /test/nc4/ and 
> all of the succeeded.
> What could be the reason and what can I do to fix it?


This is a new test failure when compiling against NetCDF 4.8.0. It’s 
reported here https://github.com/Parallel-NetCDF/PnetCDF/issues/72 and 
here https://github.com/Unidata/netcdf-c/issues/2038.


Regards,
Bruno

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20210822/07434564/attachment.html>


More information about the parallel-netcdf mailing list