Difference between revisions of "PHASTA/Reduce Restart and Geombc Files"

From PHASTA Wiki
Jump to: navigation, search
Line 9: Line 9:
  
  
== Reduction from M to N in // for phasta files initially partitioned with NSpre_parallel ==
+
== Reduction from M to N parts in // for phasta files initially partitioned with NSpre_parallel ==
 +
 
 +
* Prerequisite:
 +
  * 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 needs to be generated by phParAdapt-SCOREC through the variable "" and "" in adapt.inp

Revision as of 12:48, 29 August 2013

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

  • Prerequisite:
 * 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 needs to be generated by phParAdapt-SCOREC through the variable "" and "" in adapt.inp