[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MatCreateMPIAIJWithArrays linker error
- To: petsc-users@xxxxxxxxxxx
- Subject: MatCreateMPIAIJWithArrays linker error
- From: "Vijay M" <vijay.m@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 12:22:07 -0600
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ayydNvNiSVechOoIDtx2qiwVMPv0yVPB2nPJWzokJ4MGVDsTp/pK/wGi0+N6YYy54n4QsUDUey6lupJaHF8BeXQIfZLyPkrbj4Eg4nvy3VFhgBev7SMgwrD9CnTXQ8GSEqIWSw5LuZ89ZGInJhZn6Awwc96+klEP556FeltrASg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bz60ZNMzemBCUXypStn7zNNX56Sx8zEo1LaqnMq8SenI55LBuytNiL45bP2WRVUYYH5ybCVk4odvY/OOf2od6xSnt8qLACgq8pGmpWcUh/NvPL3U/sSsgNT6gVd6TV2qB1vjCy4LvsHWJPRk+DBZTmjpr7RuuuY0ZFvgDRBHjLs=
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
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