Version 3 (modified by 12 years ago) ( diff ) | ,
---|
FUNCTION InitialTests(NodeInfo* Info)
Click here to view the source.
Sets up program environment and verifies MPI functionality through a battery of communications tests. If called by the master processor, InitialTests()
will:
- Obtain the number of processors within the group.
- Broadcast BearCLAW environment variables (MaxLevel, CoarsenRatio, etc.) to all processors in the group.
- Test sending and receiving of data between master and workers.
- Test sending and receiving of data between workers.
INCLUDES:
mpi.h Provides the MPI library.
USES:
- nodeinfodef.f90 supplies the NodeInfo data structure and some functions that operate on it.
- treeops.f90 supplies the Node and Forest structures and accompanying methods, as well as the ApplyOn_ functions.
- scheme module supplies time-stepping scheme.
- contrib/astro/problem.f90 Contains problem-specific variables and functions.
Note:
See TracWiki
for help on using the wiki.