From f91e2ea9dbce706a2faa6f04d0600c2522db6006 Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Mon, 18 Mar 2024 16:40:04 -0700 Subject: [PATCH] Drop unnecessary MPI guards --- include/core/Partition_One.hpp | 3 --- test/utils/Partition_One_Test.cpp | 4 ---- 2 files changed, 7 deletions(-) diff --git a/include/core/Partition_One.hpp b/include/core/Partition_One.hpp index c18fa6b696..293160837a 100644 --- a/include/core/Partition_One.hpp +++ b/include/core/Partition_One.hpp @@ -1,8 +1,6 @@ #ifndef PARTITION_ONE_H #define PARTITION_ONE_H -#ifdef NGEN_MPI_ACTIVE - #include #include #include @@ -36,5 +34,4 @@ class Partition_One { PartitionData partition_data; }; -#endif // NGEN_MPI_ACTIVE #endif // PARTITION_ONE_H diff --git a/test/utils/Partition_One_Test.cpp b/test/utils/Partition_One_Test.cpp index c708858157..2e3e1f747a 100644 --- a/test/utils/Partition_One_Test.cpp +++ b/test/utils/Partition_One_Test.cpp @@ -6,8 +6,6 @@ #include #include -//This way we can test the partition_one, since this doesn't have an explicit MPI dependency -#define NGEN_MPI_ACTIVE #include "core/Partition_One.hpp" #include "FileChecker.h" @@ -190,5 +188,3 @@ TEST_F(PartitionOneTest, TestPartitionData_1b) ASSERT_EQ(nexus_ids.size(), num_nexus); ASSERT_EQ(duplicates.size(), 0); } - -#undef NGEN_MPI_ACTIVE