Author Topic: PARTition command for parallel jobs  (Read 10331 times)

Markus

  • New Member
  • *
  • Posts: 9
PARTition command for parallel jobs
« on: July 12, 2012, 10:56:08 PM »
Hello,

I am trying to calculate a coupled system of four degress of freedom in a parallel FEAP/PETSc run. The job converged very well while running in serial and using the PARTition command to apply a staggered scheme. How can I use this command in a parallel run? To simply write the PARTition table in the solve.file seems not to work. Is it in principle possible or do I have to look for a similar option of the solver I am using?

Thank you,
Markus

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: PARTition command for parallel jobs
« Reply #1 on: July 12, 2012, 11:43:40 PM »
Markus,
  I do not believe that partitions were ever implemented in parFEAP.   I think you may have to do a little bit of programming to get this to work properly in parallel.  The basic issue is that each equation partition (to be differentiated from domain decomposition partition) needs to have its own parallel stiffness matrix and RHS.  This can probably be programmed without too much effort but before doing so, you should have a careful look at the source to see how PARTitions are handled.

Colin McAuliffe

  • Jr. Member
  • **
  • Posts: 21
Re: PARTition command for parallel jobs
« Reply #2 on: July 13, 2012, 03:48:48 PM »
You also may want to look at petsc field split preconditioner PCFIELDSPLIT

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCFIELDSPLIT.html

This allows you to partiton the Jacobian and solve each block separately, I think you could be able to use it to do what PARTition does.

Markus

  • New Member
  • *
  • Posts: 9
Re: PARTition command for parallel jobs
« Reply #3 on: July 15, 2012, 11:17:19 PM »
Thanks a lot, this seems to be exactly what I have been looking for.