PETSc 3.4.2 incompatibility

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
simonroth
Posts: 1
Joined: Tue Jun 05, 2012 10:16 am
Location: École de technologie Supérieure

PETSc 3.4.2 incompatibility

Post by simonroth »

I am compiling OpenSees with PETSc support and discovered that version 3.4.2 is not supported. I edited the code so that OpenSees would reflect the changes that occurred in PETSc version 3.4.2 (even version 3.3 must have these changes)

To name some of these changes:

rename KSPCHEBYCHEV to KSPCHEBYSHEV
MatDestroy(x) must be change to MatDestroy(&x)
VecCreateSeqWithArray has a new argument in the calling

However, there are still some changes to be made in order to compile OpenSees with PETSc support and as I do not commit the code I found that my efforts were useless.

Is there anyone maintaining the PETSc branch?

Best regards
Simon
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: PETSc 3.4.2 incompatibility

Post by fmk »

no one is actively looking after that code .. if your code compiles and runs we can incorporate it into the tree.
brag006
Posts: 173
Joined: Wed Feb 15, 2012 1:26 pm
Location: University of Auckland

Re: PETSc 3.4.2 incompatibility

Post by brag006 »

Up to what version is working?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: PETSc 3.4.2 incompatibility

Post by fmk »

sorry but i don't know! all i know is that it should be working for code at time of last code changes. this info you can find looking at source code on-line. then you would have to cross reference with PETSC.
Post Reply