PHASTA/Reduce Restart and Geombc Files

From PHASTA Wiki
Revision as of 12:57, 29 August 2013 by Mrasquin (talk | contribs)
Jump to: navigation, search

Reduction from M parts to 1 part in serial for phasta files initially partitioned with NSpre_parallel

  • cd to the procs_case directory that contains the files you want to reduce
  • Run the executable:
  ~mrasquin/develop/phasta/phPost/phPost/bin/x86_64_linux-icc/reduce-openmpi-O -sn

where sn is the time step number. For example, the restart files corresponding to time step 5 would be restart.5.* and geombc.dat.* .

  • The reduce operation will generate restart.##.0 in the procs_case directory, where ## stands for the step number you have reduced.
  • restart.##.0, combined with geombc.dat.1 (which contains the boundary conditions for all the parts - it is created when you run NSPre_Parasolid), are what you need to see the solution on 1 part.


Reduction from M to N parts in // for phasta files initially partitioned with NSpre_parallel

  • Prerequisites:

The tool described in this section apply to phasta files initially partitioned with phParAdapt-SCOREC. We consider here that M parts were generated from N parts with M>N (M is usually a multiple of N). A vertex mapping between the M parts and N parts needs to be generated by phParAdapt-SCOREC through the variable "buildMapping 1" in adapt.inp.

  • M to N reduction

Download the M2N and M2NFixBdn packages from

 git clone ssh://username@jumpgate-phasta.colorado.edu/users/mrasquin/develop-FlowControl-SyncIO-Cmake/phasta/M2N  
 git clone ssh://username@jumpgate-phasta.colorado.edu/users/mrasquin/develop-FlowControl-SyncIO-Cmake/phasta/M2NFixBnd