[esp-r] Installing esp-r on recent MacOS
Lars O. Grobe
grobe at gmx.net
Wed Aug 24 19:23:56 BST 2022
Dear all,
I just attempted to install the current version on a M1-driven Macbook
with macOS 12.5.1. I have macports installed and a gcc12 environment.
The Install-script does not know yet about Apple's architecture change
and proposes an x64 install. I further assumes to find includes in /usr,
and a dedicated X11 directory where lib and include are searched.
Currently I can hardly imagine anyone compiling and installing
X11/GTK-based software in a macOS environment without macports or
homebrew. These, however, install in /opt/local (macports) or
/usr/local/opt (homebrew).
Another, maybe more sever problem is that the fortran compile-option
-mcmodel=medium is not supported on the M1 architecture. After setting
it to small, I managed to get the binaries compiled but the initial ish
calculations do not complete even after several hours.
Furthermore, I got a message
"ESP-r_V13.3.14_Src/models/training/cg_ctl/daylit_coef/cfg: No such file
or directory".
How can I provide some useful input for getting the compilation running
on macOS? Should I try to "fix" the Install-script and share a patch?
Best, Lars.
More information about the esp-r
mailing list