MatCreateMPIAIJWithArrays linker error

Vijay M vijay.m at gmail.com
Tue Jun 12 17:14:34 CDT 2007


Barry,

I am currently using 2.3.1. I will upgrade to 2.3.3 and let you know
if i still have problems. Thanks for the help.

Vijay

On 6/12/07, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>   What version of PETSc are you using? It it is not in 2.3.1 or earlier
> versions. You may need to upgrade to 2.3.3
>
>    Barry
>
> If you are using 2.3.2 or later please send the make_log* file
> from your petsc directory so we check for compiler errors
>
>
> On Tue, 12 Jun 2007, Vijay M wrote:
>
> > Hi,
> >
> > I am trying to convert a serial code in fortran 90 to a parallel one
> > using PETSc data structures. One of the ways i am trying to achieve
> > the same is to use the serial code to create my matrices and then set
> > PETSc mat values by passing in the arrays. When i used a single
> > processor with MatCreateSeqAIJWithArrays, things worked just fine. But
> > when i converted to MatCreateMPIAIJWithArrays, to create a parallel
> > matrix that is distributed across different processors, i get a linker
> > error saying that it could find the implementation for the function.
> >
> > Is there any specific library i should be including other than petsc,
> > petscmat, petscksp, petscvec and petscfortran for this to work ?
> > Thanks for any help in advance !
> >
> > Vijay
> >
> >
>
>




More information about the petsc-users mailing list