| 
    Cloudy
    
   Spectral Synthesis Code for Astrophysics 
   | 
 

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 | 
| #define MPI_Barrier | ( | Z | ) | TotalInsanityAsStub<int>() | 
Referenced by load_balance::finalize(), main(), and phymir_state< X, Y, NP, NSTR >::p_barrier().
| #define MPI_Bcast | ( | V, | |
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by GridGatherOutputParallel(), load_balance::init(), main(), and phymir_state< X, Y, NP, NSTR >::p_barrier().
| #define MPI_Comm_rank | ( | Y, | |
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by main().
| #define MPI_Comm_size | ( | Y, | |
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by main().
| #define MPI_File_close | ( | Z | ) | TotalInsanityAsStub<int>() | 
Referenced by GridGatherOutputParallel().
| #define MPI_File_get_size | ( | Y, | |
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by GridGatherOutputParallel().
| #define MPI_File_open | ( | V, | |
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by open_data().
| #define MPI_File_set_view | ( | U, | |
| V, | |||
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by GridGatherOutputParallel().
| #define MPI_File_write | ( | V, | |
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | total_insanity(V,X,Z) | 
Referenced by append_file().
| #define MPI_Finalize | ( | ) | TotalInsanityAsStub<int>() | 
Referenced by main().
| #define MPI_Init | ( | Y, | |
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
Referenced by main().
| #define MPI_Reduce | ( | T, | |
| U, | |||
| V, | |||
| W, | |||
| X, | |||
| Y, | |||
| Z | |||
| ) | TotalInsanityAsStub<int>() | 
| typedef void* MPI_File | 
| typedef long MPI_Offset | 
| typedef long MPI_Status | 
| enum MPI_state | 
| 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().

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

      
  | 
  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().
| void process_output | ( | ) | 
process_output: concatenate output files produced in MPI grid run
process_output: concatenate output files produced in grid run
References append_file(), ASSERT, check_grid_file(), t_save::chFileName, t_save::chFilenamePrefix, t_save::chRedirectPrefix, cpu, DEBUG_ENTRY, t_save::FITStype, fix_grid_file(), fprintf(), grid, GridGatherOutput(), GridPointPrefix(), t_cpu::i(), ioQQQ, ipPun, t_grid::lgKeepMainOutputSeparate, t_cpu_i::lgMaster(), t_cpu_i::lgMPI(), t_save::lgSaveToSeparateFiles, t_save::lgXSPEC, t_cpu_i::nCPU(), t_rfield::nflux, t_cpu_i::nRANK(), t_save::nsave, NUM_OUTPUT_TYPES, open_data(), t_save::punarg, rd_block(), rfield, save, saveFITSfile(), t_grid::Spectra, and t_grid::totNumModels.
Referenced by main().

| int total_insanity | ( | MPI_File | , | 
| int | , | ||
| MPI_Status * | |||
| ) | 
| int MPI_ERR_INTERN | 
Referenced by open_data().
| MPI_File MPI_FILE_NULL | 
Referenced by GridGatherOutputParallel(), and open_data().
| int mpi_mode_a | 
Referenced by GridGatherOutputParallel().
| int mpi_mode_r | 
Referenced by open_data().
| int mpi_mode_w | 
| int MPI_SUCCESS | 
Referenced by open_data().