4.1. Install CMAQv5.4+ on Single Virtual Machine Advanced (optional)#
Run CMAQv5.4+ on a single Virtual Machine (VM) using c6a.xlarge (4 CPUs) and Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-1031-aws x86_64), then upgrade to c6a.48xlarge.
- 4.1.1. Install Software and run CMAQv5.4 on c6a.xlarge for the 12km Listos Training Domain
- Build CMAQv5.4+ on c6a.xlarge EC2 instance
- Create a c6a.xlarge Virtual Machine
- Login to the Virtual Machine
- Make the /shared directory
- Change the group and ownership of the shared directory
- Create subdirectories on /shared
- Check operating system version
- Install Environment Modules
- Logout and then log back in to activate modules command
- Verify module command works
- Set up build environment
- Install Compilers and OpenMPI
- Change shell to use tcsh
- Logout and log back in, then check the shell
- Check available versions of compiler
- Choose gcc-9 and gfortran-9 as default compilers
- Check version of gcc
- Check version of gfortran
- Check version of OpenMPI
- Install Parallel Cluster CMAQ Repo
- Install and build netcdf C, netcdf Fortran, I/O API, and CMAQ
- Install netcdf-C and netcdf-Fortran
- Copy a file to set paths
- Exit cluster and log back in to activate the update shell, or use csh
- Create Custom Environment Module for Libraries
- Find path for openmpi libraries
- Find path for include files for openmpi
- Edit the config_cmaq_singlevm.csh script to specify the paths for OpenMPI
- Install Python
- Install jupyter notebook.
- Install and Build CMAQ
- Run make again
- Copy the run scripts from the repo to the run directory
- Download the Input data from the S3 Bucket
- Run CMAQ interactively using the following command:
- Build CMAQv5.4+ on c6a.xlarge EC2 instance
- 4.1.2. Install Software and run CMAQv5.4 on c7g-hpc7g for the 12km Listos Training Domain
- Build CMAQv5.4+ on c7g.xlarge EC2 instance
- Create a c7g.xlarge Virtual Machine
- Login to the Virtual Machine
- Make the /shared directory
- Change the group and ownership of the shared directory
- Create subdirectories on /shared
- Check operating system version
- Install Environment Modules
- Logout and then log back in to activate modules command
- Verify module command works
- Set up build environment
- Install Compilers and OpenMPI
- Compiler versions
- Change shell to use tcsh
- Logout and log back in, then check the shell
- Check available versions of compiler
- Choose gcc-9 and gfortran-9 as default compilers
- Check version of gcc
- Check version of gfortran
- Check version of OpenMPI
- Install Parallel Cluster CMAQ Repo
- Install and build netcdf C, netcdf Fortran, I/O API, and CMAQ
- Install netcdf-C and netcdf-Fortran
- Copy a file to set paths
- Exit cluster and log back in to activate the update shell, or use csh
- Create Custom Environment Module for Libraries
- Find path for openmpi libraries
- Find path for include files for openmpi
- Edit the config_cmaq_singlevm.csh script to specify the paths for OpenMPI
- Install Python
- Install jupyter notebook.
- Install and Build CMAQ
- Run make again
- Copy the run scripts from the repo to the run directory
- Download the Input data from the S3 Bucket
- Run CMAQ interactively using the following command:
- Build CMAQv5.4+ on c7g.xlarge EC2 instance
- 4.1.3. Install I/O API libraries that support HDF5
- 4.1.4. Upgrade to run CMAQ on larger EC2 Instance