MatCreateMPIAIJWithArrays linker error
Barry Smith
bsmith at mcs.anl.gov
Tue Jun 12 16:53:38 CDT 2007
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