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

From Geos-chem
Jump to: navigation, search
(Instructions for installing netCDF with Spack)
(Featured tutorial videos)
Line 12: Line 12:
  
 
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).
 
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).
 
== Featured tutorial videos ==
 
 
The following tutorials about using Spack to build the compiler and libraries are available at our GEOS-Chem Youtube channel: [http://youtube.geos-chem.org '''youtube.geos-chem.org''']:
 
 
{| border="1" cellspacing=0 cellpadding=5
 
|-valign="top" align="center"
 
|[[Image:Spack_1_thumbnail.png]]<br>[https://www.youtube.com/watch?v=7eMLYKLK9wY '''<big>Click HERE to view!</big>'''!]
 
|[[Image:Spack_2_thumbnail.png]]<br>[https://www.youtube.com/watch?v=6tGCD3zQQW0 '''<big>Click HERE to view!</big>'''!]
 
|}
 
 
--[[User:Bmy|Bob Yantosca]] ([[User talk:Bmy|talk]]) 14:56, 16 January 2020 (UTC)
 
  
 
== What is Spack? ==
 
== What is Spack? ==

Revision as of 15:03, 2 March 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).

Using Spack to install libraries for GEOS-Chem Classic

This documentation has been migrated to our Github issue geoschem/geos-chem #637.

Using Spack to install libraries 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) 16:15, 11 June 2019 (UTC)



Previous | Next | Guide to netCDF in GEOS-Chem