BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

cmake: parallel check

Open dschwoerer opened this issue 4 years ago • 1 comments

autotools test suite can run tests in parallel. It would be nice to do the same with cmake. Especially on HPC systems this makes all the difference.

I haven't looked into this further, but it might be possible to only run one test which calls ./test_suite.

dschwoerer avatar Jun 29 '21 13:06 dschwoerer

ctest has this built-in already with the -j flag. We can also set the PROCESSORS property on each test to help out here

ZedThree avatar Jun 29 '21 13:06 ZedThree