mapl-build

Compile MAPL software with Fortran compilers on macOS and Linux.

43|25|Updated Jul 3, 2019
One-click install
npx skills add https://github.com/GEOS-ESM/MAPL --skill mapl-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mapl-build
Source: https://github.com/GEOS-ESM/MAPL/tree/main/.opencode/skills/mapl-build
Command: npx skills add https://github.com/GEOS-ESM/MAPL --skill mapl-build

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured and reliable method for building the MAPL software using various compilers (NAG, gfortran, Intel) across different operating systems (macOS, Linux), ensuring compatibility and efficient development workflows.

Core Features & Use Cases

  • Multi-Compiler Support: Build MAPL with NAG, gfortran, or Intel Fortran compilers.
  • Platform Compatibility: Instructions tailored for macOS and remote Linux environments.
  • Build Best Practices: Enforces separate build directories per compiler and provides guidance on CMake build types.
  • Troubleshooting: Addresses common build issues like missing modules or compiler conflicts.
  • Use Case: A new developer needs to set up a build environment for MAPL on their macOS machine using the recommended NAG compiler, ensuring they follow best practices to avoid future issues.

Quick Start

Build MAPL on macOS using the NAG Fortran compiler by loading the necessary modules and running the CMake configuration and build commands.

Frequently Asked Questions about mapl-build

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

FAQPage Schema
How do I build MAPL with the NAG Fortran compiler on macOS?

To build MAPL on macOS with the NAG Fortran compiler, load the necessary modules, create a separate build directory, and run CMake configuration and build commands to ensure compatibility and efficient development workflows.

Does MAPL support building with gfortran and Intel compilers on Linux?

Yes, MAPL supports building with gfortran and Intel Fortran compilers on Linux systems. It provides structured instructions for module loading, build directory conventions, and parallel build execution across different platforms.

What is the best way to configure CMake for Debug and Release builds of MAPL?

The best way to configure CMake for MAPL builds is to enforce separate build directories per compiler and use CMake build types to manage Debug and Release configurations, ensuring reliable compilation across NAG, gfortran, or Intel Fortran.

Why does my MAPL build fail due to missing modules or compiler conflicts?

MAPL builds often fail due to missing modules or compiler conflicts when directory conventions are ignored. Troubleshooting involves verifying module loading, using separate build directories per compiler, and checking CMake configuration settings.

Can I use MAPL build practices in automated CI/CD environments?

Yes, MAPL build practices address CI/CD considerations for automated environments. The process supports parallel build execution and structured CMake configurations to ensure reliable compilation across macOS and Linux systems.