Loading test/unit/parallel/mpi_concurrency/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ dca_add_gtest(mpi_concurrency_test MPI MPI_NUMPROC 4 LIBS parallel_mpi_concurrency) dca_add_gtest(mpi_gather_test MPI MPI_NUMPROC 8 MPI MPI_NUMPROC 6 LIBS parallel_mpi_concurrency function) test/unit/parallel/mpi_concurrency/mpi_gather_test.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // // This file tests mpi_collective_sum.hpp. // // This test only passes for 8 MPI processes. // This test only passes for 6 MPI processes. #include "dca/parallel/mpi_concurrency/mpi_gather.hpp" Loading Loading @@ -43,7 +43,7 @@ TEST(MPIGatherTest, GatherLocalDmn) { val2[i] = i; Dmn2::set_elements(val2); dca::parallel::MPIGang gang(*concurrency, 4); dca::parallel::MPIGang gang(*concurrency, 3); LocalDmn::initialize(gang); Loading Loading @@ -76,5 +76,7 @@ int main(int argc, char** argv) { result = RUN_ALL_TESTS(); concurrency.reset(); return result; } test/unit/parallel/stdthread/thread_pool/CMakeLists.txt +8 −1 Original line number Diff line number Diff line # thread pool unit tests dca_add_gtest(thread_pool_test GTEST_MAIN LIBS parallel_stdthread) EXECUTE_PROCESS( COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE ARCHITECTURE ) # temporary fix, we need some platform and compiler awareness at a highler level in our cmake # this test also depends on GNU compiler extensions, something like hwloc should be used. IF(NOT (${ARCHITECTURE} STREQUAL "ppc64le")) dca_add_gtest(affinity_test GTEST_MAIN LIBS parallel_stdthread) ENDIF() Loading
test/unit/parallel/mpi_concurrency/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -22,5 +22,5 @@ dca_add_gtest(mpi_concurrency_test MPI MPI_NUMPROC 4 LIBS parallel_mpi_concurrency) dca_add_gtest(mpi_gather_test MPI MPI_NUMPROC 8 MPI MPI_NUMPROC 6 LIBS parallel_mpi_concurrency function)
test/unit/parallel/mpi_concurrency/mpi_gather_test.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ // // This file tests mpi_collective_sum.hpp. // // This test only passes for 8 MPI processes. // This test only passes for 6 MPI processes. #include "dca/parallel/mpi_concurrency/mpi_gather.hpp" Loading Loading @@ -43,7 +43,7 @@ TEST(MPIGatherTest, GatherLocalDmn) { val2[i] = i; Dmn2::set_elements(val2); dca::parallel::MPIGang gang(*concurrency, 4); dca::parallel::MPIGang gang(*concurrency, 3); LocalDmn::initialize(gang); Loading Loading @@ -76,5 +76,7 @@ int main(int argc, char** argv) { result = RUN_ALL_TESTS(); concurrency.reset(); return result; }
test/unit/parallel/stdthread/thread_pool/CMakeLists.txt +8 −1 Original line number Diff line number Diff line # thread pool unit tests dca_add_gtest(thread_pool_test GTEST_MAIN LIBS parallel_stdthread) EXECUTE_PROCESS( COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE ARCHITECTURE ) # temporary fix, we need some platform and compiler awareness at a highler level in our cmake # this test also depends on GNU compiler extensions, something like hwloc should be used. IF(NOT (${ARCHITECTURE} STREQUAL "ppc64le")) dca_add_gtest(affinity_test GTEST_MAIN LIBS parallel_stdthread) ENDIF()