Skip to content

vincentLiangBerkeley/SparkSparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SparkSparse

A temporary sparse utility repository for research purpose.

Just finished the classes, and below is the testing/running method.

##Main test class(Object): Test

There are three possible parameters to specify:

  1. numTests:Int -> The number of multiplications used to test each format, default is 20.

  2. matrixName: String -> The name of the matrix(i.e "cry2500.mtx") that is in "./matrices/", default is "cry2500.mtx".

  3. graphTest: Boolean -> Flag for whether the graphMatrix format will be tested, default is false

Sample runningscript:

$SPARK_HOME/bin/spark-submit --class "Test" \

--master local[4] \

target/scala-2.10/sparsematrix_2.10-1.0.jar \

40 "af23560.mtx"

The above script will run 20 multiplications on "af23560.mtx" without testing the graph format.

$SPARK_HOME should be your directory with spark installed.

About

A temporary sparse utility repository for research purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors