Hi,
you can configure a build directory as follow:
export CC=path/to/icc
export CXX=path/to/icpc
cmake path/to/eigen -DEIGEN_TEST_CUSTOM_CXX_FLAGS="-mkl=sequential
-DEIGEN_USE_MKL_ALL" -DEIGEN_TEST_CUSTOM_LINKER_FLAGS="-mkl=sequential"
-DCMAKE_BUILD_TYPE=Release -DEIGEN_TEST_BUILD_FLAGS=-j4
The last option enable parallel builds. Feel free to remove or adjust it
to your needs.
Then you can run from a cron job:
$ cd path/to/eigen && hg up
$ cd path/to/build && ctest -D Nightly
cheers,
Gael.
On Sun, Jan 4, 2015 at 12:20 AM, Kevin Locke <kevin@xxxxxxxxxxxxxxx> wrote:
Hello All,
In Bug 923[1] Christoph Hertzberg suggested that it would be useful
for me to periodically run the Eigen test suite with MKL enabled. I
would appreciate some advice about how to do that (and thought it
would be better to discuss here than in the bug report).
It looks like I could pass -DEIGEN_USE_MKL_ALL along with the
necessary system-specific compiler/linker options in the
EIGEN_TEST_CUSTOM_CXX_FLAGS and EIGEN_TEST_CUSTOM_LINKER_FLAGS options
when invoking CMake. Is that the correct/recommended procedure? Will
it report the test results on CDash in a way that will make them
useful?
My apologies if this is documented somewhere that I've overlooked.
Thanks,
Kevin
1. http://eigen.tuxfamily.org/bz/show_bug.cgi?id=923