[petsc-dev] MATOP_SHIFT Fortran

Matthew Knepley knepley at gmail.com
Mon Aug 8 13:12:10 CDT 2011


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.

   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
>
> -----------------------------------------------------------------------------
>
>
>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110808/66ec55cd/attachment.html>


More information about the petsc-dev mailing list