Skip to content

Commit

Permalink
#2291: Update name of the variable used to enable the tests of LBdata…
Browse files Browse the repository at this point in the history
…files
  • Loading branch information
thearusable committed Jul 12, 2024
1 parent 7eefe77 commit f52d668
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-10-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-11-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-12-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-13-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 1
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-14-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-9-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-clang-alpine-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: alpine-clang-13-cache
volume_name: alpine-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-10-ubuntu-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-gcc-10-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-gcc-11-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 1
VT_KOKKOS_ENABLED: 1
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-gcc-12-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-gcc-8-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-gcc-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 1
VT_CI_TEST_LB_SCHEMA: 1
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-gcc-9-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-intel-oneapi-icpc-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-intel-oneapi-icpc-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-intel-oneapi-icpx-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 1
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-intel-oneapi-icpx-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-nvidia-11-2-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 0
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-nvidia-11.2-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/azure-nvidia-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variables:
VT_DEBUG_VERBOSE: 1
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
TEST_LB_SCHEMA: 0
VT_CI_TEST_LB_SCHEMA: 0
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-nvidia-12-cache
volume_name: ubuntu-cpp
Expand Down
2 changes: 1 addition & 1 deletion ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DCMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH:-}" \
-DCMAKE_INSTALL_PREFIX="$VT_BUILD/install" \
-Dvt_ci_build="${VT_CI_BUILD:-0}" \
-Dvt_ci_generate_lb_files="${VT_CI_TEST_LB_SCHEMA:-0}" \
-Dvt_debug_verbose="${VT_DEBUG_VERBOSE:-0}" \
-Dvt_tests_num_nodes="${VT_TESTS_NUM_NODES:-}" \
-Dvt_external_fmt="${VT_EXTERNAL_FMT:-0}" \
-Dvt_no_color_enabled="${VT_NO_COLOR_ENABLED:-0}" \
-Dvt_test_lb_schema="${TEST_LB_SCHEMA:-0}" \
-DCMAKE_CXX_STANDARD="${CMAKE_CXX_STANDARD:-17}" \
-DBUILD_SHARED_LIBS="${BUILD_SHARED_LIBS:-0}" \
"$VT"
Expand Down
2 changes: 1 addition & 1 deletion ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ then
popd
fi

if test "${TEST_LB_SCHEMA:-0}" -eq 1
if test "${VT_CI_TEST_LB_SCHEMA:-0}" -eq 1
then
echo "Validating schema of json files..."
"${VT}/scripts/check_lb_data_files.sh" "${VT_BUILD}" "${VT}"
Expand Down
2 changes: 1 addition & 1 deletion cmake/configure_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ define_option(vt_werror_enabled "-Werror" "Build VT with -Werror enabled" OFF em
define_option(vt_build_tests "tests" "Build VT tests" ON empty_feature)
define_option(vt_build_tools "tools" "Build VT tools" ON empty_feature)
define_option(vt_build_examples "examples" "Build VT examples" ON empty_feature)
define_option(vt_test_lb_schema "lb schema tests" "Enable testing of LBDatafile schema" OFF empty_feature)
define_option(vt_ci_generate_lb_files "generate lb files" "Enable generation of LBDatafiles when runnning examples" OFF empty_feature)

option(vt_external_fmt "Build VT with external fmt" OFF)
if(${vt_external_fmt})
Expand Down
2 changes: 1 addition & 1 deletion cmake/test_vt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ macro(add_test_for_example_vt test_target test_exec test_list)
endif()

# Append parameters required for the examples to output LBDatafiles.
if (vt_test_lb_schema)
if (vt_ci_generate_lb_files)
list(APPEND EXEC_ARGS
"--vt_lb_interval=1"
"--vt_lb_data"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ x-vtopts: &vtopts
BUILD_SHARED_LIBS: ${VT_BUILD_SHARED_LIBS:-0}
VT_INCLUSION_TYPE: ${VT_INCLUSION:-TPL}
CODECOV_TOKEN: ${CODECOV_TOKEN:-}
TEST_LB_SCHEMA: ${TEST_LB_SCHEMA:-0}
VT_CI_TEST_LB_SCHEMA: ${VT_CI_TEST_LB_SCHEMA:-0}
CMAKE_CXX_STANDARD: ${CMAKE_CXX_STANDARD:-17}

services:
Expand Down
2 changes: 1 addition & 1 deletion scripts/workflow-azure-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ variables:
VT_DEBUG_VERBOSE: [% vt_debug_verbose %]
VT_KOKKOS_ENABLED: [% vt_kokkos_enabled %]
CMAKE_CXX_STANDARD: [% cmake_cxx_standard %]
TEST_LB_SCHEMA: [% test_lb_schema %]
VT_CI_TEST_LB_SCHEMA: [% vt_ci_test_lb_schema %]
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: [% cache_name %]
volume_name: [% volume_name %]
Expand Down
4 changes: 2 additions & 2 deletions scripts/workflows-azure.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vt_zoltan = 0
vt_ci_build = 1
vt_tests_num_nodes = 2
vt_external_fmt = 0
test_lb_schema = 0
vt_ci_test_lb_schema = 0
ulimit_core = 0
vt_code_coverage = 0
build_type = release
Expand Down Expand Up @@ -114,7 +114,7 @@ test_configuration = "gcc-9, ubuntu, mpich, zoltan, json schema test"
compiler_type = gnu
compiler = gcc-9
output_name = ci/azure/azure-gcc-9-ubuntu-mpich.yml
test_lb_schema = 1
vt_ci_test_lb_schema = 1
vt_zoltan = 1

[PR-tests-gcc-10]
Expand Down

0 comments on commit f52d668

Please sign in to comment.