or simply: (since we won't compile GCHP on non-Linux anyways)
ARCH := Linux
On some systems (e.g Amazon Linux AMI), ARCH is set to amd64, then ESMF/build/common.mk will be looking for the nonexistent amd64.gfortran.default in ESMF/build_config/. Forcing ARCH to Linux ensures that Linux.gfortran.default is always used.
I suggest changing this code
https://github.com/geoschem/gchp/blob/07f4130cdee6a784698b885339a54ba65ede2717/GIGC.mk#L84-L87
to: (no conditional)
or simply: (since we won't compile GCHP on non-Linux anyways)
On some systems (e.g Amazon Linux AMI),
ARCH
is set toamd64
, thenESMF/build/common.mk
will be looking for the nonexistentamd64.gfortran.default
inESMF/build_config/
. ForcingARCH
toLinux
ensures thatLinux.gfortran.default
is always used.The full log with incorrect
ARCH
for record: compile_error.log