The following environment variables are recognized by configure. Note that the command line arguments for specifying this information always takes precedence over the environment variables.
CASEROOT
Directory where a CESM case is set up. This is only used when building from the CESM scripts to add the SourceMods directory for CAM to the Filepath file.
ESMF_LIBDIR
Directory containing the ESMF library.
INC_MPI
Directory containing the MPI include files.
INC_NETCDF
Directory containing the NetCDF include files.
INC_PNETCDF
Directory containing the PnetCDF include files.
LAPACK_LIBDIR
Directory containing the LAPACK library.
LIB_MPI
Directory containing the MPI library.
LIB_NETCDF
Directory containing the NetCDF library.
LIB_PNETCDF
Directory containing the PnetCDF library.
MCT_LIBDIR
Directory containing the MCT libraries.
MOD_NETCDF
Directory containing the NetCDF module files.