mitgcm

Automate MITgcm ocean model setup, build, run, and post-processing workflows.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/RugkeyPro/agent-skills --skill mitgcm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mitgcm
Source: https://github.com/RugkeyPro/agent-skills/tree/main/mitgcm
Command: npx skills add https://github.com/RugkeyPro/agent-skills --skill mitgcm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

MITgcm users often struggle with coordinating static memory configuration, package activation, and runtime namelists across build, run, and post-processing workflows. This Skill centralizes the full MITgcm workflow, reducing setup errors and enabling reproducible experiments.

Core Features & Use Cases

  • Static memory and build management: handles SIZE.h constraints, genmake2 build chain, and MPI/OpenMP configurations.
  • Two-step package activation: compile-time inclusion via code/packages.conf and runtime activation via input/data.pkg.
  • Runtime configuration & data I/O: manages &PARM namelists and Big-Endian MDS data I/O, with xmitgcm post-processing workflows for LLC/ECCO.
  • ECCO / LLC offline workflows: supports offline state estimation and LLC grid handling.

Quick Start

Set up a minimal MITgcm experiment by compiling with genmake2, enabling a package, and running mitgcmuv with MPI.

Frequently Asked Questions about mitgcm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure MITgcm static memory and package activation for a new experiment?

MITgcm static memory requires defining domain decomposition in SIZE.h, followed by two-step package activation: compile-time inclusion via code/packages.conf and runtime activation through input/data.pkg namelists.

What is the best way to handle MITgcm MDS binary I/O and post-processing?

MITgcm MDS binary I/O and post-processing are handled using xmitgcm within the mitgcm conda environment, which parses Big-Endian binary outputs and loads them into standardized datasets for analysis.

Does MITgcm build workflow support MPI and OpenMP configurations with genmake2?

Yes, the MITgcm build workflow uses the genmake2 build chain to configure and compile the model with MPI and OpenMP support, enforcing build prerequisites and environment setup before generating the mitgcmuv executable.

How do I set up ECCO and LLC grid workflows for MITgcm offline state estimation?

ECCO and LLC workflows for MITgcm offline state estimation require configuring runtime &PARM namelists and utilizing xmitgcm to manage LLC grid handling and data I/O within the mitgcm conda environment.

What are common MITgcm runtime configuration errors with namelists and data.pkg?

MITgcm runtime configuration errors often stem from mismatched package activation between compile-time packages.conf and runtime data.pkg, or incorrect &PARM namelist entries, which disrupt the end-to-end experiment execution.