-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing spgemm unit test with MKL #289
Comments
Think I have this chased down, looks like there is a macro defined in the config file |
Updating that line to instead check that |
I don't think !defined(KOKKOSKERNELS_ENABLE_TPL_BLAS) is needed for this test. |
@srajama1 To have the expected setting for |
The change above fixes the failing tests for intel/18.2.199 and intel/17. |
Is there something wrong in setting HAVE_KOKKOSKERNELS_MKL in the CMakeLists.txt when MKL is enabled ? TPL_BLAS could be enabled even if cuBLAS is enabled, right ? |
Also, the logic in the config file never does anything with |
@srajama1 pointed out I used the wrong macro above (and in my sandbox), should have used |
Issue PR #290 with fix |
No one gets the following compilation error in spotchecking on bowman ?
|
@kyungjoo-kim which version of intel were you using? We can add the correct if-guards to protect against this. |
intel/compilers/18.2.199 |
Huh, that's the one I'm using... |
no.... this shows up in eti compiling |
@kyungjoo-kim can you post your script for calling generate_makefile? I'm not running into this issue with my usual configuration so I'll need to match yours. |
|
@ndellingwood if you cannot reproduce the same error, let me know when you are available in your office. I will come by. Lately I figured out that my custum bash environement can generate some errors that others cannot see. |
Do you also need to set |
I thought that such environment variable should be set corresponding to the testing machine. I did not set MKL_PATH additionally. |
Merged in #290 to address first set of problems in this issue. Will open new PR once we get to the bottom of the issue with |
And I believe that test_all_sandia script load appropriate modules; thus, the environment variables should be set in the script too as the varialbe does not exist before the modules are loaded. |
@kyungjoo-kim I'm not sure if it is needed to set the env variable or the cxxflags, but wondering if this needs to be done like when generating a makefile to test with mkl. I haven't tried the test_all_sandia script while enabling mkl, glad you're trying it out so we can get it working for future Jenkins testing. |
Looked at the other include issue with @kyungjoo-kim, we believe the issue is with using |
Sample output with either intel/17 or intel/18.2.199 on Bowman with OpenMP backend:
The text was updated successfully, but these errors were encountered: