Coder Social home page Coder Social logo

Comments (14)

WardF avatar WardF commented on June 15, 2024

Weird; I'll take a look at this. I've been meaning to integrate hdf4 into the nightly and continuous testing, this seems like a good time to.

from netcdf-c.

WardF avatar WardF commented on June 15, 2024

Using git bisect I was able to narrow down the error to commit b2dfacbcfab41b539f555f033b32393f9af59252. I'll take a closer look in a bit to see if I can narrow down the issue.

from netcdf-c.

russrew avatar russrew commented on June 15, 2024

Thanks, I fixed the compile errors resulting from change of a field name in att and var->typeinfo structs, from xtype to nc_typeid. However, now there's a runtime error due to a problem in reference counts for the typeids, for builds with --enable-hdf4-file-tests, so I'm not closing issue yet.

from netcdf-c.

qkoziol avatar qkoziol commented on June 15, 2024

On Feb 23, 2014, at 12:37 PM, Russ Rew [email protected] wrote:

Thanks, I fixed the compile errors resulting from change of a field name in att and var->typeinfo structs, from xtype to nc_typeid. However, now there's a runtime error due to a problem in reference counts for the typeids, for builds with --enable-hdf4-file-tests, so I'm not closing issue yet.

Drat!  Sorry about that, would you like me to look into the current situation?  (I'll also add an HDF4 build to my testing regime before checking things in, as soon as this is fixed)

Quincey

from netcdf-c.

russrew avatar russrew commented on June 15, 2024

It would be great if you could fix the current assertion failures with reference counts, both occurring in nc4internal.c:

Assertion failed: (type->rc), function nc4_type_free, file ../../libsrc4/nc4internal.c, line 902.

Probably just a missing type->rc++ somewhere ...

from netcdf-c.

WardF avatar WardF commented on June 15, 2024

Hey Quincey, since it sounds like you're familiar with the code in question, it would probably be faster if you look into it instead of me. I'll add hdf4 tests to the continuous testing for your development branch as well as our own.

from netcdf-c.

qkoziol avatar qkoziol commented on June 15, 2024

OK, I'll try to get to it today (although I'm home with a sick child, so it might be tomorrow).

Quincey

On Feb 24, 2014, at 9:59 AM, Ward Fisher [email protected] wrote:

Hey Quincey, since it sounds like you're familiar with the code in question, it would probably be faster if you look into it instead of me. I'll add hdf4 tests to the continuous testing for your development branch as well as our own.


Reply to this email directly or view it on GitHub.

from netcdf-c.

qkoziol avatar qkoziol commented on June 15, 2024

Working on this now...

Quincey

On Feb 24, 2014, at 9:59 AM, Ward Fisher [email protected] wrote:

Hey Quincey, since it sounds like you're familiar with the code in question, it would probably be faster if you look into it instead of me. I'll add hdf4 tests to the continuous testing for your development branch as well as our own.


Reply to this email directly or view it on GitHub.

from netcdf-c.

qkoziol avatar qkoziol commented on June 15, 2024

OK, that wasn't too difficult - I've submitted a pull request for the change.

Quincey

On Feb 24, 2014, at 9:59 AM, Ward Fisher [email protected] wrote:

Hey Quincey, since it sounds like you're familiar with the code in question, it would probably be faster if you look into it instead of me. I'll add hdf4 tests to the continuous testing for your development branch as well as our own.


Reply to this email directly or view it on GitHub.

from netcdf-c.

russrew avatar russrew commented on June 15, 2024

Fixed, so I'm closing it.

from netcdf-c.

zxdawn avatar zxdawn commented on June 15, 2024

@qkoziol Hi Quincey, I meet the same error when I'm using WRF model:

wrf.exe: nc4internal.c:902: nc4_type_free: Assertion `type->rc' failed.

However, this happened after two day's running, not happened at first.

compiler: intel 15.0.1
netcdf: 4.3.3.1
pnetcdf: 1.6.1
MPICH:3.1

from netcdf-c.

edhartnett avatar edhartnett commented on June 15, 2024

Can you upgrade netcdf? Hdf4 works great in recent 4.6.2 release, for example.

from netcdf-c.

zxdawn avatar zxdawn commented on June 15, 2024

Can you upgrade netcdf? Hdf4 works great in recent 4.6.2 release, for example.

@edhartnett Thank you for your suggestion. But, netcdf 4.3.3.1 works fine for generating hundred files. This issue happened at one moment after that. If it's the problem of version, why not happen at first?

from netcdf-c.

zxdawn avatar zxdawn commented on June 15, 2024

The complete description is on the WRF forum. I'm not sure it's related to netcdf or tasks.

from netcdf-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.