Skip to content

Minimal sparse BLAS CMake project with Fortran and intel MKL. Structure based on Modern CMake practices.

License

Notifications You must be signed in to change notification settings

jfdev001/hello-sparse-blas

Repository files navigation

hello-sparse-blas

Demonstrate sparse matrix-vector multiplication with Intel MKL.

Make sure you have the Intel oneAPI HPC Toolkit or Intel Fortran Essentials.

Get the external dependencies.

# Get externals 
git submodule update --init 

Then, you can configure the project.

./config/intel_ubuntu

Alternatively, if on a system where you need to specify a different MKL library and MKL include path, you can do this with the flags -DMKLLIB and -DMKLINCLUDE during configuration. The below bash script does the necessary configuration, as an example, for DKRZ's Levante.

./config/intel_levante

Lastly, you build the project and execute an example binary.

cmake --build build
./build/test/test_spblas

References

About

Minimal sparse BLAS CMake project with Fortran and intel MKL. Structure based on Modern CMake practices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published