The PeriLab package is available through the Julia package system and can be installed using the following commands:
using Pkg
Pkg.add("PeriLab")
Throughout the rest of this tutorial, we will assume that you have installed the
PeriLab package and have already typed using PeriLab
to bring all of the
relevant variables into your current namespace.
The simplest way to run the PeriLab
simulation core is to use a provided example import the module and go.
using PeriLab
PeriLab.get_examples()
PeriLab.main("examples/DCB/DCBmodel.yaml")
The output should look like this:
<script src="https://asciinema.org/a/649032.js" id="asciicast-649032" async="true"></script>
The main functionalities for the yaml
input deck is given in
"examples/functionalities.yaml"
In order to run PeriLab
for large scale problems MPI needs to be installed:
$ julia
julia> using MPI
julia> MPI.install_mpiexecjl()
Run PeriLab with two processors:
$ mpiexecjl -n 2 julia -e "using PeriLab; PeriLab.main()" Dogbone.yaml -v
The training input is given under the examples folder. The documentation and a video will follow.
Pages = ["gettin_started.md"]
CurrentModule = PeriLab
main
get_examples