-
Notifications
You must be signed in to change notification settings - Fork 0
Build
Christoph Junghans edited this page Mar 28, 2016
·
6 revisions
- Clone Tabasco
git clone --recursive git@github.com:exmatex/tabasco.git
cd tabasco
-
Optionally build charm++ with
charm++/scripts/build-charm.sh
. It will build and install a charm++ version in./install
-
Build everything
make CHARM_ROOT=XXX
where XXX
is root directory of your charm installation - there should be a $(CHARM_ROOT)/bin/charmc
Due to the number of dependencies in libCM, it is suggested that you use -j to perform a parallel build.
-
Run Tabasco
cd charm++/charm_bin
- Use one of the scripts in charm++/input as a reference and as a runtime argument similar to
./charmrun ++local ++p 16 ./TabaSCo ../input/reftest.json
-
++local
to run local only -
++p 16
to run on 16 cores -
You can set use adaptive sampling, 0 = off, 1 = on
-
You can change the stopTime.
{"parameter": { "header": "TabaSCo Test Input File", "CoarseScaleModel": [ {"id": "type", "value": "0"}, {"id": "count", "value": "1"}, {"id": "use adaptive sampling", "value": "0"}, {"id": "stop time", "value": "1e-01"} ], ...