Installation on MacOS 12.4 (Intel) fails on step E with "setenv: Too many arguments"

I imagine this is similar to another issue that has been affecting the Mac ARM systems. Try this:

brew install gcc@13

Then repeat the last installation script :

tcsh OS_notes.macos_12_intel_b_user.tcsh