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

Stand-alone tests without Log VOL #65

Merged
merged 2 commits into from
Sep 16, 2023
Merged

Stand-alone tests without Log VOL #65

merged 2 commits into from
Sep 16, 2023

Conversation

wkliao
Copy link
Collaborator

@wkliao wkliao commented Sep 15, 2023

In order to check whether an error was caused by Log VOL or other VOLs, this PR allows one to run test programs in tests/basic without Log VOL. For instance, run command below to build all executables, with configuring Log VOL first.

export HDF5_DIR=${HOME}/HDF5
export LD_LIBRARY_PATH=${HDF5_DIR}/lib:${LD_LIBRARY_PATH}
make -f makefile.alone MPICXX=${HOME}/MPICH/bin/mpicxx

Once the executable were built, one can test any VOL or any combination of VOLs by setting the VOL specific environment variables. For example, to run all test programs with Cache and Async VOLs enabled, use commands below.

export ABT_DIR=${HOME}/Argobots
export ASYNC_DIR=${HOME}/Async
export CACHE_DIR=${HOME}/Cache
export HDF5_DIR=${HOME}/HDF5
export HDF5_ROOT=${HDF5_DIR}
export HDF5_PLUGIN_PATH=${CACHE_DIR}/lib:${ASYNC_DIR}/lib
export LD_LIBRARY_PATH=${CACHE_DIR}/lib:${ASYNC_DIR}/lib:${ABT_DIR}/lib:${HDF5_DIR}/lib:${LD_LIBRARY_PATH}
export HDF5_VOL_CONNECTOR="cache_ext config=./cache.cfg;under_vol=512;under_info={under_vol=0;under_info={}}"
export MPICH_MAX_THREAD_SAFETY=multiple
export HDF5_USE_FILE_LOCKING=FALSE
export HDF5_ASYNC_DISABLE_DSET_GET=0
make -f makefile.alone MPIEXEC=${HOME}/MPICH/bin/mpiexec ptest

@wkliao wkliao force-pushed the test_alone branch 5 times, most recently from aff9d95 to bc30419 Compare September 15, 2023 23:42
@wkliao wkliao changed the title Add test HDF5 VOLs implicitly only Stand-alone tests without Log VOL Sep 16, 2023
@wkliao wkliao merged commit e4f28fc into master Sep 16, 2023
4 of 5 checks passed
@wkliao wkliao deleted the test_alone branch September 16, 2023 20:46
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

Successfully merging this pull request may close these issues.

1 participant