Skip to content

Commit 4698fc3

Browse files
committed
#16: all: build and test against comm_vt when vt found
1 parent 14bdf04 commit 4698fc3

38 files changed

+92
-17
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ endif()
2323

2424
# vt includes magistrate and we must have magistrate for the MPI backend
2525
if(NOT vt_FOUND)
26+
set(vt_backend_feature_enabled 0)
2627
find_package(magistrate REQUIRED)
28+
else()
29+
set(vt_backend_feature_enabled 1)
2730
endif()
2831

2932
set(FMT_LIBRARY fmt)

src/vt-lb/algo/baselb/baselb.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_BASELB_BASELB_H
4545
#define INCLUDED_VT_LB_ALGO_BASELB_BASELB_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <memory>
4850
#include <vt-lb/model/PhaseData.h>
4951

src/vt-lb/algo/driver/driver.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_DRIVER_DRIVER_H
4545
#define INCLUDED_VT_LB_ALGO_DRIVER_DRIVER_H
4646

47-
#include "vt-lb/model/PhaseData.h"
47+
#include <vt-lb/config/cmake_config.h>
48+
49+
#include <vt-lb/model/PhaseData.h>
4850

4951
#include <memory>
5052

src/vt-lb/algo/driver/driver.impl.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_DRIVER_DRIVER_IMPL_H
4545
#define INCLUDED_VT_LB_ALGO_DRIVER_DRIVER_IMPL_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/algo/temperedlb/temperedlb.h>
48-
#include "vt-lb/algo/driver/driver.h"
50+
#include <vt-lb/algo/driver/driver.h>
4951

5052
namespace vt_lb {
5153

src/vt-lb/algo/temperedlb/basic_transfer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_BASIC_TRANSFER_H
4545
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_BASIC_TRANSFER_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/model/types.h>
4850
#include <vt-lb/comm/comm_traits.h>
4951
#include <vt-lb/util/logging.h>

src/vt-lb/algo/temperedlb/cluster_summarizer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTER_SUMMARIZER_H
4545
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTER_SUMMARIZER_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/model/PhaseData.h>
4850
#include <vt-lb/model/Communication.h>
4951
#include <vt-lb/algo/temperedlb/configuration.h>

src/vt-lb/algo/temperedlb/cluster_summarizer.impl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTER_SUMMARIZER_IMPL_H
4545
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTER_SUMMARIZER_IMPL_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/model/PhaseData.h>
4850
#include <vt-lb/model/Communication.h>
4951
#include <vt-lb/algo/temperedlb/cluster_summarizer.h>

src/vt-lb/algo/temperedlb/clustering.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTERING_H
4444
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_CLUSTERING_H
4545

46+
#include <vt-lb/config/cmake_config.h>
47+
4648
#include <vt-lb/model/PhaseData.h>
4749
#include <vt-lb/util/logging.h>
4850

src/vt-lb/algo/temperedlb/configuration.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_CONFIGURATION_H
4545
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_CONFIGURATION_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/algo/temperedlb/work_model.h>
4850
#include <vt-lb/algo/temperedlb/transfer_util.h>
4951

src/vt-lb/algo/temperedlb/full_graph_visualizer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#if !defined INCLUDED_VT_LB_ALGO_TEMPEREDLB_FULL_GRAPH_VISUALIZER_H
4545
#define INCLUDED_VT_LB_ALGO_TEMPEREDLB_FULL_GRAPH_VISUALIZER_H
4646

47+
#include <vt-lb/config/cmake_config.h>
48+
4749
#include <vt-lb/model/PhaseData.h>
4850
#include <vt-lb/model/Communication.h>
4951
#include <vt-lb/algo/temperedlb/clustering.h>

0 commit comments

Comments
 (0)