mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
added valgrind suppressions for HDF5 create/open
This commit is contained in:
parent
49c3d97c45
commit
7bdb4536e3
2 changed files with 64 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ set(CTEST_UPDATE_COMMAND "git")
|
|||
set(CTEST_CONFIGURE_COMMAND "${{CMAKE_COMMAND}} -H${{CTEST_SOURCE_DIRECTORY}} -B${{CTEST_BINARY_DIRECTORY}} ${{CTEST_BUILD_OPTIONS}}")
|
||||
set(CTEST_MEMORYCHECK_COMMAND "{valgrind_cmd}")
|
||||
set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "--tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes")
|
||||
set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${{CTEST_SOURCE_DIRECTORY}}/../tests/valgrind.supp)
|
||||
set(MEM_CHECK {mem_check})
|
||||
set(ENV{{MEM_CHECK}} ${{MEM_CHECK}})
|
||||
|
||||
|
|
|
|||
63
tests/valgrind.supp
Normal file
63
tests/valgrind.supp
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
Create HDF5 statepoint file
|
||||
Memcheck:Addr4
|
||||
fun:H5_build_extpath
|
||||
fun:H5F_open
|
||||
fun:H5Fcreate
|
||||
fun:h5fcreate_c_
|
||||
fun:__h5f_MOD_h5fcreate_f
|
||||
fun:__hdf5_interface_MOD_hdf5_file_create
|
||||
fun:__output_interface_MOD_file_create
|
||||
fun:__state_point_MOD_write_state_point
|
||||
fun:__eigenvalue_MOD_finalize_batch
|
||||
fun:__eigenvalue_MOD_run_eigenvalue
|
||||
fun:MAIN__
|
||||
fun:main
|
||||
}
|
||||
{
|
||||
Open HDF5 statepoint file
|
||||
Memcheck:Addr4
|
||||
fun:H5_build_extpath
|
||||
fun:H5F_open
|
||||
fun:H5Fopen
|
||||
fun:h5fopen_c_
|
||||
fun:__h5f_MOD_h5fopen_f
|
||||
fun:__hdf5_interface_MOD_hdf5_file_open
|
||||
fun:__output_interface_MOD_file_open
|
||||
fun:__state_point_MOD_write_source_point
|
||||
fun:__eigenvalue_MOD_finalize_batch
|
||||
fun:__eigenvalue_MOD_run_eigenvalue
|
||||
fun:MAIN__
|
||||
fun:main
|
||||
}
|
||||
{
|
||||
Create HDF5 summary file
|
||||
Memcheck:Addr4
|
||||
fun:H5_build_extpath
|
||||
fun:H5F_open
|
||||
fun:H5Fcreate
|
||||
fun:h5fcreate_c_
|
||||
fun:__h5f_MOD_h5fcreate_f
|
||||
fun:__hdf5_interface_MOD_hdf5_file_create
|
||||
fun:__output_interface_MOD_file_create
|
||||
fun:__hdf5_summary_MOD_hdf5_write_summary
|
||||
fun:__initialize_MOD_initialize_run
|
||||
fun:MAIN__
|
||||
fun:main
|
||||
}
|
||||
{
|
||||
Create HDF5 track file
|
||||
Memcheck:Addr4
|
||||
fun:H5_build_extpath
|
||||
fun:H5F_open
|
||||
fun:H5Fcreate
|
||||
fun:h5fcreate_c_
|
||||
fun:__h5f_MOD_h5fcreate_f
|
||||
fun:__hdf5_interface_MOD_hdf5_file_create
|
||||
fun:__output_interface_MOD_file_create
|
||||
fun:__track_output_MOD_finalize_particle_track
|
||||
fun:__tracking_MOD_transport
|
||||
fun:__eigenvalue_MOD_run_eigenvalue
|
||||
fun:MAIN__
|
||||
fun:main
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue