ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
erf_preflight Namespace Reference

Functions

int run (int argc, char *argv[])
 

Function Documentation

◆ run()

int erf_preflight::run ( int  argc,
char *  argv[] 
)
334 {
335  int rank = 0, result = 0;
336 #ifdef AMREX_USE_MPI
337  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
338 #endif
339  if (rank == 0) result = inspect(argc, argv);
340 #ifdef AMREX_USE_MPI
341  MPI_Bcast(&result, 1, MPI_INT, 0, MPI_COMM_WORLD);
342 #endif
343  return result;
344 }

Referenced by main().

Here is the caller graph for this function: