stefaniereuter / wands

UKAEA work with adios to transport data
MIT License
2 stars 1 forks source link

support multiple data types #10

Open stefaniereuter opened 1 year ago

stefaniereuter commented 1 year ago

currently everything is cast to double (was necessary because of an adios bug) but it should be fixed in new adios2.9 version. So include a query for correct datatype and on server and receiver side

tobyjamez commented 1 year ago

Needs to be added in the python side first, then can be reinstated on the server. Important to be able to send single-precision where appropriate. Also maybe ints.

tobyjamez commented 1 year ago

data_cache.py:173 in function load_from_cache(): convert C++ types to python types

wrap in some kind of type_dict = {"double": float64} etc

tobyjamez commented 1 year ago

wan.py:243 in function receive_dict_arrays hacky replace("_t", "") and likely appears in more routines. find them and change them