#include "cddefines.h"#include "cddrive.h"#include "input.h"#include "prt.h"#include "save.h"#include "called.h"#include "monitor_results.h"Go to the source code of this file.
Functions | |
| int | cdMain (int argc, const char *argv[]) |
| int | main (int argc, char *argv[]) |
| int cdMain | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
cdMain: this is the main entry point for Cloudy
Definition at line 117 of file maincl.cpp.
References called, cdDrive(), cdExecTime(), cdEXIT, cdInit(), cdInput(), cdNwcns(), cdOutput(), cdPrepareExit(), cdRead(), t_save::chFilenamePrefix, t_save::chGridPrefix, t_save::chRedirectPrefix, bad_assert::comment(), cpu, DEBUG_ENTRY, cloudy_exit::exit_status(), cloudy_exit::file(), bad_assert::file(), input, INPUT_LINE_LENGTH, ioQQQ, ioStdin, iteration, lgAbort, lgBigBotch, t_input::lgBracketFound, lgInputComment(), lgMonitorsOK, t_cpu::lgMPI(), t_cpu::lgMPI_talk(), t_prt::lgPrintTime, t_called::lgTalk, t_input::lgUnderscoreFound, cloudy_exit::line(), bad_assert::line(), MyAssert(), t_cpu::nRANK(), nzone, prt, read_whole_line(), cloudy_exit::routine(), save, t_cpu::setAssertAbort(), bad_signal::sig(), strchr_s(), and TotalInsanity().
Referenced by main().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
main: this is an MPI wrapper around cdMain. It should ONLY do MPI stuff! for non-MPI runs, this should do nothing more than call cdMain and exit.
Definition at line 22 of file maincl.cpp.
References AS_LOCAL_ONLY, cdMain(), t_save::chRedirectPrefix, MPI::COMM_WORLD, cpu, DEBUG_ENTRY, grid, GridGatherInCloudy(), GridPointPrefix(), t_grid::lgGrid, t_grid::lgGridDone, t_cpu::lgMaster(), max(), t_cpu::nCPU(), t_optimize::nOptimiz, open_data(), optimize, process_output(), save, t_cpu::set_MPI(), t_cpu::set_MPISingleRankMode(), t_cpu::set_nCPU(), t_cpu::set_nRANK(), and t_grid::totNumModels.
1.6.1