Dear Sir ,
I am trying to build GPU enabled solver for OpenSees using CuSP library for linux cluster. I have created library for solvers (such as CG,GMRES etc) which is CuspSolver.so which has a function
int cuspsolver(double *Aptr, double *B, double *X,int size,int nnz,int *rowStartA, int *colA,int maxInteration,double relTolerance,int preCond,int solver)
but when I am passing values to it from CuspSolver.cpp which implements the SparceGenRow.cpp values for Aptr are not proper (Aptr has some zero values) can you plz guide me how I can get origional A matrix instead of compressed format. If possible let me know if Aptr in SparseGenRow.cpp is a sparse 2d or compressed 1d matrix and if it is a compressed matrix from which class I can get origional sparse matrix
Need direction for implementing GPU enabled OpenSEES
Moderators: silvia, selimgunay, Moderators
Re: Need direction for implementing GPU enabled OpenSEES
the sparsity of the matrix is determined by the element connectivity .. some values maybe 0 initially .. it should not matter to the solver .. you cannotget the original A matrix from the SOE class you are using, you would need to write your own or use FullGeneral.
Re: Need direction for implementing GPU enabled OpenSEES
Thanks for your reply.
One more query I have In which class the solver Tags defined in SRC/classTags.h are refered (ex ...SOLVER_TAGS_SymSparseLinSolver)
One more query I have In which class the solver Tags defined in SRC/classTags.h are refered (ex ...SOLVER_TAGS_SymSparseLinSolver)