You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update data members derived_func_chunk and derived_func_with_name_chunk in yt_field struct.
void (*derived_func_chunk) ( int list_length, long *list_gid, yt_array *data )
void (*derived_func_with_name_chunk) ( int list_length, long *list_gid, char *field, yt_array *data )
Update data member get_attr in yt_particle struct.
void (*get_attr) ( int list_length, long *list_gid, char *attr_name, yt_array *data_array)
Derived Function/Get Attribute Function C++ Extended Python Method
Python dictionary structure for wrapping them and storing them inside NumPy Array.
RMA
Since one will only need remote memory access when MPI size > 1. Do we really need to prepare many grid at a time if one already have parallelized in MPI?
Update yt_rma_field.cpp when preparing grid data for remote ranks.
Update init_libyt_module.cpp function libyt_field_get_field_remote so that it asks many grids at a time.
yt
Update io.py, find places to store grids.
Redesign _get_field_from_libyt, _read_chunk_data, and _read_fluid_selection.
The text was updated successfully, but these errors were encountered:
cindytsai
changed the title
Support Derived Function Prepare Multiple Data Chunks At A Time
Support Derived Function and Particle Get Attribute Function Prepare Multiple Data Chunks At A Time
Apr 24, 2022
Support Derived Function and Get Attribute Function Prepare Multiple Data Chunks At A Time
Problem
derived_func
andderived_func_with_name
prepare one data grid at a time.gamer
) to generate derived field.libyt
likes.libyt
's overall performance for now.Solution
libyt
Data Structure
derived_func_chunk
andderived_func_with_name_chunk
inyt_field
struct.void (*derived_func_chunk) ( int list_length, long *list_gid, yt_array *data )
void (*derived_func_with_name_chunk) ( int list_length, long *list_gid, char *field, yt_array *data )
get_attr
inyt_particle
struct.void (*get_attr) ( int list_length, long *list_gid, char *attr_name, yt_array *data_array)
Derived Function/Get Attribute Function C++ Extended Python Method
RMA
yt_rma_field.cpp
when preparing grid data for remote ranks.init_libyt_module.cpp
functionlibyt_field_get_field_remote
so that it asks many grids at a time.yt
io.py
, find places to store grids._get_field_from_libyt
,_read_chunk_data
, and_read_fluid_selection
.The text was updated successfully, but these errors were encountered: