|
cloudy trunk
|

Go to the source code of this file.
Data Structures | |
| struct | MPI::t_MPI |
| class | load_balance |
Namespaces | |
| namespace | MPI |
Macros | |
| #define | Barrier() total_insanity() |
| #define | Bcast(W, X, Y, Z) total_insanity() |
| #define | Finalize() COMM_WORLD.total_insanity() |
| #define | Get_size() total_insanity() |
| #define | Get_rank() total_insanity() |
| #define | Init(Y, Z) COMM_WORLD.total_insanity() |
| #define | Reduce(U, V, W, X, Y, Z) total_insanity() |
Functions | |
| string | GridPointPrefix (int n) |
| void | process_output () |
| void | append_file (FILE *, const char *) |
| #define Barrier | ( | ) | total_insanity() |
Definition at line 85 of file mpi_utilities.h.
| #define Bcast | ( | W, | |
| X, | |||
| Y, | |||
| Z | |||
| ) | total_insanity() |
Definition at line 86 of file mpi_utilities.h.
| #define Finalize | ( | ) | COMM_WORLD.total_insanity() |
Definition at line 87 of file mpi_utilities.h.
| #define Get_rank | ( | ) | total_insanity() |
Definition at line 89 of file mpi_utilities.h.
| #define Get_size | ( | ) | total_insanity() |
Definition at line 88 of file mpi_utilities.h.
| #define Init | ( | Y, | |
| Z | |||
| ) | COMM_WORLD.total_insanity() |
Definition at line 90 of file mpi_utilities.h.
| #define Reduce | ( | U, | |
| V, | |||
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | total_insanity() |
Definition at line 91 of file mpi_utilities.h.
| void append_file | ( | FILE * | dest, |
| const char * | source | ||
| ) |
append_file: append output produced on file <source> to open file descriptor <dest>
Definition at line 218 of file mpi_utilities.cpp.
References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, open_data(), and source.
Referenced by optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_process_output(), and process_output().

|
inline |
GridPointPrefix: generate filename prefix for any files associated with a single point in a grid
Definition at line 150 of file mpi_utilities.h.
Referenced by check_grid_file(), main(), process_output(), and vary_input().
| void process_output | ( | ) |
process_output: concatenate output files produced in MPI grid run
Definition at line 55 of file mpi_utilities.cpp.
References append_file(), AS_LOCAL_ONLY, AS_LOCAL_ONLY_TRY, ASSERT, check_grid_file(), t_save::chFilenamePrefix, t_save::chRedirectPrefix, DEBUG_ENTRY, t_save::FITStype, grid, GridPointPrefix(), ioQQQ, t_save::lgSaveToSeparateFiles, mode_r, t_save::nsave, NUM_OUTPUT_TYPES, open_data(), save, saveFITSfile(), t_grid::totNumModels, and toupper().
Referenced by main().
