|Re: [eigen] Running CTest with MKL Enabled|
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Thanks Gael, much appreciated!
Is it alright if I ran the tests with GCC and/or Clang rather than ICC?
I am not very familiar with ICC and don't currently have it installed on
the build machines.
I gave it a try and uploaded the result to CDash at
The commands that I used were:
CC="clang-3.5" CXX="clang++-3.5" cmake .. \
-DEIGEN_TEST_CUSTOM_CXX_FLAGS="-I$MKLROOT/include -DEIGEN_USE_MKL_ALL" \
-DEIGEN_TEST_CUSTOM_LINKER_FLAGS="-lmkl_sequential -lmkl_intel_lp64 \
-lmkl_core" -DCMAKE_BUILD_TYPE=Release -DEIGEN_TEST_BUILD_FLAGS=-j4
ctest -j4 -D Nightly
Does that seem about right? If so, I'll try to run it on a more regular
basis. If there's anything I can change to make it more useful, don't
hesitate to point that out.
On 01/13/2015 02:41 PM, Gael Guennebaud wrote:
you can configure a build directory as follow:
cmake path/to/eigen -DEIGEN_TEST_CUSTOM_CXX_FLAGS="-mkl=sequential
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
On Sun, Jan 4, 2015 at 12:20 AM, Kevin Locke <kevin@xxxxxxxxxxxxxxx> wrote:
In Bug 923 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
My apologies if this is documented somewhere that I've overlooked.
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|