User Guide
This guide explains how to install, configure, and run MONICA, from a local single simulation to distributed execution on a computing cluster.
Choose where to start
Install MONICA
If MONICA is not yet available on your computer, begin with the installation instructions for your operating system:
- Install MONICA on Windows using the distributed Windows package.
- Compile MONICA on Windows if you need to build it from source.
- Compile MONICA on Linux if you use a Linux system.
- See Python support and dependencies when using the optional Python tools and examples.
Choose a MONICA version
See MONICA versions for the public release history, Git tags, release dates, main changes, and compatibility guidance. For reproducible simulations, record the complete Git tag together with the configuration, parameter data, and climate inputs used.
Run MONICA
Choose the method that matches your environment:
- Command line for a local simulation with the MONICA executable.
- Docker for a container-based deployment.
- Python producer-consumer pipeline for scripted or distributed workflows.
- Rundeck for MONICA users with access to the ZALF Rundeck service.
Configure a simulation
A MONICA simulation is controlled by configuration files describing the simulation, site, crop, and management operations. Start with the configuration overview, then consult the reference for each JSON file:
sim.jsondefines general simulation settings, climate input, and outputs.site.jsondescribes the site, soil profile, and environmental conditions.crop.jsondescribes crops and cultivation worksteps.
Run MONICA at scale
The advanced guides cover server-based and distributed execution:
- MONICA server explains server modes and ZeroMQ communication.
- HPC clusters explains running multiple MONICA instances.
- Singularity explains containerized execution on HPC systems.
Typical workflow
- Install MONICA or compile it for your operating system.
- Run one of the supplied example simulations and verify that an output file is created.
- Read the configuration overview before adapting the input files.
- Modify the site, crop, management, climate, and output settings for your simulation.
- Use Docker, the MONICA server, or an HPC workflow when scaling beyond local runs.
Troubleshooting
If installation or execution fails, consult Installation and setup issues for common causes and solutions.