Skip to content

lixueclaire/Parallel-SVD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallel SVD Using Jacobis Rotations

Parallel SVD using jacobis rotations, implemented in OpenMP.

generate M*N matrix

	python randomMatrix.py M N

M = # of columns
N = # of Rows
Matrix must be squared (M=N)

serial algorithm

	g++ SVD.cpp -o svd
	./svd M N -t -d

-t = print out Timing and # of Iterations
-p = print out Results (U, S, V)
-d = Generate the Octave files for debug and verify correctness

parallel algorithm

	mpic++ -fopenmp OMP_SVD.cpp -o omp_svd
	mpiexec -n 2 ./omp_svd M N -t -d

validate if the result is right

	g++ Validation.cpp -o validation
	./validation

About

parallel SVD algorithm (Jacobis Rotations) using OpenMP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published