<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Dennis, 
<div class="">thanks for the reply. </div>
<div class=""><br class="">
</div>
<div class="">A fist immediate difference I saw was the output of gcc —version. By combining alias and export path, I managed to obtain </div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">laptop-petrini:ESFM_regrid michele$ gcc --version</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">gcc-7 (Homebrew GCC 7.3.0) 7.3.0</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Copyright (C) 2017 Free Software Foundation, Inc.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">This is free software; see the source for copying conditions.  There is NO</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146); min-height: 15px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">laptop-petrini:ESFM_regrid michele$ uname -a</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(248, 195, 36); background-color: rgb(146, 146, 146);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Darwin <a href="http://laptop-petrini.grs.vrlab.tudelft.nl" class="">
laptop-petrini.grs.vrlab.tudelft.nl</a> 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64</span></div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">But I still get the same error - I really don’t understand why. </div>
<div class=""><br class="">
</div>
<div class="">Right now, the only differences between my output and your output is the Kernel version (I have 17.5, you have 17.7) and the gcc version (I have 7.3.0, you have 6.2.0).</div>
<div class=""><br class="">
</div>
<div class="">Please note that I installed gcc-7 because with ncl 6.5.0 I was getting an error re the fortran library <span style="color: rgb(248, 195, 36); font-family: Menlo; font-size: 13px; background-color: rgb(146, 146, 146);" class="">libgfortran.4.dylib</span>,
 which is not included in gcc-6 - that’s another difference.</div>
