BIE |
Usage and notesSee the Notes section for information on directory structure in the CVS repository.Everything here is still work in progress . . . UsageThere are two ways of using this system:
The
For example, the routines
The main test driver is RunHere, we start up a multilevel simulation on 24 processors in the Beowulf cluster. Each level will run 100 steps ( -n 100), there are two components ( -M 2), we will continue for four levels ( -N 4), print out state information ( -S), with a maximum temperature of 16384 ( -t 16384), each cell will use Legendre integration with 21 knots ( -I 21), at nice level 10 ( -P 10). The directory containing input and output files is /home/weinberg/BIE/testing .
This mpirun command calling syntax is for LAM-MPI. Others are similar.
The beginning of the file ResultsSome explanation:
Each of the four figures below show the state variables and log of the posterior probability (up to an additive arbitrary constant) as a function of iteration number. You will see that 100 steps is not quite enough for convergence (but this is only an example). NotesThe main directores in the repository are:
doc contains the source for this documentatation
in Doc++ form. You can recompile (e.g.) the
web-based by:
cd doc
make html
include class headers
src class C++ source
libVector source for vector class with makefile. This is
well-tested production code.
libcutils some standard random number generators. This is
not currently used . . .
libsrnd random variate generators, GNU string class and
a few other statistical sundries from GNU libraries
testing contains the test drivers. The main test routines
are called:
makedata - used to generate "synthetic" data
testdata - checks MappedGrid binning routine
testsimu - tests class hierarchy with a trivial,
dummy implementation of the Simulation
class
testtemp - creates a TemperedSimulation instance
but doesn't do anything
testtemp2 - test tempered simulation without MPI
testtemp3 - test tempered simulation *with* MPI
multilevel - multiple resolution test driver
*with MPI
multilevelN - multiple resolution test driver
*without* MPI
It is only the latter two that do anything
meaningful and these can be made by:
cd testing
make testtemp2
make testtemp3
make multilevel
The make file in the The DOC++ software is part of many Linux distributions and downloadable from http://www.zib.de/Visual/software/doc++ Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU. Documentation generated at Fri Mar 26 00:35:11 2010 by
|