/home66/gary/public_html/cloudy/c10_branch/source/mpi_utilities.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

 
#define Barrier (  )     total_insanity()

Definition at line 136 of file mpi_utilities.h.

#define Bcast ( W,
X,
Y,
 )     total_insanity()

Definition at line 137 of file mpi_utilities.h.

#define Reduce ( U,
V,
W,
X,
Y,
 )     total_insanity()

Definition at line 138 of file mpi_utilities.h.


Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1