Running tests fail and visual studio configuration

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
dannnnn
Posts: 37
Joined: Tue Mar 03, 2015 3:41 pm

Re: Running tests fail and visual studio configuration

Post by dannnnn » Fri Mar 20, 2015 11:53 am

Thanks for your reply!

I have got a similar result as you, but not exactly the same. The difference is that I am using MAGMA1.6.1 and yours is 1.5.0. Can I think our different results is because of the version difference?

I would also like to know what is the difference between iterative residual and exact residual?

Below is my input and result:


Input:
--solver 5 --verbose 1 --format 0 --maxiter 1000 --mscale 0 --precond 1 LAPLACE2D 100

Result:
MAGMA 1.6.1 compiled for CUDA capability >= 2.0
CUDA runtime 6050, driver 6050. OpenMP threads 8. MKL 11.2.2, MKL threads 4.
ndevices 1
device 0: GeForce GTX 980, 1342.0 MHz clock, 4096.0 MB memory, capability 5.2
Usage: C:\Users\Administrator\Documents\Visual Studio 2010\Projects\magma_test\x64\Debug\magmaTest.exe [options] [-h|--help] matrices


# matrix info: 10000-by-10000 with 49798 nonzeros

#=============================================================#
# Jacobi-BiCGStab performance analysis every 1 iteration
# iter || residual-nrm2 || runtime
#=============================================================#
0 || 2.019901e+001 || 0.000000
1 || 8.577538e+000 || 0.001000
10 || 8.564695e-001 || 0.007005
20 || 3.520037e-001 || 0.014010
30 || 2.096109e-001 || 0.021015
40 || 1.460718e-001 || 0.028020
50 || 1.115354e-001 || 0.035024
60 || 9.925099e-002 || 0.042029
70 || 7.840752e-002 || 0.049034
80 || 1.865104e-002 || 0.056039
90 || 7.788853e-003 || 0.063044
100 || 1.733566e-003 || 0.069048
110 || 2.509952e-004 || 0.076053
120 || 6.667129e-005 || 0.083058
130 || 9.127845e-006 || 0.090063
140 || 1.783402e-006 || 0.097068
150 || 3.953596e-008 || 0.104073
160 || 1.319496e-009 || 0.111078
170 || 5.868233e-011 || 0.119084
180 || 2.711904e-012 || 0.126088
190 || 3.465138e-014 || 0.133094
191 || 3.694759e-014 || 0.134094
192 || 1.636483e-014 || 0.135095
#=============================================================#
# BiCGStab solver summary:
# initial residual: 2.019901e+001
# iterations: 192
# iterative residual: 1.636483e-014
# exact final residual: 2.743200e-013
# runtime: 0.1351 sec
# solver info: 0
#=============================================================#



I also run the solver with NON SPD matrix bayer10.mtx with input:
--solver 5 --verbose 1 --format 0 --maxiter 1000 --mscale 0 --precond 2 bayer10.mtx

I got result:
MAGMA 1.6.1 compiled for CUDA capability >= 2.0
CUDA runtime 6050, driver 6050. OpenMP threads 8. MKL 11.2.2, MKL threads 4.
ndevices 1
device 0: GeForce GTX 980, 1342.0 MHz clock, 4096.0 MB memory, capability 5.2
Usage: C:\Users\Administrator\Documents\Visual Studio 2010\Projects\magma_test\x64\Debug\magmaTest.exe [options] [-h|--help] matrices

# Reading sparse matrix from file (bayer10.mtx): done

# matrix info: 13436-by-13436 with 71594 nonzeros

Operator A is not postive definite. (Ar,r) = -300187585.639264
#=============================================================#
# ILU-BiCGStab performance analysis every 1 iteration
# iter || residual-nrm2 || runtime
#=============================================================#
0 || -6.277439e+066 || -6277438562204192500000000000000000000000000000000000000000000000000.000000
#=============================================================#
# BiCGStab solver summary:
# initial residual: 6.478288e+003
# iterations: 0
# iterative residual: -9.255963e+061
# exact final residual: -9.255963e+061
# runtime: -92559631349317831000000000000000000000000000000000000000000000.0000 sec
# solver info: 0
#=============================================================#

The solver infor==0 which indicates it runs succesfully, but other measurements seems not correct and it gave warning the matrix is not positive definite. I would like to know whether there is anything wrong with my usage of this solver?
The matrix property can be view via this link: http://www.cise.ufl.edu/research/sparse ... yer10.html
I have attached the matrix.
Attachments
bayer10.txt
(2.15 MiB) Downloaded 125 times

Post Reply