Difference between revisions of "Use Spack to install netCDF on your system"

From Geos-chem
Jump to: navigation, search
(Installing libraries with Spack)
(Installing libraries with Spack)
 
Line 31: Line 31:
 
=== For GEOS-Chem Classic ===
 
=== For GEOS-Chem Classic ===
  
This documentation has been migrated to [https://github.com/geoschem/geos-chem/issues/637 '''Github issue geoschem/geos-chem #637'''].
+
This documentation has been migrated to [https://geos-chem.readthedocs.io/en/latest/supplement/spack.html our GEOS-Chem ReadTheDocs site].
  
 
=== For GCHP ===
 
=== For GCHP ===

Latest revision as of 18:39, 12 August 2021

Previous | Next | Guide to netCDF in GEOS-Chem

  1. Introduction to netCDF
  2. Check if netCDF is already installed on your system
  3. Use Spack to install netCDF on your system
  4. The COARDS netCDF conventions for earth science data
  5. Working with netCDF data files
  6. Creating netCDF data files for GEOS-Chem
  7. Other libraries used by GEOS-Chem


On this page we describe how you can use the Spack package manager tool to install netCDF on your system (if it hasn't already been installed).

What is Spack?

From the Spack site:

Spack is a package management tool designed to support multiple versions and configurations of software on a wide variety of platforms and environments. It was designed for large supercomputing centers, where many users and application teams share common installations of software on clusters with exotic architectures....Spack is non-destructive: installing a new version does not break existing installations, so many configurations can coexist on the same system.
Most importantly, Spack is simple. It offers a simple spec syntax so that users can specify versions and configuration options concisely. Spack is also simple for package authors: package files are written in pure Python, and specs allow package authors to maintain a single file for many different builds of the same package.

Complete Spack documentation may be found at spack.readthedocs.io

If you do not already have a pre-built netCDF library on your system, we recommend using Spack to install the required libraries. Spack should be able to install netCDF and all required libraries for a variety of compiler/platform combinations (including Linux and MacOS).

Installing libraries with Spack

We provide instructions on how you can install the required software libraries for GEOS-Chem Classic or GCHP with Spack.

For GEOS-Chem Classic

This documentation has been migrated to our GEOS-Chem ReadTheDocs site.

For GCHP

This documentation has been migrated to our GCHP ReadTheDocs site. Please see the chapter entitled Installing GCHP and Dependencies with Spack.

Report errors or technical issues to Spack Support

While the GEOS-Chem Support Team recommends Spack as a useful third-party tool, it is not responsible for solving Spack-related issues.

We encourage you to report all errors and technical issues directly to the Spack Support Team by opening a ticket on the Spack issue tracker:

Please describe fully the commands that you used, as well as the type of system (OS, compilers, etc.) that you are using. A member of the Spack Support Team should be able to answer your question more fully.

Spack is a cutting-edge tool for installing HPC packages. That being said, there may still be compatibility issues with certain library/OS/compiler combinations. The Spack Support Team is continually trying to improve Spack and to resolve any such issues.

--Bob Yantosca (talk) 15:06, 2 March 2021 (UTC)


Previous | Next | Guide to netCDF in GEOS-Chem