From 609d47e61d6a5c1d7bed4dee6d38cffa3c2b8396 Mon Sep 17 00:00:00 2001 From: Alex Buts Date: Thu, 3 Mar 2022 23:39:05 +0000 Subject: [PATCH] Re #771 disabling slow MPI combine test on Windows --- .../test_gen_sqw_accumulate_sqw_parpool.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_test/test_gen_sqw_workflow/test_gen_sqw_accumulate_sqw_parpool.m b/_test/test_gen_sqw_workflow/test_gen_sqw_accumulate_sqw_parpool.m index 44283f303a..17638b7125 100644 --- a/_test/test_gen_sqw_workflow/test_gen_sqw_accumulate_sqw_parpool.m +++ b/_test/test_gen_sqw_workflow/test_gen_sqw_accumulate_sqw_parpool.m @@ -52,6 +52,10 @@ test_name = mfilename('class'); end combine_algorithm = 'mpi_code'; % this is what should be tested + %TODO: but on windows it is not optimized and is very slow, so: + if ispc() % TODO: this should be fixed + combine_algorithm = 'mex_code'; + end obj = obj@gen_sqw_common_config(-1,1,combine_algorithm,'parpool'); obj = obj@gen_sqw_accumulate_sqw_tests_common(test_name,'parpool');