Difference between revisions of "PHASTA/Reduce Restart and Geombc Files"
From PHASTA Wiki
Line 1: | Line 1: | ||
− | == Reduction from M to 1 in serial for phasta files partitioned with NSpre_parallel == | + | == 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 | *cd to the procs_case directory that contains the files you want to reduce | ||
*Run the executable: | *Run the executable: | ||
Line 8: | Line 7: | ||
*The reduce operation will generate restart.##.0 in the procs_case directory, where ## stands for the step number you have reduced. | *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. | *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 in // for phasta files initially partitioned with NSpre_parallel == |
Revision as of 12:43, 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.