Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
readme.md
readme.org
twocpt_population.data.R
twocpt_population.init.R
twocpt_population.stan
twocpt_population1.csv
twocpt_population2.csv
twocpt_population4.csv
twocpt_population8.csv

readme.md

Description

Parameter inference for the two-compartment solved using numerical integrator pmx_integrate_ode_group_bdf.

Build

Edit/Add cmdstan/make/local

TORSTEN_MPI = 1                                         # flag on torsten's MPI solvers
CXXFLAGS += -isystem /usr/local/include                 # path to MPI library's headers

Build in cmdstan

make ../example-models/twocpt_population/twocpt_population

Run

mpiexec -n 2 twocpt_population sample data file=twocpt_population.data.R init=twocpt_population.init.R

Results

MPI run results with 1, 2, 4, 8 processes, respectively, for a population size 8.

run wall time(s)
nproc=1 10274
nproc=2 5411
nproc=4 3043
nproc=8 2654
You can’t perform that action at this time.