Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mpi_utilities.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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
 

Enumerations

enum  MPI_state { MS_DEFAULT, MS_GRID, MS_POST_GRID }
 

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

Referenced by main().

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

Referenced by main().

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

Referenced by open_data().

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

Referenced by append_file().

#define MPI_Finalize ( )    TotalInsanityAsStub<int>()

Referenced by main().

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

Referenced by main().

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

Typedef Documentation

typedef void* MPI_File
typedef long MPI_Offset
typedef long MPI_Status

Enumeration Type Documentation

enum MPI_state
Enumerator
MS_DEFAULT 
MS_GRID 
MS_POST_GRID 

Function Documentation

void append_file ( FILE *  dest,
const char *  source 
)

append_file: append output produced on file <source> to open file descriptor <dest>

References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, NULL, 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

References AS_LOCAL_ONLY_TRY, DEBUG_ENTRY, MPI_File_write, NULL, 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

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

int total_insanity ( MPI_File  ,
int  ,
MPI_Status  
)

Variable Documentation

int MPI_ERR_INTERN

Referenced by open_data().

MPI_File MPI_FILE_NULL
int mpi_mode_a
int mpi_mode_r

Referenced by open_data().

int mpi_mode_w
int MPI_SUCCESS

Referenced by open_data().