Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writting uint64_t and size_t on BGQ machine #137

Closed
fouriaux opened this issue Jul 10, 2017 · 2 comments
Closed

writting uint64_t and size_t on BGQ machine #137

fouriaux opened this issue Jul 10, 2017 · 2 comments

Comments

@fouriaux
Copy link

I have experienced a discrepancy in the behavior of ADIOS on BGQ machine compared to x86:
I try to transfer some data using the no-xml API.
I delcare my variables as follow:

adios_define_var          ( adios_group_id, "global_size",  "", adios_integer, "", "", "");

and I am writting this way:

adios_write (adios_handle, "global_size", (void*) &total_size);

I initially declared total_size as uint64_t and tested as well with size_t, this provide correct behavior on x86, but incorrect results on BGQ. replacing the delcaration with int make it functional on BGQ.

@pnorbert
Copy link
Contributor

pnorbert commented Jul 10, 2017 via email

@fouriaux
Copy link
Author

fouriaux commented Jul 11, 2017

sorry my mistake, it makes all sense now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants