The Climate Machine is a new Earth system model that leverages recent advances in the computational and data sciences to learn directly from a wealth of Earth observations from space and the ground. The Climate Machine will harness more data than ever before, providing a new level of accuracy to predictions of droughts, heat waves, and rainfall extremes.
Documentation | Build Status |
---|---|
CLIMA requires the following:
- Julia 1.3: currently Julia 1.3.1 is used for testing.
- A working MPI installation: see MPI.jl installation.
- GPU functionality requires an NVIDIA GPU with CUDA drivers.
julia --project=@. -e "using Pkg; Pkg.instantiate(); Pkg.API.precompile()"
You can test that things were installed properly with
julia --project=@. $CLIMA_HOME/test/runtests.jl
where $CLIMA_HOME
is the path to the base CLIMA directory.
CLIMA will default to running on the GPU on a GPU-enabled system.
To force a CPU run set the environment variable CLIMA_GPU
to false
.
If you are having problems building MPI.jl then most likely you need to set the
environment variable JULIA_MPI_PATH
. Additionally, if your MPI is not
installed in a single place, e.g., MPI from macports in OSX, you may need to set
JULIA_MPI_INCLUDE_PATH
and JULIA_MPI_LIBRARY_PATH
; for macports installs of
MPI these would be subdirectories in /opt/local/include
and /opt/local/lib
.