Skip to contents

Prerequisites for Model Building

See the Sections below for instructions. Short summary of what they do:

Pick One

# macOS has a lot of issues with xcode, it loves it for some reason; maybe agree to xcode license
brew install pkg-config gcc gsl yacas
# other linux distributions have some version of this:
#  zypper install,
#  apk add,
#  guix install,
# etc.
sudo apt install pkg-config gcc libgsl-dev yacas

Installation of the R packages

# requires the 'remotes' package
if (!require(remotes)) install.packages(remotes)
remotes::install_github("icpm-kth/SBtabVFGEN",dependencies=TRUE)
remotes::install_github("icpm-kth/rgsl",dependencies=TRUE)
remotes::install_github("icpm-kth/uqsa",dependencies=TRUE)

MPI

If you want to run on several nodes of a cluster via MPI (debian/ubuntu):

sudo apt install libopenmpi-dev

and in R:

On other systems, install the equivalent package for OpenMPI and pbdMPI (R package interfacing with MPI libraries on your system).