oneMKL
                                
                                 oneMKL copied to clipboard
                                
                                    oneMKL copied to clipboard
                            
                            
                            
                        [CMake] New users can struggle with the CBLAS testing dependency when building oneMKL - what to do?
The problem
Both in the issues (here), and privately, I've supported new users struggling to build the oneMKL library. Their aim was to build and install oneMKL.
In both cases, the sticking point was the dependency of the BLAS unit tests on CBLAS. This dependency on CBLAS, combined with the fact that the unit tests are build by default, meant that they required support.
Possible solutions
- Only build the oneMKL library by default: building anything else (examples, tests), should be opt-in. This would also reduce build/install times.
- More helpful error messages for the CBLAS dependency. Error messages should make it clear how to avoid this dependency.
Note another issue caused by this here.