JEDI PortabilityΒΆ

As emphasized elsewhere, one of our motivating visions behind JEDI is to make it generic, powerful, and efficient enough to be used for a wide range of applications from pedagogical and experimental toy models to coupled NWP systems capable of cutting-edge research and operational forecasting. This means that JEDI users will use a wide range of computing platforms, from laptops and workstations to cloud platforms to HPC facilities at national centers.

But JEDI does not exist in a vacuum. Like any modern, sophisticated software package, it leverages a number of third-party libraries and applications to enhance functionality and performance. Examples include libraries to read and write NetCDF data files (NetCDF, HDF5, PNetCDF), to perform linear algebra computations (LAPACK, Eigen3), to communicate among processors through the message passing interface (MPI), and even to build the code itself (C++/C/Fortran compilers, cmake, ecbuild). Sorting out all these dependencies can be frustrating for a user who just wants to get straight to the science.

In order to help JEDI users and developers quickly create a productive and consistent computing environment, the JEDI team provides a number of portability tools. These include:

The spack-stack repository contains detailed instructions and spack configurations that specify the target platform, software packages, versions, and configuration options that are required to build and run jedi (and other applications). Tagged versions of the spack-stack will be coordinated with public JEDI releases when they become available. We use spack-stack to build environment modules on cloud platforms (e.g. AMIs), HPC systems, and generic macOS/Linux systems.

The spack configuration is also used to build Docker and Singularity containers that can be run on laptops, workstations, cloud platforms, and HPC systems. The containers are also leveraged for continuous integration testing by means of Amazon CodeBuild and Travis-CI

In the remainder of this section, we describe how to use spack-stack software environments for building and running JEDI applications.