Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1007 Bytes

File metadata and controls

44 lines (30 loc) · 1007 Bytes

ROSS Example

This is a small, ROSS example model to show how to have multiple LP types in ROSS, a (massively) parallel discrete event simulator.

Compilation

The following are the instructions to download and compile:

git clone --recurse-submodules -j8 https://github.com/ROSS-org/ross-model-example
mkdir ross-model-example/build
cd ross-model-example/build
cmake .. -DCMAKE_INSTALL_PREFIX="$(pwd -P)/"
make install

After compiling, you will find the executable under the folder: build/bin

Execution

An example of running in one core or two:

cd build
bin/modelbin --help
mpirun -np 2 bin/modelbin --sync=2 --batch=1 --total-iter=1000 --end=41

Documentation

To generate the documentation, install doxygen and dot (included in graphviz), and then run:

doxygen docs/Doxyfile

The documentation will be stored in docs/html.