Skip to content
README.md 1.33 KiB
Newer Older
kadir-hpi7's avatar
kadir-hpi7 committed
=======
README
=======
- 1. Code sample name
mklspgemm

- 2. Description of the code sample package
mklspgemm code performs multiplication of two sparse matrices using MKL's routine mkl_dcsrmultcsr() on a multicore processor.

MKL library is required.

This is one of the code sample from the PRACE CodeVault. You can find more code samples available for download from the PRACE CodeVault here: https://gitlab.com/PRACE-4IP/CodeVault 

- 3. Release date
26 January 2016

- 4. Version history 
1.0: initial version

- 5. Contributor (s) / Maintainer(s) 
Kadir Akbudak <kadir.cs@gmail.com>

- 6. Copyright / License of the code sample
Apache 2.0

- 7. Language(s) 
C

- 8. Parallelisation Implementation(s)
Parallelism is provided by MKL.

- 9. Level of the code sample complexity 
new starts

- 10. Instructions on how to compile the code
cmake .
make

- 11. Instructions on how to run the code
./mklspgemm test.mtx test.mtx out.mtx 2 PRINT_YES
1. ./mklspgemm : Executable
2. test.mtx  : First input matrix
3. test.mtx  : Second input matrix
4. out.mtx   : Output matrix
5. 2         : Number of threads
6. PRINT_YES : Print matrices to stdout

- 12. Sample input(s)
test.mtx contains a small square matrix in Matrix Market format [1]

- 13. Sample output(s)
Prints timing information to output.

REFERENCES:
[1] http://math.nist.gov/MatrixMarket/formats.html