NCAR / ParallelIO

A high-level Parallel I/O Library for structured grid applications
Apache License 2.0
134 stars 52 forks source link

netcdf integration update #1953

Closed jedwards4b closed 1 year ago

jedwards4b commented 1 year ago

attempting to update netcdf integration - one test is failing:


/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(print_trace+0x39) [0x4835d3]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(pio_err+0xe9) [0x483c97]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(write_darray_multi_par+0x98a) [0x4c5309]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(PIOc_write_darray_multi+0x131f) [0x4c0942]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(flush_buffer+0x130) [0x4cc30b]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(PIOc_sync+0x1ca) [0x4cfdb4]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(PIOc_closefile+0xe4) [0x4cf2ec]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(PIO_NCINT_close+0x19) [0x4cdb64]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(nc_close+0x30) [0x4f7580]
/glade/u/home/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf(main+0xd5a) [0x482f0a]
MPT ERROR: Rank 0(g:0) is aborting with error code -1.
    Process ID: 10585, Host: r4i1n27, Program: /glade/work/jedwards/sandboxes/pio/bld/tests/ncint/tst_ncint_perf
    MPT Version: HPE MPT 2.25  08/14/21 03:05:20

MPT: #5  0x0000000000483caa in pio_err (ios=0x2729500, file=0x28aa260, 
MPT:     err_num=-101, 
MPT:     fname=0xaecee8 "/glade/u/home/jedwards/sandboxes/pio/src/clib/pio_darray_int.c", line=463)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pioc_support.c:755
MPT: #6  0x00000000004c5309 in write_darray_multi_par (file=0x28aa260, nvars=1, 
MPT:     fndims=3, varids=0x27f36a0, iodesc=0x27f8190, fill=0, frame=0x27f36c0)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_darray_int.c:463
MPT: #7  0x00000000004c0942 in PIOc_write_darray_multi (ncid=8454144, 
MPT:     varids=0x27f36a0, ioid=513, nvars=1, arraylen=1179648, array=0x3d40020, 
MPT:     frame=0x27f36c0, fillvalue=0x0, flushtodisk=true)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_darray.c:325
MPT: #8  0x00000000004cc30b in flush_buffer (ncid=8454144, wmb=0x27f8510, 
MPT:     flushtodisk=true)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_darray_int.c:1859
MPT: #9  0x00000000004cfdb4 in PIOc_sync (ncid=8454144)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_file.c:420
MPT: #10 0x00000000004cf2ec in PIOc_closefile (ncid=8454144)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/clib/pio_file.c:236
MPT: #11 0x00000000004cdb64 in PIO_NCINT_close (ncid=8454144, v=0x0)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/src/ncint/ncintdispatch.c:364
MPT: #12 0x00000000004f7580 in nc_close ()
MPT: #13 0x0000000000482f0a in main (argc=1, argv=0x7ffd659580e8)
MPT:     at /glade/u/home/jedwards/sandboxes/pio/tests/ncint/tst_ncint_perf.c:154
MPT: (gdb) A debugging session is active.
jedwards4b commented 1 year ago

This PR now passes all ncint tests but requires https://github.com/Unidata/netcdf-c/pull/2586 So I think we should keep it in draft until that PR is merged and netcdf-c 4.9.1 is available.