- Build a docker image for PyBox using
docker build . -t pybox
under thepybox
subfolder. - Run and enter the docker container using the built image
docker run -it --rm pybox
. - Inside the container, enter the directory
/Code/Git_repos/PyBox/Aerosol/f2py
. - Execute
python Aerosol_simulation_f2py.py
to run the mixed-phase simulation for Alpha-Pinene mechanism. - Enter the directory
/Code/Git_repos/PyBox/f2py
, and executepython Gas_simulation_f2py.py
to run the gas phase only simulation for Alpha-Pinene mechanism.
- Build a docker image for JlBox using
docker build . -t jlbox
under thejlbox
subfolder. - Run and enter the docker container using the built image
docker run -it --rm jlbox
. - Insider the container, where the julia console is activated automatically, run
using Pkg;Pkg.activate(".");Pkg.instantiate()
to retrieve environment for reproduce. - Run
include("example/Simulation_aerosol.jl")
to run the mixed-phase simuation for Alpha-Pinene mechanism. - Run
include("Simulation_gas.jl")
to run the gas phase only simulation for Alpha-Pinene mechanism.
- Build a docker image for KPP generated model using
docker build . -t kpp
under thekpp
subfolder. - Run gas phase only simulation for Alpha-Pinene mechanism using
docker run --rm kpp