<div dir="ltr"><div class="gmail_default" style="font-size:small">Sam,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You tried to post to <a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>, but you must subscribe before you can post:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">ncremap is not an NCL command, but an NCO command.  You may want post your question on the NCO mail list:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><a href="http://nco.sourceforge.net/#Support">http://nco.sourceforge.net/#Support</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">We do see this error when people use ESMF_RegridWeightGen with NCL, and it&#39;s usually because they have a version of gfortran that is not compatible with the version of gfortran that was used to compile ESMF_RegridWeightGen.</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">You have some suspicious looking library locations:</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><div style="margin:0px;font-size:11px;font-family:Menlo">/usr/local/usr/local/lib/i386/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;font-family:Menlo">/usr/local/usr/local/lib/libgfortran.3.dylib</div></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">Note the double &quot;/usr/local&quot;.  This indicates that gfortran may not have been installed correctly.  Also, how exactly as you setting DYLD_LIBRARY_PATH? In general, you shouldn&#39;t need to set this if the correct gfortran is on your search path.</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">--Mary</div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 3:25 PM, Sam Moore <span dir="ltr">&lt;<a href="mailto:sammoore_12@hotmail.co.uk" target="_blank">sammoore_12@hotmail.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">To whom this may concern,<div><br></div><div>I have created a 15x15 global grid using ‘ncks’ and I am attempting to do a conservative remap from the source to that grid using ‘ncremap’, to average my temperature data from 2x2 to 15x15 for input into a model.  Here is the command-line:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:15px;border:0px;outline:0px;font-size:13px;vertical-align:baseline;background-color:rgb(248,248,248);font-family:monospace,sans-serif;word-wrap:normal;overflow:auto;color:rgb(85,85,85)">ncremap -i TempData.nc -g GeneratedGrid.nc -o Output.nc</pre><div><br></div></div><div>When performing this however I receive the following error:</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div style="word-wrap:break-word"><div style="margin:0px;font-size:11px;font-family:Menlo">dyld: Library not loaded: /usr/local/lib/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;font-family:Menlo">  Referenced from: /usr/local/bin/ESMF_RegridWeightGen</div><div style="margin:0px;font-size:11px;font-family:Menlo">  Reason: image not found</div><div style="margin:0px;font-size:11px;font-family:Menlo">/opt/local/bin/ncremap: line 826:  1452 Trace/BPT trap: 5</div></div></div></div></blockquote></div><div><br></div><div>I have been in contact with ESMF support and it is believed I have built the library correctly and ESMF_RegridWeightGen runs okay.  They suggested it could be an ncl / ncremap problem.  I have looked at the following page <a href="http://www.ncl.ucar.edu/Download/macosx.shtml" target="_blank">http://www.ncl.ucar.edu/Download/macosx.shtml</a> and specifically the section at the bottom in an attempt to solve the problem.  I have located the libgfortran.3.dylib with the following output:</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Sams-MacBook-Pro:~ sammoore$ locate  libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/Applications/MATLAB_R2015b.app/sys/os/maci64/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/Library/Frameworks/R.framework/Versions/3.2/Resources/lib/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/Users/sammoore/usr/local/lib/i386/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/Users/sammoore/usr/local/lib/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/opt/local/lib/gcc5/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/opt/local/lib/libgcc/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/local/gfortran/lib/i386/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/local/gfortran/lib/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/local/usr/local/lib/i386/libgfortran.3.dylib</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">/usr/local/usr/local/lib/libgfortran.3.dylib</div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span><br></span></div><div style="margin:0px;line-height:normal"><span>and then attempted to set the environmental variable by</span><font face="Menlo" style="font-size:11px;font-family:Menlo"> export </font><span style="background-color:rgb(255,255,255)"><span style="font-size:11px;font-family:Menlo;color:rgb(51,51,51)">DYLD_LIBRARY_PATH=the above locations</span><font style="font-size:11px;font-family:Menlo;color:rgb(51,51,51)"> </font><font color="#333333">with no luck.  I have also checked I have the </font></span>latest gfortran installed and<span style="font-size:11px"> </span><font face="Menlo"><span style="font-size:11px">which gfortran</span> </font>returns the following output:</div><div><br></div><div style="margin:0px;line-height:normal"><span style="background-color:rgb(255,255,255)"><font color="#333333"><span style="font-family:Menlo;font-size:11px">/usr/local/bin/gfortran</span>.</font></span></div><div style="margin:0px;line-height:normal"><span style="background-color:rgb(255,255,255)"><font color="#333333"><br></font></span></div><div style="margin:0px;line-height:normal"><span style="background-color:rgb(255,255,255)"><font color="#333333">However, I am still receiving the same error message.  Any help in the right direction would be greatly appreciated.  </font></span></div><div style="margin:0px;line-height:normal"><font><span style="background-color:rgb(255,255,255)"><font color="#333333"><br></font></span></font></div><div style="margin:0px;line-height:normal"><font><span style="background-color:rgb(255,255,255)"><font color="#333333">Many thanks,</font></span></font></div><div style="margin:0px;line-height:normal"><font><span style="background-color:rgb(255,255,255)"><font color="#333333"><br></font></span></font></div><div style="margin:0px;line-height:normal"><font><span style="background-color:rgb(255,255,255)"><font color="#333333">Sam Moore.</font></span></font></div></div></blockquote></div><br></div>