<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">Hi,<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 22/08/2021 à 10:53, Abhiram Nirmal
CS a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:TYZPR03MB5214B1A56414A8FC5A97DEFCA5C39@TYZPR03MB5214.apcprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
Hi all,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
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. <span
style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt;">Configuration completes successfully, my
configuration is as follows:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<i>./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}"</i><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<i><br>
</i></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
Everything up to and including `<i>make check`</i> works fine,
except for `<i>make ptest`</i>. The `<i>tst_rec_vars.c`</i> test
fails. The error message is as follows:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<i>*** 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</i></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<i>Error at line 78 of tst_rec_vars.c: expect dim X len 4 but
got 3 </i><i style="font-size: 12pt; font-variant-ligatures:
inherit; font-variant-caps: inherit; font-weight: inherit;">fail
with 2 mismatches</i></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<i><br>
</i></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
I think the failed test is checking the NetCDF file `<i>tst_rec_vars.nc`</i>,
and I have checked NetCDF file manually using `<i>ncdump`,</i>
and it indeed has a
<i>time</i> 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
<i>test/nc4</i> and all of the succeeded.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
What could be the reason and what can I do to fix it?</div>
</blockquote>
<p><br>
</p>
<p>This is a new test failure when compiling against NetCDF 4.8.0.
It’s reported here
<a class="moz-txt-link-freetext" href="https://github.com/Parallel-NetCDF/PnetCDF/issues/72">https://github.com/Parallel-NetCDF/PnetCDF/issues/72</a> and here
<a class="moz-txt-link-freetext" href="https://github.com/Unidata/netcdf-c/issues/2038">https://github.com/Unidata/netcdf-c/issues/2038</a>.</p>
<p><br>
</p>
<p>Regards,<br>
Bruno<br>
</p>
</body>
</html>