|
Grid 0.7.0
|
Go to the source code of this file.
Functions | |
| NAMESPACE_BEGIN (Grid) | |
| void | Grid_init (int *argc, char ***argv) |
| void | Grid_finalize (void) |
| char * | GridHostname (void) |
| void | Grid_sa_signal_handler (int sig, siginfo_t *si, void *ptr) |
| void | Grid_usr_signal_handler (int sig, siginfo_t *si, void *ptr) |
| void | Grid_empty_signal_handler (int sig, siginfo_t *si, void *ptr) |
| void | Grid_debug_handler_init (void) |
| void | Grid_debug_heartbeat (void) |
| void | Grid_heartbeat (void) |
| void | Grid_quiesce_nodes (void) |
| void | Grid_unquiesce_nodes (void) |
| const Coordinate | GridDefaultSimd (int dims, int nsimd) |
| const Coordinate & | GridDefaultLatt (void) |
| const Coordinate & | GridDefaultMpi (void) |
| const int & | GridThreads (void) |
| void | GridSetThreads (int t) |
| void | GridLogTimestamp (int) |
| void | GridLogLayout () |
| std::string | GridCmdOptionPayload (char **begin, char **end, const std::string &option) |
| bool | GridCmdOptionExists (char **begin, char **end, const std::string &option) |
| template<class VectorInt> | |
| std::string | GridCmdVectorIntToString (const VectorInt &vec) |
| void | GridCmdOptionCSL (std::string str, std::vector< std::string > &vec) |
| template<class VectorInt> | |
| void | GridCmdOptionIntVector (const std::string &str, VectorInt &vec) |
| void | GridCmdOptionInt (std::string &str, int &val) |
| void | GridCmdOptionFloat (std::string &str, double &val) |
| void | GridParseLayout (char **argv, int argc, std::vector< int > &latt, std::vector< int > &simd, std::vector< int > &mpi) |
| void | printHash (void) |
| NAMESPACE_END (Grid) | |
| NAMESPACE_BEGIN | ( | Grid | ) |
| void Grid_init | ( | int * | argc, |
| char *** | argv ) |
Definition at line 316 of file Init.cc.
References acceleratorInit(), CartesianCommunicator::BarrierWorld(), FlightRecorder::ChecksumComms, FlightRecorder::ChecksumCommsSend, StaggeredKernelsStatic::Comms, WilsonKernelsStatic::Comms, StaggeredKernelsStatic::CommsAndCompute, WilsonKernelsStatic::CommsAndCompute, StaggeredKernelsStatic::CommsThenCompute, WilsonKernelsStatic::CommsThenCompute, dbgMemStats, MemoryProfiler::debug, MemoryManager::DeviceMaxBytes, dlMap, dlRegion::end, fileno_stderr, fileno_stdout, GridThread::GetThreads(), Logger::GlobalStopWatch, Grid_debug_handler_init(), Grid_debug_heartbeat(), Grid_default_latt, Grid_default_mpi, Grid_heartbeat(), Grid_is_initialised, Grid_quiesce_nodes(), GridBanner(), GridCmdOptionCSL(), GridCmdOptionExists(), GridCmdOptionInt(), GridCmdOptionPayload(), GridCmdVectorIntToString(), GridDefaultMpi(), GridDefaultSimd(), GridLogConfigure(), GridLogMessage, GridLogTimestamp(), GridParseLayout(), HOST_NAME_MAX, hostname, GlobalSharedMemory::HPEhypercube, GlobalSharedMemory::Hugepages, CartesianCommunicator::Init(), MemoryManager::Init(), MemoryManager::InitMessage(), FlightRecorder::LoggingModeRecord, GlobalSharedMemory::MAX_MPI_SHM_BYTES, dlRegion::name, CartesianCommunicator::nCommThreads, Grid_simd< complex< double >, SIMD_Dtype >::Nsimd(), Grid_simd< complex< float >, SIMD_Ftype >::Nsimd(), Grid_simd< double, SIMD_Dtype >::Nsimd(), Grid_simd< float, SIMD_Ftype >::Nsimd(), dlRegion::offset, StaggeredKernelsStatic::Opt, WilsonKernelsStatic::Opt, StaggeredKernelsStatic::OptGeneric, WilsonKernelsStatic::OptGeneric, StaggeredKernelsStatic::OptHandUnroll, WilsonKernelsStatic::OptHandUnroll, StaggeredKernelsStatic::OptInlineAsm, WilsonKernelsStatic::OptInlineAsm, FlightRecorder::PrintEntireLog, CartesianCommunicator::RankWorld(), FlightRecorder::SetLoggingMode(), signal_delay, dlRegion::size, dlRegion::start, MemoryProfiler::stats, and Stencil_force_mpi.
| void Grid_finalize | ( | void | ) |
Definition at line 620 of file Init.cc.
References Grid_is_initialised, Grid_unquiesce_nodes(), and GridLogMessage.
| char * GridHostname | ( | void | ) |
Definition at line 103 of file Init.cc.
References hostname.
Referenced by FlightRecorder::CsumLog(), FlightRecorder::NormLog(), FlightRecorder::recvLog(), FlightRecorder::ReductionLog(), and FlightRecorder::xmitLog().
| void Grid_sa_signal_handler | ( | int | sig, |
| siginfo_t * | si, | ||
| void * | ptr ) |
| void Grid_usr_signal_handler | ( | int | sig, |
| siginfo_t * | si, | ||
| void * | ptr ) |
Definition at line 776 of file Init.cc.
References Grid_generic_handler(), sig_print_uint(), SIGLOG, and signal_delay.
Referenced by Grid_debug_handler_init(), and Grid_debug_heartbeat().
| void Grid_empty_signal_handler | ( | int | sig, |
| siginfo_t * | si, | ||
| void * | ptr ) |
Definition at line 796 of file Init.cc.
Referenced by Grid_heartbeat().
| void Grid_debug_handler_init | ( | void | ) |
Definition at line 838 of file Init.cc.
References Grid_fatal_signal_handler(), and Grid_usr_signal_handler().
Referenced by Grid_init().
| void Grid_debug_heartbeat | ( | void | ) |
Definition at line 801 of file Init.cc.
References Grid_usr_signal_handler().
Referenced by Grid_init().
| void Grid_heartbeat | ( | void | ) |
Definition at line 817 of file Init.cc.
References Grid_empty_signal_handler().
Referenced by Grid_init().
| void Grid_quiesce_nodes | ( | void | ) |
Definition at line 109 of file Log.cc.
Referenced by Grid_init(), and CartesianCommunicator::Init().
| void Grid_unquiesce_nodes | ( | void | ) |
Definition at line 122 of file Log.cc.
Referenced by Grid_finalize(), and CartesianCommunicator::Init().
| const Coordinate GridDefaultSimd | ( | int | dims, |
| int | nsimd ) |
Definition at line 109 of file Init.cc.
Referenced by Grid_init(), GridFourDimModule< vComplex >::GridFourDimModule(), GridFourDimModule< vComplex >::GridFourDimModule(), and makeSubSliceGrid().
| const Coordinate & GridDefaultLatt | ( | void | ) |
Definition at line 107 of file Init.cc.
References Grid_default_latt.
Referenced by GridFourDimModule< vComplex >::GridFourDimModule(), GridFourDimModule< vComplex >::GridFourDimModule(), GridLogLayout(), CayleyFermion5D< Impl >::SeqConservedCurrent(), and WilsonFermion< Impl >::SeqConservedCurrent().
| const Coordinate & GridDefaultMpi | ( | void | ) |
Definition at line 108 of file Init.cc.
References Grid_default_mpi.
Referenced by Grid_init(), GridFourDimModule< vComplex >::GridFourDimModule(), GridFourDimModule< vComplex >::GridFourDimModule(), and GridLogLayout().
| const int & GridThreads | ( | void | ) |
| void GridSetThreads | ( | int | t | ) |
| void GridLogTimestamp | ( | int | on | ) |
| void GridLogLayout | ( | ) |
Definition at line 637 of file Init.cc.
References GridThread::GetThreads(), GridCmdVectorIntToString(), GridDefaultLatt(), GridDefaultMpi(), and GridLogMessage.
| std::string GridCmdOptionPayload | ( | char ** | begin, |
| char ** | end, | ||
| const std::string & | option ) |
Definition at line 128 of file Init.cc.
Referenced by Grid_init(), GridParseLayout(), and HMCWrapperTemplate< PeriodicGimplR, Integrator >::ReadCommandLine().
| bool GridCmdOptionExists | ( | char ** | begin, |
| char ** | end, | ||
| const std::string & | option ) |
Definition at line 137 of file Init.cc.
Referenced by Grid_init(), GridParseLayout(), and HMCWrapperTemplate< PeriodicGimplR, Integrator >::ReadCommandLine().
| std::string GridCmdVectorIntToString | ( | const VectorInt & | vec | ) |
Definition at line 245 of file Init.cc.
Referenced by Grid_init(), and GridLogLayout().
| void GridCmdOptionCSL | ( | std::string | str, |
| std::vector< std::string > & | vec ) |
Definition at line 142 of file Init.cc.
Referenced by Grid_init().
| void GridCmdOptionIntVector | ( | const std::string & | str, |
| VectorInt & | vec ) |
Definition at line 160 of file Init.cc.
Referenced by GlobalSharedMemory::GetShmDims(), GridParseLayout(), and HMCWrapperTemplate< PeriodicGimplR, Integrator >::ReadCommandLine().
| void GridCmdOptionInt | ( | std::string & | str, |
| int & | val ) |
Definition at line 176 of file Init.cc.
Referenced by Grid_init(), and GridParseLayout().
| void GridParseLayout | ( | char ** | argv, |
| int | argc, | ||
| std::vector< int > & | latt, | ||
| std::vector< int > & | simd, | ||
| std::vector< int > & | mpi ) |
| void printHash | ( | void | ) |
Referenced by GridBanner().
| NAMESPACE_END | ( | Grid | ) |