Skip to content

Work in progress! (Intel MKL) Sparse BLAS CMake project with Fortran. Structure based on Modern CMake practices. Dependencies on optional unit tests as well as required external package FFTPACK for didactic purposes.

License

Notifications You must be signed in to change notification settings

jfdev001/hello-sparse-blas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-sparse-blas

Demonstrate sparse matrix-vector multiplication with Intel MKL. Also has various structural components that are intended to be transferable across projects.

Use either pFUnit or test-drive for unit testing.

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

Then, you can configure, build, and run tests for the project.

# test-drive builds faster than pfunit
./config/intel_ubuntu_test_drive

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

You can build the documentation separately with

cmake --build build --target doxygen_docs 

References

About

Work in progress! (Intel MKL) Sparse BLAS CMake project with Fortran. Structure based on Modern CMake practices. Dependencies on optional unit tests as well as required external package FFTPACK for didactic purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published