Skip to content
Snippets Groups Projects
Name Last commit Last update
MF1_2
.gitignore
.gitlab-ci.yml
README.md
codemeta.json

MF1_2

An integrated Farm model model.

This model has been developped during the Atcha project.

The documentation of the model is available at https://record-open-archives.pages.mia.inra.fr/mf1_2/

An corresponding interactive shiny application is available at https://mf-12-1-ha.sk8.inrae.fr/

Requirements

Build/installation instructions

Local build

Once the above requirements are met install the MF1_2 VLE package by running the following command from the root directory of this project

vle -P MF1_2 clean rclean configure build test

Using docker

Alternativly a docker image satisfying some of the above requirements is available in a public docker registry at registry.forgemia.inra.fr/record/record@sha256:93cb949a4228b4da336490900b523483503a07ab07eb8a3b438b66c7e75919e5.
Once docker is installed, run an interactive container with the following command from the root directory of this project

docker run \
       --rm \
       -it \
       --user root \
       -v "$(pwd):/work" \
       registry.forgemia.inra.fr/record/record@sha256:93cb949a4228b4da336490900b523483503a07ab07eb8a3b438b66c7e75919e5 \
       bash

Then from inside the container run the commands

apt-get update
apt-get install --no-install-recommends --no-install-suggests -y git

cd /tmp
git clone https://forgemia.inra.fr/record-open-archives/ambhas_cpp.git
cd ambhas_cpp
git reset --hard 688247efa3e11b0397ecbca5a46391b4d98fd8c0
vle -P Ambhas_Cpp clean rclean configure build

cd /tmp
git clone https://forgemia.inra.fr/record-open-archives/pump-potential.git
cd pump-potential
git reset --hard 6861b8c0048ccf019518dd21546bf6fd8aa95d52
vle -P PumpPotential clean rclean configure build

cd /tmp
git clone https://forgemia.inra.fr/record-open-archives/ascrom.git
cd ascrom
git reset --hard 9d28907e8ebfe96867375709d9ac798a654fcb21
vle -P ASCROM clean rclean configure build

cd /work
vle -P MF1_2 clean rclean configure build test

Licence

GPLv3 or later. See the file MF1_2/Licence.txt. Some files are under a different license. Check the headers for the copyright info.