CMAQ 5.4 project bld error

I get the following while building CMAQ project. Any advise?


if ( wrf_cons == wrf_cons ) then
set ModCpl = couple/gencoor_wrf_cons
set ModHadv = hadv/ppm
set ModVadv = vadv/wrf_cons
else if ( wrf_cons == local_cons ) then
set shaID = git --git-dir=${CMAQ_REPO}/.git rev-parse --short=10 HEAD
git --git-dir=/cmaq/app/src/main/.git rev-parse --short=10 HEAD
Illegal variable name.

It is difficult to know what is causing the Illegal variable name. Are you using this version of the bldit_cctm.csh script? CMAQ/bldit_cctm.csh at main · USEPA/CMAQ · GitHub

Are you using the tcsh shell to run the script?

echo $SHELL

Did you run the bldit_project.csh script to create a $CMAQ_HOME project directory first, or are you trying to run the bldit_cctm.csh script from the CMAQ_REPO directory?

Before you run the bldit_cctm.csh script, edit the following line to specify your local directory

 set CMAQ_HOME = /home/username/path

Thanks, Liz