CG with Block Jacobi preconditioner on CULA S5

General CULA Sparse support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

CG with Block Jacobi preconditioner on CULA S5

Postby omidkar » Wed May 22, 2013 9:06 pm

Hi,

I need to use the preconditioned CG with block Jacobi preconditioner using CULA.
Unfortunately, I am getting a weird error upon building the problem:

"
error C2065: 'culaSparseBlockOptions' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'precondOpts'
error C2065: 'precondOpts' : undeclared identifier
error C2065: 'precondOpts' : undeclared identifier
error C2065: 'precondOpts' : undeclared identifier
error C3861: 'culaSparseCudaDcooCgBlockjacobi': identifier not found
"
no similar error occurs when using CG alone, or with other preconditioners supplied by CULA.
I am using CULA s5, with CUDA 5.0 on a Tesla K20.

Can anybody please help me with this issue?

Many thanks,

Omid
omidkar
 
Posts: 2
Joined: Wed Jan 23, 2013 5:35 pm

Re: CG with Block Jacobi preconditioner on CULA S5

Postby john » Thu May 23, 2013 6:02 am

You can get the exact details on the structs from the cula_sparse_types.h header:
Code: Select all
typedef struct {
    /// Size of the square diagonal blocks
    int blockSize;
} culaSparseBlockjacobiOptions;
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm


Return to CULA Sparse Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron