cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Macros | Typedefs | Functions | Variables
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

class  load_balance
 

Macros

#define MPI_Barrier(Z)   TotalInsanityAsStub<int>()
 
#define MPI_Bcast(V, W, X, Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_Finalize()   TotalInsanityAsStub<int>()
 
#define MPI_Comm_size(Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_Comm_rank(Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_Init(Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_Reduce(T, U, V, W, X, Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_File_open(V, W, X, Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_File_set_view(U, V, W, X, Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_File_get_size(Y, Z)   TotalInsanityAsStub<int>()
 
#define MPI_File_write(V, W, X, Y, Z)   total_insanity(V,X,Z)
 
#define MPI_File_close(Z)   TotalInsanityAsStub<int>()
 

Typedefs

typedef long MPI_Offset
 
typedef long MPI_Status
 
typedef void * MPI_File
 

Functions

int total_insanity (MPI_File, int, MPI_Status *)
 
string GridPointPrefix (int n)
 
void process_output ()
 
void append_file (FILE *, const char *)
 
void append_file (MPI_File, const char *)
 

Variables

int MPI_SUCCESS
 
int MPI_ERR_INTERN
 
MPI_File MPI_FILE_NULL
 
int mpi_mode_r
 
int mpi_mode_w
 
int mpi_mode_a
 

Macro Definition Documentation

#define MPI_Barrier (   Z)    TotalInsanityAsStub<int>()
#define MPI_Bcast (   V,
  W,
  X,
  Y,
 
)    TotalInsanityAsStub<int>()
#define MPI_Comm_rank (   Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 88 of file mpi_utilities.h.

Referenced by main().

#define MPI_Comm_size (   Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 87 of file mpi_utilities.h.

Referenced by main().

#define MPI_File_close (   Z)    TotalInsanityAsStub<int>()

Definition at line 95 of file mpi_utilities.h.

Referenced by GridGatherOutputParallel().

#define MPI_File_get_size (   Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 93 of file mpi_utilities.h.

Referenced by GridGatherOutputParallel().

#define MPI_File_open (   V,
  W,
  X,
  Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 91 of file mpi_utilities.h.

Referenced by open_data().

#define MPI_File_set_view (   U,
  V,
  W,
  X,
  Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 92 of file mpi_utilities.h.

Referenced by GridGatherOutputParallel().

#define MPI_File_write (   V,
  W,
  X,
  Y,
 
)    total_insanity(V,X,Z)

Definition at line 94 of file mpi_utilities.h.

Referenced by append_file().

#define MPI_Finalize ( )    TotalInsanityAsStub<int>()

Definition at line 86 of file mpi_utilities.h.

Referenced by main().

#define MPI_Init (   Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 89 of file mpi_utilities.h.

Referenced by main().

#define MPI_Reduce (   T,
  U,
  V,
  W,
  X,
  Y,
 
)    TotalInsanityAsStub<int>()

Definition at line 90 of file mpi_utilities.h.

Typedef Documentation

typedef void* MPI_File

Definition at line 74 of file mpi_utilities.h.

typedef long MPI_Offset

Definition at line 72 of file mpi_utilities.h.

typedef long MPI_Status

Definition at line 73 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 417 of file mpi_utilities.cpp.

References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, and open_data().

Referenced by GridGatherOutputParallel(), GridGatherOutputSequential(), optimize_phymir(), phymir_state< X, Y, NP, NSTR >::p_process_output(), and process_output().

Here is the call graph for this function:

void append_file ( MPI_File  dest,
const char *  source 
)

append_file: append output produced on file <source> to open file handle <dest> using MPI I/O

Definition at line 441 of file mpi_utilities.cpp.

References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, MPI_File_write, and open_data().

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 154 of file mpi_utilities.h.

Referenced by check_grid_file(), GridGatherOutputParallel(), GridGatherOutputSequential(), main(), process_output(), SaveGrid(), and vary_input().

void process_output ( )
int total_insanity ( MPI_File  ,
int  ,
MPI_Status  
)

Definition at line 48 of file mpi_utilities.cpp.

Variable Documentation

int MPI_ERR_INTERN

Definition at line 45 of file mpi_utilities.cpp.

Referenced by open_data().

MPI_File MPI_FILE_NULL

Definition at line 46 of file mpi_utilities.cpp.

Referenced by GridGatherOutputParallel(), and open_data().

int mpi_mode_a

Definition at line 57 of file mpi_utilities.cpp.

Referenced by GridGatherOutputParallel().

int mpi_mode_r

Definition at line 55 of file mpi_utilities.cpp.

Referenced by open_data().

int mpi_mode_w

Definition at line 56 of file mpi_utilities.cpp.

int MPI_SUCCESS

Definition at line 44 of file mpi_utilities.cpp.

Referenced by open_data().