82 #ifndef END_POINT_PNETCDF_H
83 #define END_POINT_PNETCDF_H
92 #ifdef HAS_PNETCDF_END_POINT
100 std::string fn_str, vn_str;
101 MPI_Datatype element_type_mpi;
102 nc_type element_type_nc;
157 int Read(std::vector<unsigned long long> start, std::vector<unsigned long long> end,
void *data)
override;
167 int Write(std::vector<unsigned long long> start, std::vector<unsigned long long> end,
void *data)
override;
174 int Close()
override;
192 std::cout <<
"EndpointADIOS is not configured and compiled ! \n";
228 int Read(std::vector<unsigned long long> start, std::vector<unsigned long long> end,
void *data)
override
233 int Write(std::vector<unsigned long long> start, std::vector<unsigned long long> end,
void *data)
override
Define the class for the Endpoint used by ArrayUDF to store the data. It contains basic infomation fo...
Definition: ft_endpoint.h:106
void SetCreateFlag(bool open_flag_p)
Definition: ft_endpoint.cpp:166
void SetOpenFlag(bool open_flag_p)
Definition: ft_endpoint.cpp:156
std::string endpoint_info
Definition: ft_endpoint.h:109
Definition: ft_endpoint_pnetcdf.h:182
int Create() override
create the endpoint
Definition: ft_endpoint_pnetcdf.h:214
EndpointPnetCDF(std::string endpoint_info_p)
Construct a new EndpointHDF5 object.
Definition: ft_endpoint_pnetcdf.h:190
int PrintInfo() override
print information about the endpoint
Definition: ft_endpoint_pnetcdf.h:209
int ParseEndpointInfo() override
parse endpoint_info to my own info
Definition: ft_endpoint_pnetcdf.h:199
int Open() override
open the endpoint
Definition: ft_endpoint_pnetcdf.h:219
int Read(std::vector< unsigned long long > start, std::vector< unsigned long long > end, void *data) override
read the data from end-point
Definition: ft_endpoint_pnetcdf.h:228
void Map2MyType() override
call the finalize to close everything (like call Destractor)
Definition: ft_endpoint_pnetcdf.h:224
int Write(std::vector< unsigned long long > start, std::vector< unsigned long long > end, void *data) override
write the data to the end-point
Definition: ft_endpoint_pnetcdf.h:233
int ExtractMeta() override
extracts metadata, possbile endpoint_ranks/endpoint_dim_size/other ep_type dependents ones
Definition: ft_endpoint_pnetcdf.h:204
~EndpointPnetCDF()
Definition: ft_endpoint_pnetcdf.h:194
int Close() override
close the end-point
Definition: ft_endpoint_pnetcdf.h:238