Author Topic: PETSc 3.5.3 Changes  (Read 4866 times)

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
PETSc 3.5.3 Changes
« on: May 05, 2015, 09:33:58 PM »
If you are using version 8.4 and would like to employ PETSc 3.5.3, you need to edit parfeap/usolve.F to change

Code: [Select]
           call KSPSetOperators  (kspsol, Kmat, Kmat,
   &                             DIFFERENT_NONZERO_PATTERN  ,ierr)

to

Code: [Select]
           call KSPSetOperators  (kspsol, Kmat, Kmat, ierr)

36051121

  • Jr. Member
  • **
  • Posts: 32
Re: PETSc 3.5.3 Changes
« Reply #1 on: August 06, 2015, 02:16:05 AM »
I also tried PETSc 3.6. The path for /conf/variables and /conf/rules is different from that give in the makefile of parfeap. Also the path for /finclude of PETSc is also changed. So it should be careful to modify the makefile of parfeap, in order to compiling PETSc successfully.