From e0fa8e48e0df09d03c4353b4ebfe659db594acf8 Mon Sep 17 00:00:00 2001 From: "Thomas A. Gardiner" <45148532+tagardiner@users.noreply.github.com> Date: Wed, 30 Nov 2022 12:38:17 -0700 Subject: [PATCH] KOKKOS_DISABLE_WARNINGS (#791) * setenv("KOKKOS_DISABLE_WARNINGS", "TRUE", 1); * Update CHANGELOG.md Co-authored-by: Thomas A. Gardiner Co-authored-by: Jonah Miller --- CHANGELOG.md | 1 + tst/catch2_define.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73d90e668dc2..bb88c68dc0ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ - [[PR 716]](https://github.com/lanl/parthenon/pull/716) Remove unneeded assert from ParArrayND ### Infrastructure (changes irrelevant to downstream codes) +- [[PR 791]](https://github.com/parthenon-hpc-lab/parthenon/pull/791) Set KOKKOS_DISABLE_WARNINGS=TRUE - [[PR 777]](https://github.com/parthenon-hpc-lab/parthenon/pull/777) New action: check PR dependencies & warn until requirements merged - [[PR 772]](https://github.com/lanl/parthenon/pull/772) Trigger short CI only for PRs and remove old SpaceInstances test - [[PR 757]](https://github.com/lanl/parthenon/pull/757) Move to flux correction in-one and unify with bvals diff --git a/tst/catch2_define.cpp b/tst/catch2_define.cpp index d148117a2097..95d1bec7952f 100644 --- a/tst/catch2_define.cpp +++ b/tst/catch2_define.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { // parsed. for (auto i = 1; i < argc; i++) { if (std::string(argv[i]) == "--list-test-names-only") { - setenv("KOKKOS_DISABLE_WARNINGS", "ON", 1); + setenv("KOKKOS_DISABLE_WARNINGS", "TRUE", 1); } }