cloudy trunk
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Functions
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
 
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 *)
 

Macro Definition Documentation

◆ Barrier

#define Barrier ( )    total_insanity()

Definition at line 85 of file mpi_utilities.h.

◆ Bcast

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

Definition at line 86 of file mpi_utilities.h.

◆ Finalize

#define Finalize ( )    COMM_WORLD.total_insanity()

Definition at line 87 of file mpi_utilities.h.

◆ Get_rank

#define Get_rank ( )    total_insanity()

Definition at line 89 of file mpi_utilities.h.

◆ Get_size

#define Get_size ( )    total_insanity()

Definition at line 88 of file mpi_utilities.h.

◆ Init

#define Init (   Y,
 
)    COMM_WORLD.total_insanity()

Definition at line 90 of file mpi_utilities.h.

◆ Reduce

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

Definition at line 91 of file mpi_utilities.h.

Function Documentation

◆ append_file()

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

Here is the call graph for this function:

◆ GridPointPrefix()

string GridPointPrefix ( int  n)
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().

◆ process_output()

void process_output ( )