Siddhesh,
That example was unfortunately not in the test suite and hence did not
work. Note that it is calling MatDenseRestoreArray() on the wrong matrix (A
when it should be on A_dense). I've attached a fixed version of the example
that should compile and run correctly for you (it does for me).
Sorry for the inconvenience
Barry
ex99.c
Description: Binary data
> On Dec 10, 2014, at 4:31 AM, siddhesh godbole <[email protected]> > wrote: > > Pardon me, > This is the full error message > > > [0]PETSC ERROR: --------------------- Error Message > -------------------------------------------------------------- > [0]PETSC ERROR: No support for this operation for this object type > [0]PETSC ERROR: Cannot locate function MatDenseRestoreArray_C in object > [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for > trouble shooting. > [0]PETSC ERROR: Petsc Release Version 3.5.2, Sep, 08, 2014 > [0]PETSC ERROR: ./8D on a arch-linux2-c-debug named iitm by iitm Wed Dec 10 > 15:48:03 2014 > [0]PETSC ERROR: Configure options --download-mpich --download-f2cblaslapack=1 > [0]PETSC ERROR: #1 MatDenseRestoreArray() line 1523 in > /home/iitm/Downloads/petsc-3.5.2/src/mat/impls/dense/seq/dense.c > [0]PETSC ERROR: #2 main() line 181 in /home/iitm/Desktop/project/8D.c > > > Siddhesh M Godbole > > 5th year Dual Degree, > Civil Eng & Applied Mech. > IIT Madras > > On Wed, Dec 10, 2014 at 3:59 PM, siddhesh godbole > <[email protected]> wrote: > hello, > > i was trying to modify ex99 in srs/mat/examples/test which deals with > LAPACKsygvx_ for eigenvalues and eigenvectors > > it compiles but gives the following error while executing the program > > > > [0]PETSC ERROR:Cannot locate function MatDenseRestoreArray_C in object > [0]PETSC ERROR: Configure options --download-mpich --download-f2cblaslapack=1 > [0]PETSC ERROR: #1 MatDenseRestoreArray() line 1523 in > /home/iitm/Downloads/petsc-3.5.2/src/mat/impls/dense/seq/dense.c > > can you please explain to me what are theses errors? > > Siddhesh M Godbole > > 5th year Dual Degree, > Civil Eng & Applied Mech. > IIT Madras >
