Skip to content

Commit

Permalink
Re #1753 validated horace_mex_mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Sep 27, 2024
1 parent c0f3a8d commit 863beae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/horace_mex_mpi.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% Manually modify this script to specify the mpi libraries location in your
% system.
%
use_her_mpich = false;
use_her_mpich = true;
verbose = nargin > 0;
pths = horace_paths;

Expand Down Expand Up @@ -70,7 +70,7 @@

build_version_h(pths.root)
try
opt = sprintf('CXXFLAGS=$CFLAGS -fopenmp -std=c++11 -Wl,-rpath=%s,--enable-new-dtags,--no-undefined,-fopenmp',mpi_lib_folder);
opt = sprintf('CXXFLAGS=$CFLAGS -fopenmp -std=c++17 -Wl,-rpath=%s,--enable-new-dtags,--no-undefined,-fopenmp',mpi_lib_folder);
if isempty(opt_file)
mex('-v',add_include{:},opt,input_files{:},...
mpi_lib{:},'-outdir',outdir);
Expand Down

0 comments on commit 863beae

Please sign in to comment.