Quick start

Atlas has a convenience script install.sh that may work for you, or may be an inspiration on how to adapt installation to your needs. This script is also capable to install required and certain optional dependencies.

Basic system requirements

CMake

  • Minimum required version: 3.6 or greater
  • Recommended version: 3.14 or greater

CMake is often already available on your system. If version requirements are incompatible, prebuilt CMake binary distribution may be downloaded here

Compilers

Atlas requires a C++ compiler that supports the C++11 standard. The optional Atlas Fortran API requires a Fortran compiler that supports the Fortran 2008 standard.

Tested compilers include:

  • GNU 6.3, 7.3, 8.3
  • Intel 18, 19
  • PGI 17.7, 19.10
  • Cray 8.7
  • Clang C++ 7, 9 + GNU Fortran

Quick install

The Atlas build system is based on CMake which tries to automatically detect compilers and project dependencies. To avoid suprises make sure that the following environment variables are pointing to the correct compiler.

  • CC – Path to C compiler
  • CXX – Path to C++ compiler
  • FC – Path to Fortran compiler

Download atlas and invoke the install.sh script:

mkdir sources
git clone https://github.com/ecmwf/atlas sources/atlas
sources/atlas/tools/install.sh --with-deps

This installs atlas, and downloads/installs its required dependencies eckit and fckit in a subdirectory install. The install prefix, and other build options can be modified with extra arguments to the install.sh script.

Please check options, e.g. by calling

sources/atlas/tools/install.sh --help