[petsc-dev] MATOP_SHIFT Fortran

Satish Balay balay at mcs.anl.gov
Mon Aug 8 13:28:41 CDT 2011


On Mon, 8 Aug 2011, Matthew Knepley wrote:

> On Mon, Aug 8, 2011 at 6:05 PM, Ben Jamroz <jamroz at txcorp.com> wrote:
> 
> > Hi all,
> >
> > I'm using PETSc through SLEPc to solve an eigenvalue problem using a
> > MatShell and would like to set the MATOP_SHIFT operation for the shell
> > matrix. In C, this works just fine. However, in Fortran I get runtime errors
> > caused by
> >
> > matshellsetoperation_
> >
> > in src/mat/impls/shell/ftn-custom/zshellf.c since MATOP_SHIFT is not listed
> > there as an allowed operation. Can this operation be added?
> >
> 
> Its there in petsc-dev. We have an upcoming release, so it should not be a
> long wait, and I recommend using dev anyway.

MATOP_SHIFT was missing in petsc-dev's matshellsetoperation_() - Its added now.

Satish


> 
>    Matt
> 
> 
> > Thanks,
> > Ben Jamroz
> >
> >
> >
> > -----------------------------------------------------------------------------
> > Ben Jamroz
> > Tech-X Corporation                         jamroz at txcorp.com
> > 5621 Arapahoe Ave, Suite A         Phone: (720) 974-1853
> > Boulder, CO 80303                       Fax: (303) 448-7756
> >
> > -----------------------------------------------------------------------------
> >
> >
> >
> >
> >
> 
> 
> 




More information about the petsc-dev mailing list