The build process tool of the project is Makefile. The following are the steps to successfully build and run the project:
-
Clone or download this repository and move to the folder project.
-
Download test files and unarchive them.
wget -i testFilesLink.txt -P testFiles
mv unzip.sh testFiles/
cd testFiles/
chmod +x unzip.sh
./unzip.sh
mv unzip.sh ..
cd ..
- If your device have python3 installed do this step and you have done otherwise go direct to the step four.
python3 run.py [folder that contains matrices.mtx][single matrix.mtx]
- if you got here it means you don't have python3 so let's do it by hand.
make
make install
- Run it on a single matrix.
./bin/sparse_matrix_transpose matrix.mtx
If you want to download others matrices you can find them here and to get them in the right format you have to click on Matrix Market button.