Closed khou2020 closed 5 years ago
That's a bug. Can you send the attribute.bp to us? pnorbert at ornl dot gov.
On Mon, Mar 25, 2019, 3:49 AM Kaiyuan Hou notifications@github.com wrote:
Hi: I ran the example program examples/C/attributes/attributes_write on a cetus@ALCF (a big-endian machine). I took the file generated (attributes.bp) to my PC (x86, little-endian). I run bpdump on my PC to dump attributes.bp taken from cetus. bpdump crash on a floating point error after printing most information. $ bpdump attributes_big.bp BP format version: 3
Process Groups Index: Group: temperature Process ID: 0 Time Name: . . . Var Name (ID): date (5) Var Path: Datatype: string Is Dimension: N Characteristics: Offset(188) Transform-type(0 = none) Floating point exception (core dumped)
I tried to debug the code and found it is a division by 0 at adios_endianness.c:116 uint64_t num_elements = payload_size / size;
The issue did not occur on the file generated by examples/C/arrays/arrays_write. It also did not happen when I dump little-endian file (generate on my PC) on big endian machine (cetus).
Is there any fix?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornladios/ADIOS/issues/195, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGMLZpuki62Y5TTg1fJbtBae3UJdHS6ks5vaH-hgaJpZM4cGQzv .
Thank you for the bug report. It is now fixed in commit 1177319.
Will this be included in the next official release? Thanks.
It would be but we did not plan to have a release any time soon. Do you need a release for your users?
On Fri, Mar 29, 2019 at 2:30 PM Kaiyuan Hou notifications@github.com wrote:
Will this be included in the next official release? Thanks.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ornladios/ADIOS/issues/195#issuecomment-478103890, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGMLZunEthxWcwhj_v9EnY_a7j3TCkQks5vblvBgaJpZM4cGQzv .
Hi:
I ran the example program examples/C/attributes/attributes_write on a cetus@ALCF (a big-endian machine). I took the file generated (attributes.bp) to my PC (x86, little-endian). I run bpdump on my PC to dump attributes.bp taken from cetus. bpdump crash on a floating point error after printing most information.
I tried to debug the code and found it is a division by 0 at adios_endianness.c:116 uint64_t num_elements = payload_size / size;
The issue did not occur on the file generated by examples/C/arrays/arrays_write. It also did not happen when I dump little-endian file (generate on my PC) on big endian machine (cetus).
Is there any fix?