Search found 9 matches

by Ólafur
Wed Jan 31, 2018 7:55 am
Forum: User discussion
Topic: Solver parameters for eigenvalue routines
Replies: 7
Views: 1958

Re: Solver parameters for eigenvalue routines

I've tried calling zlobpcg directly, but I get a 'cusparse: not initialized' error. I've tried running the conjugategradient example provided in CUDA for testing cuSparse and that works, and simply including cusparse.h does not work Code: //Compiles with the corresponding makefile. //Takes in the 3 ...
by Ólafur
Fri Jan 26, 2018 8:58 am
Forum: User discussion
Topic: cuSparse: not initialized
Replies: 0
Views: 520

cuSparse: not initialized

I've been trying to use Magma for spectral analysis of a sparse matrix but I'm having trouble Code //Compiles with the corresponding makefile. //Takes in the 3 vectors of CSR format, creates MAGMA format sparse matrix, returns its spectrum. #include <stdlib.h> #include <stdio.h> #include <string.h> ...
by Ólafur
Mon Nov 06, 2017 7:25 am
Forum: User discussion
Topic: Sparse RHS not yet supported
Replies: 0
Views: 694

Sparse RHS not yet supported

Hey I've been working on spectral analysis problem with a huge Hermitian matrix. But when I call the magma_z_solver I get an error saying that sparse RHS is not yet supported. If I try making it dense it returns an error saying it's expecting a magma_z_matrix format RHS. I thought that magma_z_matri...
by Ólafur
Mon Oct 09, 2017 7:01 am
Forum: User discussion
Topic: Solver parameters for eigenvalue routines
Replies: 7
Views: 1958

Re: Solver parameters for eigenvalue routines

Thanks for the help so far, I'm still having some trouble and need some clarification. The code I have so far (which I've pasted at the bottom of this reply), which is based on examples provided with the installation, has a seg fault which I'd like some help resolving. I've located the error at the ...
by Ólafur
Sun Oct 01, 2017 6:10 pm
Forum: User discussion
Topic: Solver parameters for eigenvalue routines
Replies: 7
Views: 1958

Re: Solver parameters for eigenvalue routines

I'm looking for the specifics of the solver parameters, the corresponding section in example_sparse.c is // Choose a solver, preconditioner, etc. - see documentation for options. opts.solver_par.solver = Magma_PIDRMERGE; opts.solver_par.restart = 8; opts.solver_par.maxiter = 1000; opts.solver_par.rt...
by Ólafur
Sat Sep 30, 2017 2:07 pm
Forum: User discussion
Topic: Solver parameters for eigenvalue routines
Replies: 7
Views: 1958

Solver parameters for eigenvalue routines

I'm writing C code to solve a sparse, hermitian eigenvalue problem. I'm working from the provided 'example_sparse.c' which shows how to use routines for solving Ax=b. At the part where a solver and preconditioner are chosen the author comments, alluding to some mysterious 'documentation' which I hav...
by Ólafur
Tue Aug 22, 2017 11:44 am
Forum: User discussion
Topic: Sparse matrix eigenvalues in fortran
Replies: 1
Views: 676

Sparse matrix eigenvalues in fortran

Hey all I've been trying to leverage some new GPUs for a micromagnetics project and I'm currently looking into the 'magma_zlobpcg' routine which looks promising. The project's main computation is repeated calculation of eigenvalues for a large finite element Hamiltonian alternated with modifying sai...
by Ólafur
Wed Jul 26, 2017 12:10 pm
Forum: User discussion
Topic: How bad is an erroneous isntallation?
Replies: 2
Views: 829

Re: How bad is an erroneous isntallation?

Thanks Mark.
by Ólafur
Tue Jul 25, 2017 9:42 am
Forum: User discussion
Topic: How bad is an erroneous isntallation?
Replies: 2
Views: 829

How bad is an erroneous isntallation?

Hello all I am currently looking into installing the MAGMA library on a server but I'd like to know how much effort it would take to fix a botched installation (wrong settings in the make file etc.). I just wanted to make sure that if I screwed up the install it wouldn't require server admin interve...