<div class=""><br class="">
</div>
<div class="">any thoughts on that? </div>
<div class=""><br class="">
</div>
<div class="">thanks,</div>
<div class="">Michele</div>
<div class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
******************************************************************<br class="">
Michele Petrini, PhD </div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="">
Department of Geoscience and Remote Sensing, TUDelft<br class="">
Delft, The Netherlands<br class="">
<br class="">
<a href="mailto:M.Petrini@tudelft.nl" class="">M.Petrini@tudelft.nl</a> <br class="">
+39 3398367372<br class="">
michele.petrins (Skype alias)<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 26 Jul 2018, at 03:19, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">Hi Michele,<br class="">
<br class="">
</div>
I just ran the example on my MAC with no problems using 6.5.0 and had <b class="">
no problem</b>.<br class="">
<br class="">
</div>
<div class="">THX for including the output from your mchine (appended at the end of this email.)<br class="">
</div>
<div class="">Perhaps there is a setup issue. Unfortunately, I am not knowledgeable enough about
<br class="">
these types of thing. Hopefully, someone will chime in.<br class="">
</div>
<div class=""><br class="">
</div>
%> ncl ESMF_regrid_1.ncl<br class="">
<div class=""><br class="">
-rw-r--r--  1 shea  2200     6840 Jul 25 20:56 <a href="http://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl" class="">
ESMF_regrid_1.ncl</a> <br class="">
-rw-r--r--  1 shea  2200    50104 Jul 25 20:58 <b class=""><a href="http://sst.nc/" class="">sst.nc</a></b><br class="">
-rw-r--r--  1 shea  2200   973768 Jul 25 21:00 <a href="http://source_grid_file.nc/" class="">
source_grid_file.nc</a><br class="">
-rw-r--r--  1 shea  2200   151908 Jul 25 21:00 <a href="http://destination_grid_file.nc/" class="">
destination_grid_file.nc</a><br class="">
-rw-r--r--  1 shea  2200      231 Jul 25 21:00 PET0.RegridWeightGen.Log<br class="">
-rw-r--r--  1 shea  2200  1644652 Jul 25 21:00 NCEP_2_Rect.nc<br class="">
-rw-r--r--  1 shea  2200     9424 Jul 25 21:00 <b class=""><a href="http://sst_regrid.nc/" class="">sst_regrid.nc</a></b><br class="">
-rw-r--r--  1 shea  2200   215451 Jul 25 21:00 <b class="">ESMF_regrid.png<br class="">
<br class="">
</b></div>
<div class=""><b class="">I am attaching to output from<br class="">
<br class="">
</b></div>
<div class="">%><b class=""> </b>ncdump -h <a href="http://sst.nc/" class="">sst.nc</a><b class=""> 
</b>>! out.ncdump_sst.txt<b class=""><br class="">
<br class="">
</b></div>
<div class="">and the<b class=""> </b><b class=""><b class="">ESMF_regrid.</b>.png  
</b>file<b class=""><br class="">
<br class="">
</b></div>
<div class="">Your MAC:<br class="">
<br class="">
</div>
<div class="">
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">laptop-petrini:Downloads michele$ uname -a</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Darwin Micheles-MacBook-Pro.local 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_<wbr class="">X86_64 x86_64</span></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<br class="">
</div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Configured with: --prefix=/Library/Developer/<wbr class="">CommandLineTools/usr --with-gxx-include-dir=/usr/<wbr class="">include/c++/4.2.1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Apple LLVM version 10.0.0 (clang-1000.10.25.5)</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Target: x86_64-apple-darwin17.5.0</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">Thread model: posix</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">InstalledDir: /Library/Developer/<wbr class="">CommandLineTools/usr/bin</span></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote"> <br class="">
</div>
<div class="gmail_quote">My MAC:<br class="">
<br class="">
%> uname -a<br class="">
Darwin sherkin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64<br class="">
</div>
<div class="gmail_quote"><br class="">
%> gcc --version<br class="">
gcc (GCC) 6.2.0<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On Wed, Jul 25, 2018 at 7:45 AM, Michele Petrini - CITG <span dir="ltr" class="">
<<a href="mailto:M.Petrini@tudelft.nl" target="_blank" class="">M.Petrini@tudelft.nl</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" class="">
<div class="">Dear ncl helpdesk,</div>
<div class=""><br class="">
</div>
<div class="">I am trying to remap ocean data from a global rectlinear grid to the CISM Greenland grid using ncl.</div>
<div class=""><br class="">
</div>
<div class="">As a fist step, I am trying to run <a href="https://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;font-variant-ligatures:normal" target="_blank" class="">ESMF_regrid_1.ncl</a> from <a href="https://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank" class="">htt<wbr class="">ps://www.ncl.ucar.edu/<wbr class="">Applications/ESMF.shtml</a>. </div>
<div class=""><br class="">
</div>
<div class="">I get the following error</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">sh: line 1: 33907 Abort trap: 6           ESMF_RegridWeightGen --help > /dev/null 2>&1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(248,195,36);background-color:rgb(146,146,146)" class="">
<span style="font-variant-ligatures:no-common-ligatures" class="">(0)<span class="gmail-m_3687136147828251995Apple-tab-span" style="white-space:pre-wrap">
</span>ESMF_regrid_gen_weights: could not find ESMF_RegridWeightGen executable.</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">and I don’t understand why. </div>
<div class=""><br class="">
</div>
<div class="">I am trying to run the script using ncl version 6.5.0 (installed gcc-8) - but I had same problem with older ncl version (for which I had to load di ESFM_regrid module). </div>
<div class=""><br class="">
</div>
<div class="">What I am doing wrong?</div>
<div class=""><br class="">
</div>
<div class="">thanks,</div>
<div class="">M</div>
<div class=""><br class="">
</div>
<div class="">
<div dir="auto" style="overflow-wrap: break-word;" class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
******************************<wbr class="">******************************<wbr class="">******<br class="">
Michele Petrini, PhD </div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<br class="">
Department of Geoscience and Remote Sensing, TUDelft<br class="">
Delft, The Netherlands<br class="">
<br class="">
<a href="mailto:M.Petrini@tudelft.nl" target="_blank" class="">M.Petrini@tudelft.nl</a> <br class="">
+39 3398367372<br class="">
michele.petrins (Skype alias)<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
<span id="cid:1D6234C7-853F-4BA5-915E-CD3BAA195366@grs.vrlab.tudelft.nl"><out.ncdump_sst.txt></span><span id="cid:F2B5266C-C4BE-4259-A95F-3FEB27CCFF64@grs.vrlab.tudelft.nl"><ESMF_regrid.png></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>