Author Topic: Re: Parallel Feap Input Problem  (Read 4281 times)

TonggeWu

  • Jr. Member
  • **
  • Posts: 11
Re: Parallel Feap Input Problem
« on: March 16, 2018, 02:56:46 PM »
Running a parallel job requires the following steps.

1.  You must have a 'flat file' to start with (a file with no extra nodes or elements, so no tie commands).  If you have an input file with things like tie commands.  You can generate a flat file using the OUTMesh command.  I think the name will be Ithermal.rev.  If you input file is already flat, then you can skip this step.

2.  Run (serially) the version of FEAP in the parfeap directory using your flat file as input.  Execute the GRAPh,NODE,4 command followed by OUTDomains.  This will create for you 4 parallel input files Ithermal_0001, Itermal_0002, etc.

3.  Now run your problem in parallel using the version of FEAP in the parfeap directory.  For example mpirun -np 4 feap -ksp_type cg -pc_type jacobi -ksp_monitor -options_left .  When prompted for the input file use Ithermal_0001.  Note only the first process will ask for the input file name, the other processes get their file name from the first process.

Hi, Prof Govindjee:
I have a question, what if we are running parFEAP on cluster that there is no interactive mode?
Can we do the same thing as serial FEAP? (e.g. feap -iItestproblem)

Best,
Tongge

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Parallel Feap Input Problem
« Reply #1 on: March 16, 2018, 03:19:13 PM »
Flat files can be created using serial FEAP.
The graph partitioning needs to done using parallel FEAP, but you can do that running parallel FEAP as a serial code.  No mpirun is needed.