HDFGroup / HDFGroup/hdf5

Using split file driver in conjunction with setting mdc config caused failure

Open
#5,602 0 comments 0 reactions 2 assignees Claimed by @fortnern View on GitHub
Component - C Library
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

Reported through Helpdesk by Dr. Werner Benger:

This is just to let you know that using the split file driver

H5Pset_fapl_multi(fapl_id, memb_map, memb_fapl,
memb_name, memb_addr, 0);

in conjunction with

H5AC_cache_config_t mdc_config;
mdc_config.version = H5AC__CURR_CACHE_CONFIG_VERSION;
H5Pget_mdc_config(fapl_id, &mdc_config);

mdc_config.initial_size = 32\*1024\*1024;
mdc_config.max_size = 32\*1024\*1024;
mdc_config.min_size = 1024\*1024;

mdc_config.version = H5AC__CURR_CACHE_CONFIG_VERSION;
H5Pset_mdc_config(fapl_id, &mdc_config);

leads to a failure in HDF5 **1.14.4-3**, see the attached [logfile](https://github.com/user-attachments/files/20750550/logfile.txt) for details of the error stack.

I solved the problem by not setting the mdc config and it works that way, but in case this issue is not known and easy to fix in HDF5, I let you know. It works fine without the split file driver, so it looks like some internal bug, unless it is some cryptic intentional behavior?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.