65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
# To Do:
|
|
- Integrate variable tarball search and extraction from HDF5 into all packages
|
|
|
|
|
|
|
|
|
|
|
|
# -------------------------
|
|
# Install I/O API
|
|
# -------------------------
|
|
git clone https://github.com/cjcoats/ioapi-3.2.git
|
|
cd ioapi-3.2
|
|
|
|
export FC=gfortran
|
|
export CC=gcc
|
|
export NETCDF=/usr
|
|
|
|
# Configure (Linux2_x86_64gfort is typical)
|
|
make config
|
|
# Choose: Linux2_x86_64gfort
|
|
|
|
make -j$(nproc)
|
|
|
|
echo "export IOAPI=/opt/ioapi-3.2" >> /environment
|
|
|
|
|
|
# -------------------------
|
|
# Install CMAQ
|
|
# -------------------------
|
|
cd /opt
|
|
git clone https://github.com/USEPA/CMAQ.git
|
|
cd CMAQ
|
|
|
|
# Checkout stable release (optional)
|
|
# git checkout 5.3.3
|
|
|
|
echo "export CMAQ_HOME=/opt/CMAQ" >> /environment
|
|
|
|
# CMAQ build scripts expect tcsh
|
|
echo "CMAQ installed. Build manually via bldit scripts." > /opt/README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.gz
|
|
|
|
wget https://support.hdfgroup.org/releases/hdf5/v1_14/v1_14_6/downloads/hdf5-1.14.6.tar.gz
|
|
|
|
wget https://downloads.unidata.ucar.edu/netcdf-c/4.10.0/netcdf-c-4.10.0.tar.gz
|
|
|
|
wget https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.6.2.tar.gz
|
|
|
|
wget https://www.cmascenter.org/ioapi/download/ioapi-3.2.tar.gz
|
|
|
|
wget https://github.com/wrf-model/WRF/releases/download/v4.6.0/v4.6.0.tar.gz
|
|
|
|
wget https://github.com/wrf-model/WPS/archive/refs/tags/v4.6.0.tar.gz |