Author Topic: Solve tang,,1 with single processor when using PETSc  (Read 8803 times)

Arthur

  • New Member
  • *
  • Posts: 4
Solve tang,,1 with single processor when using PETSc
« on: October 10, 2013, 07:54:49 PM »
Hi Everyone,

I'm trying to do some comparisons above parallel solvers using perfeap and PETSc. It works well when using 2 or more processors. But when I input following commands, it failed. Is there any method to solve contact problem (penalty method) with single processor when using PETSc? Thanks.

batch
graph node 1
outdomains
end

mpiexec -n 1 ./feap


Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1164
Re: Solve tang,,1 with single processor when using PETSc
« Reply #1 on: October 13, 2013, 11:29:23 AM »
Your partitioning is fine.  When you run the code make sure that it references the "partitioned" Ixxxx_0001 as the input file and not you unpartitioned Ixxxx.

Arthur

  • New Member
  • *
  • Posts: 4
Re: Solve tang,,1 with single processor when using PETSc
« Reply #2 on: October 15, 2013, 06:32:16 AM »
Thank you, Prof. S. Govindjee. I tried to use Ixxxx_0001 as input file, it worked. But when I used same method to solve contact problem(penalty method), it reported plenty of " [ 0 ] PETSC ERROR: ***" before solving "tang,,1". The version of FEAP 8.4 I'm using is an unreleased version (June 4). I don't know if it's the reason.

Your partitioning is fine.  When you run the code make sure that it references the "partitioned" Ixxxx_0001 as the input file and not you unpartitioned Ixxxx.