[esp-r] Re: Installing esp-r on recent MacOS

Jon Hand jon at esru.strath.ac.uk
Wed Aug 24 19:44:00 BST 2022


Lars,

I have compiled ESP-r on a M1 mac.  There is a
variant Install script I need to get to you and another
few tweaks needed because the compiler version
available for M1 is very new.

It will take a short time to gather all of the minor
changes needed - I will get back to you on it.

One issue is outstanding - the way information is
passed between Fortran and C has changed a bit
and in graphic mode one of the commands to choose
items gets confused. I have not completed the
replacement code.

ESP-r works fine in text mode at the moment.  It is VERY fast on M1.  Intel OSX is like a tortoise.

Regards, Jon Hand
________________________________
From: esp-r-bounces at lists.strath.ac.uk <esp-r-bounces at lists.strath.ac.uk> on behalf of Lars O. Grobe <grobe at gmx.net>
Sent: 24 August 2022 18:23
To: esp-r at lists.strath.ac.uk <esp-r at lists.strath.ac.uk>
Subject: [esp-r] Installing esp-r on recent MacOS

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.


_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20220824/6fb21ba4/attachment.html 


More information about the esp-r mailing list