mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Wiring performance benchmarks into cmake, cleaned up serial compression performance test dependency on MPI.
This commit is contained in:
parent
c05505a1b8
commit
2efb340488
@ -24,8 +24,10 @@ add_bin_test(nc_perf tst_files3 tst_utils.c)
|
||||
add_bin_test(nc_perf tst_mem tst_utils.c)
|
||||
add_bin_test(nc_perf tst_wrf_reads tst_utils.c)
|
||||
add_bin_test(nc_perf tst_attsperf tst_utils.c)
|
||||
add_bin_test(nc_perf tst_bm_rando tst_utils.c)
|
||||
add_bin_test(nc_perf tst_compress tst_utils.c)
|
||||
|
||||
add_sh_test(nc_perf run_knmi_bm)
|
||||
#add_sh_test(nc_perf run_knmi_bm)
|
||||
add_sh_test(nc_perf perftest)
|
||||
add_sh_test(nc_perf run_tst_chunks)
|
||||
add_sh_test(nc_perf run_bm_elena)
|
||||
@ -36,9 +38,12 @@ add_sh_test(nc_perf run_bm_test2)
|
||||
|
||||
# This will run a parallel I/O benchmark for parallel builds.
|
||||
IF(TEST_PARALLEL4)
|
||||
add_bin_test(nc_perf tst_compress_par tst_utils.c)
|
||||
add_sh_test(nc_perf run_par_bm_test)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
add_sh_test(nc_test )
|
||||
ENDIF(TEST_PARALLEL4)
|
||||
ENDIF(BUILD_UTILITIES)
|
||||
|
||||
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.sh)
|
||||
FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/ FILE_PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE)
|
||||
|
||||
ADD_EXTRA_DIST(run_par_bm_test.sh.in run_knmi_bm.sh CMakeLists.txt
|
||||
perftest.sh run_bm_test1.sh run_bm_test2.sh)
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <netcdf.h>
|
||||
#include <netcdf_par.h>
|
||||
#include <netcdf_meta.h>
|
||||
|
||||
#define TEST_NAME "tst_compress"
|
||||
|
Loading…
Reference in New Issue
Block a user