Go to the source code of this file.
Data Structures | |
struct | MPI::t_MPI |
Namespaces | |
namespace | MPI |
Defines | |
#define | Barrier() total_insanity() |
#define | Bcast(W, X, Y, Z) 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 *) |
Variables | |
EXTERN struct MPI::t_MPI | MPI::COMM_WORLD |
#define Barrier | ( | ) | total_insanity() |
Definition at line 136 of file mpi_utilities.h.
#define Bcast | ( | W, | |||
X, | |||||
Y, | |||||
Z | ) | total_insanity() |
Definition at line 137 of file mpi_utilities.h.
#define Reduce | ( | U, | |||
V, | |||||
W, | |||||
X, | |||||
Y, | |||||
Z | ) | total_insanity() |
Definition at line 138 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 129 of file mpi_utilities.cpp.
References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, and open_data().
Referenced by optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_process_output(), and process_output().
string GridPointPrefix | ( | int | n | ) | [inline] |
GridPointPrefix: generate filename prefix for any files associated with a single point in a grid
Definition at line 143 of file mpi_utilities.h.
Referenced by main(), ParseSave(), process_output(), and vary_input().
void process_output | ( | ) |
process_output: concatenate output files produced in MPI grid run
Definition at line 36 of file mpi_utilities.cpp.
References append_file(), AS_LOCAL_ONLY, AS_LOCAL_ONLY_TRY, ASSERT, 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().