|
MOOSE - Multiscale Object Oriented Simulation Environment
|
#include "header.h"#include <sys/time.h>#include <math.h>#include <queue>#include <unistd.h>#include "../scheduling/Clock.h"#include "DiagonalMsg.h"#include "SparseMatrix.h"#include "SparseMsg.h"#include "../mpi/PostMaster.h"#include "../shell/Shell.h"
Include dependency graph for pymooseinit.cpp:Go to the source code of this file.
Functions | |
| void | checkChildren (Id parent, const string &info) |
| unsigned int | getNumCores () |
| Id | init (int argc, char **argv, bool &doUnitTests, bool &doRegressionTests, unsigned int &benchmark) |
| void | mooseBenchmarks (unsigned int option) |
| void | mpiTests () |
| void | nonMpiTests (Shell *s) |
| void | processTests (Shell *s) |
| void | speedTestMultiNodeIntFireNetwork (unsigned int size, unsigned int runsteps) |
Variables | |
| bool | quitFlag = 0 |
| void checkChildren | ( | Id | parent, |
| const string & | info | ||
| ) |
Definition at line 128 of file pymooseinit.cpp.
References Neutral::children(), Id::element(), Id::eref(), and Element::getName().
Here is the call graph for this function:| unsigned int getNumCores | ( | ) |
Definition at line 82 of file pymooseinit.cpp.
Referenced by moose::getArgMap(), and init().
Here is the caller graph for this function:| Id init | ( | int | argc, |
| char ** | argv, | ||
| bool & | doUnitTests, | ||
| bool & | doRegressionTests, | ||
| unsigned int & | benchmark | ||
| ) |
Here we allow the user to override the automatic identification of processor configuration
Sets up the Elements that represent each class of Msg.
Definition at line 141 of file pymooseinit.cpp.
References Shell::adopt(), Eref::data(), Id::eref(), getNumCores(), Clock::initCinfo(), PostMaster::initCinfo(), Neutral::initCinfo(), Shell::initCinfo(), Msg::initMsgManagers(), isInfinite, Shell::loadBalance(), Cinfo::makeCinfoElements(), myNode, Id::nextId(), numCores, numNodes, quitFlag, Cinfo::rebuildOpIndex(), Shell::setHardware(), Shell::setShellElement(), and Id::value().
Referenced by getShell().
Here is the call graph for this function:
Here is the caller graph for this function:| void mooseBenchmarks | ( | unsigned int | option | ) |
| void mpiTests | ( | ) |
These are tests that are MPI safe. They should also run properly on single nodes.
Definition at line 319 of file pymooseinit.cpp.
References testMpiBuiltins(), testMpiMsg(), testMpiScheduling(), and testMpiShell().
Referenced by getShell().
Here is the call graph for this function:
Here is the caller graph for this function:| void nonMpiTests | ( | Shell * | s | ) |
These tests are meant to run on individual nodes, and should not invoke MPI calls. They should not be run when MPI is running. These tests do not use the threaded/MPI event loop and are the most basic of the set.
Definition at line 270 of file pymooseinit.cpp.
References Shell::myNode(), numCores, Shell::numCores(), numNodes, Shell::numNodes(), Shell::setHardware(), testAsync(), testBiophysics(), testBuiltins(), testDiffusion(), testHSolve(), testKsolve(), testMesh(), testMsg(), testScheduling(), testShell(), testSigNeur(), and testSynapse().
Referenced by getShell().
Here is the call graph for this function:
Here is the caller graph for this function:| void processTests | ( | Shell * | s | ) |
These tests involve the threaded/MPI process loop and are the next level of tests.
Definition at line 302 of file pymooseinit.cpp.
References testBiophysicsProcess(), testBuiltinsProcess(), testSchedulingProcess(), and testSigNeurProcess().
Referenced by getShell().
Here is the call graph for this function:
Here is the caller graph for this function:| void speedTestMultiNodeIntFireNetwork | ( | unsigned int | size, |
| unsigned int | runsteps | ||
| ) |
| bool quitFlag = 0 |
Definition at line 124 of file pymooseinit.cpp.
Referenced by init().