compiler-switching

Official

Safely switch Fortran compilers.

AuthorGEOS-ESM
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a clear, safe, and repeatable process for switching between different Fortran compilers (NAG, gfortran, Intel) when building the MAPL software, preventing common build and runtime errors.

Core Features & Use Cases

  • Compiler Isolation: Enforces the use of separate build directories for each compiler to avoid binary incompatibility.
  • Module Management: Guides users on safely loading and purging compiler-specific environment modules.
  • Configuration Guidance: Offers examples for using mapl-config.yaml or environment variables for compiler settings.
  • Troubleshooting: Addresses common issues like "undefined reference" errors, module mismatches, and incorrect compiler detection.
  • Use Case: A developer needs to build MAPL for a project that requires testing with both gfortran and Intel compilers. This Skill ensures they can switch between them without introducing subtle bugs or build failures.

Quick Start

Follow the safe compiler switch workflow by creating separate build directories for each compiler and building MAPL within each.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: compiler-switching
Download link: https://github.com/GEOS-ESM/MAPL/archive/main.zip#compiler-switching

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.