Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.06 KB

login-env-files.rst

File metadata and controls

37 lines (25 loc) · 1.06 KB

Environment files

An environment file is a script that:

  1. Loads software libraries into your login environment. This is often done with a module manager such as lmod, spack, or environment-modules.
  2. Stores settings for GEOS-Chem and its dependent libraries in shell variables called environment variables.

You will source the environment file each time you log in with a command such as:

$ . ~/my-environment-file   # or whatever you name it

Tip

Keep a separate environment file for each combination of modules that you will use. Example environment files for GNU <env-files-gnu10> and Intel <env-files-intel19> compilers and related software are provided in the following sections.

For general information about how libraries are loaded, see libguide.