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

Jon Hand jon at esru.strath.ac.uk
Thu Sep 1 19:02:29 BST 2022


About Lars email about getting ESP-r running on a M1 Mac...

I attach an alternative Install script which I used on my M1 MacBook Air.
Note: there are issues with some of the user dialogs when running in
graphics mode. It is best to stick to running in text mode until I
sort that issue.

Also avoid the --extra_debug option in the installer if you plan
on running any CFD.

It is seriously a lot faster than my Intel Mac, or my Dell desktop
up at the office.

Note:  I also have found a way to run Linux within OSX on the M1
and you can do ESP-r within that just fine (but not quite as fast
as native M1 ESP-r).  If anyone wants to know about that I
can supply directives.

-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/20220901/5109bc62/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Install_M1
Type: application/octet-stream
Size: 78952 bytes
Desc: Install_M1
Url : http://lists.strath.ac.uk/archives/esp-r/attachments/20220901/5109bc62/attachment-0001.obj 


More information about the esp-r mailing list