5.1. CMAQv5.3.3 on Single Virtual Machine Advanced (optional)#
Run CMAQv5.3.3 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.
- 5.1.1. Install Software and run CMAQv5.3.3 on c6a.2xlarge for the 2016_12US3 Benchmark
- Build CMAQv5.3.3 on c6a.2xlarge 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
- Check to see what scripts are available
- Download the Input data from the S3 Bucket
- Run CMAQ interactively using the following command:
- Build CMAQv5.3.3 on c6a.2xlarge EC2 instance
- 5.1.2. Install I/O API libraries that support HDF5
- 5.1.3. Upgrade to run CMAQ on larger EC2 Instance