diff --git a/include/flamegpu/simulation/CUDAEnsemble.h b/include/flamegpu/simulation/CUDAEnsemble.h index 4703051bf..e4d998f9b 100644 --- a/include/flamegpu/simulation/CUDAEnsemble.h +++ b/include/flamegpu/simulation/CUDAEnsemble.h @@ -103,10 +103,11 @@ class CUDAEnsemble { const bool block_standby = false; #endif /** - * Allows MPI processing to be disabled for builds with MPI support + * Flag which denotes whether MPI support is enabled + * @note This cannot be changed at runtime, depends on compilation settings. */ #ifdef FLAMEGPU_ENABLE_MPI - bool mpi = true; + const bool mpi = true; #else const bool mpi = false; #endif diff --git a/src/flamegpu/simulation/CUDAEnsemble.cu b/src/flamegpu/simulation/CUDAEnsemble.cu index 9b050d41f..80c0bddc7 100644 --- a/src/flamegpu/simulation/CUDAEnsemble.cu +++ b/src/flamegpu/simulation/CUDAEnsemble.cu @@ -766,14 +766,7 @@ int CUDAEnsemble::checkArgs(int argc, const char** argv) { #endif continue; } - // --no-mpi Disable MPI support - if (arg.compare("--no-mpi") == 0) { -#ifdef FLAMEGPU_ENABLE_MPI - config.mpi = false; -#endif - continue; - } - // Warning if not in QUIET verbosity or if silnce-unknown-args is set + // Warning if not in QUIET verbosity or if silence-unknown-args is set if (!(config.verbosity == flamegpu::Verbosity::Quiet || config.silence_unknown_args)) fprintf(stderr, "Warning: Unknown argument '%s' passed to Ensemble will be ignored\n", arg.c_str()); }