ornladios / ADIOS

The old ADIOS 1.x code repository. Look for ADIOS2 for new repo
https://csmd.ornl.gov/adios
Other
54 stars 40 forks source link

fix read of zero size transformed data #162

Closed psychocoderHPC closed 6 years ago

psychocoderHPC commented 6 years ago

fix #161

Avoid null pointer dereferencing during the read of transformed data of size zero

Zero-sized data occurs regularly on read of parallel files that store unstructured data such as particles. In domain decomposition over MPI ranks, some ranks do not hold particles at a certain point in time and due to that write zero particles (into a N>0 sized global variable).

psychocoderHPC commented 6 years ago

@pnorbert here is the fix for #161

n01r commented 6 years ago

Great, thanks! This fixes #161 for me. :tada: