<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Jon,</p>
<p><br>
</p>
<p>thank you for sharing that script! I just had to remove "stats"
from the list of programs. The training models also trigger an
error, but without installing those I get the binaries and have
prj starting. Next is testing the functionality of the new
installation.</p>
<p><br>
</p>
<p>Best, Lars.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 01.09.22 um 20:02 schrieb Jon Hand:<br>
</div>
<blockquote type="cite"
cite="mid:LO2P265MB5679607F2B01FEF871B493BFBA7B9@LO2P265MB5679.GBRP265.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
About Lars email about getting ESP-r running on a M1 Mac...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I attach an alternative Install script which I used on my M1
MacBook Air.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Note: there are issues with some of the user dialogs when
running in</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
graphics mode. It is best to stick to running in text mode until
I</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
sort that issue. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Also avoid the --extra_debug option in the installer if you plan</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
on running any CFD<span style="color: rgb(0, 0, 0); font-family:
Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">It is seriously a lot
faster than my Intel Mac, or my Dell desktop</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">up at the office.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">Note: I also have
found a way to run Linux within OSX on the M1</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">and you can do ESP-r
within that just fine (but not quite as fast</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">as native M1 ESP-r).
If anyone wants to know about that I</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">can supply
directives.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;">-Jon Hand</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial,
Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:esp-r-bounces@lists.strath.ac.uk">esp-r-bounces@lists.strath.ac.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:esp-r-bounces@lists.strath.ac.uk"><esp-r-bounces@lists.strath.ac.uk></a> on behalf of Lars O.
Grobe <a class="moz-txt-link-rfc2396E" href="mailto:grobe@gmx.net"><grobe@gmx.net></a><br>
<b>Sent:</b> 24 August 2022 18:23<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:esp-r@lists.strath.ac.uk">esp-r@lists.strath.ac.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:esp-r@lists.strath.ac.uk"><esp-r@lists.strath.ac.uk></a><br>
<b>Subject:</b> [esp-r] Installing esp-r on recent MacOS</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Dear all,<br>
<br>
I just attempted to install the current version on a
M1-driven Macbook<br>
with macOS 12.5.1. I have macports installed and a gcc12
environment.<br>
<br>
The Install-script does not know yet about Apple's
architecture change<br>
and proposes an x64 install. I further assumes to find
includes in /usr,<br>
and a dedicated X11 directory where lib and include are
searched.<br>
<br>
Currently I can hardly imagine anyone compiling and
installing<br>
X11/GTK-based software in a macOS environment without
macports or<br>
homebrew. These, however, install in /opt/local (macports)
or<br>
/usr/local/opt (homebrew).<br>
<br>
Another, maybe more sever problem is that the fortran
compile-option<br>
-mcmodel=medium is not supported on the M1 architecture.
After setting<br>
it to small, I managed to get the binaries compiled but
the initial ish<br>
calculations do not complete even after several hours.<br>
<br>
Furthermore, I got a message<br>
"ESP-r_V13.3.14_Src/models/training/cg_ctl/daylit_coef/cfg: No such file<br>
or directory".<br>
<br>
How can I provide some useful input for getting the
compilation running<br>
on macOS? Should I try to "fix" the Install-script and
share a patch?<br>
<br>
Best, Lars.<br>
<br>
<br>
_______________________________________________<br>
esp-r mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:esp-r@lists.strath.ac.uk">esp-r@lists.strath.ac.uk</a><br>
<a href="http://lists.strath.ac.uk/mailman/listinfo/esp-r"
moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.strath.ac.uk/mailman/listinfo/esp-r</a><br>
</div>
</span></font></div>
</blockquote>
</body>
</html>