Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ endif(C_WRAPPER)
if(FORTRAN_WRAPPER)
message("-- MUI Fortran wrapper: Selected")

find_package(MPI REQUIRED)
if(MPI_FOUND)
include_directories(SYSTEM ${MPI_INCLUDE_PATH})
elseif(NOT MPI_FOUND)
message(SEND_ERROR "MPI not found")
endif(MPI_FOUND)

check_language(Fortran)
if(CMAKE_Fortran_COMPILER)
enable_language(Fortran)
Expand Down
4 changes: 1 addition & 3 deletions src/mui.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
//Include temporal samplers
#include "samplers/temporal/temporal_sampler_exact.h"
#include "samplers/temporal/temporal_sampler_gauss.h"
#include "samplers/temporal/temporal_sampler_gauss_adaptive.h"

@Wendi-L Wendi-L Jun 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think temporal_sampler_gauss_adaptive is a part of the code base. Suggest removing this include

#include "samplers/temporal/temporal_sampler_mean.h"
#include "samplers/temporal/temporal_sampler_sum.h"
#include "samplers/temporal/temporal_sampler_linear.h"

@Wendi-L Wendi-L Jun 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep this include. temporal_sampler_linear has now been merged and is required.


//Include coupling algorithms
#include "samplers/algorithm/algo_fixed_relaxation.h"
Expand Down Expand Up @@ -120,7 +120,6 @@ namespace mui {
DECLARE_SAMPLER_0ARG(temporal_sampler_gauss,SUFFIX,config_##SUFFIX);\
DECLARE_SAMPLER_0ARG(temporal_sampler_sum,SUFFIX,config_##SUFFIX);\
DECLARE_SAMPLER_0ARG(temporal_sampler_mean,SUFFIX,config_##SUFFIX);\
DECLARE_SAMPLER_0ARG(temporal_sampler_linear,SUFFIX,config_##SUFFIX);\

@Wendi-L Wendi-L Jun 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep this declaration. temporal_sampler_linear is now part of the main codebase.

DECLARE_SAMPLER_0ARG(algo_fixed_relaxation,SUFFIX,config_##SUFFIX);\
DECLARE_SAMPLER_0ARG(algo_aitken,SUFFIX,config_##SUFFIX);\
namespace geometry {\
Expand Down Expand Up @@ -162,7 +161,6 @@ SPECIALIZE(3fx,float,int64_t,3);
DECLARE_SAMPLER_0ARG(temporal_sampler_gauss,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_sum,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_mean,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(temporal_sampler_linear,SUFFIX,CONFIG);\

@Wendi-L Wendi-L Jun 1, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep this declaration. temporal_sampler_linear is now part of the main codebase.

DECLARE_SAMPLER_0ARG(algo_fixed_relaxation,SUFFIX,CONFIG);\
DECLARE_SAMPLER_0ARG(algo_aitken,SUFFIX,CONFIG);\
}
Expand Down