Skip to content

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:

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:

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.json defines general simulation settings, climate input, and outputs.
  • site.json describes the site, soil profile, and environmental conditions.
  • crop.json describes 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

  1. Install MONICA or compile it for your operating system.
  2. Run one of the supplied example simulations and verify that an output file is created.
  3. Read the configuration overview before adapting the input files.
  4. Modify the site, crop, management, climate, and output settings for your simulation.
  5. 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.