<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1516153402996_31379"><span></span></div><div id="yui_3_16_0_ym19_1_1516153402996_31384">Mary and Ted,</div><div id="yui_3_16_0_ym19_1_1516153402996_31384"><br></div><div id="yui_3_16_0_ym19_1_1516153402996_31384">Thank you both for your help. After installing Xcode, it worked but it ran into segmentation fault problem (see my separate email).</div><div id="yui_3_16_0_ym19_1_1516153402996_31384"><br></div><div id="yui_3_16_0_ym19_1_1516153402996_31384">Yuanfu</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, January 17, 2018 1:21 AM, Mary Haley <haley@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv5498726663"><div><div dir="ltr"><div class="yiv5498726663gmail_default" style="font-size:small;">Yuanfu,</div><div class="yiv5498726663gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv5498726663gmail_default">Idon't think this is an ncargf90 problem, but rather a gfortran problem. And I believe the issue is with your xcode being out-of-date with your gfortran. This can happen if you've upgraded your system lately.<br clear="none"><br clear="none">If you google the "missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun" error message, you will see some suggestions that you need to fix the developer tools on your Mac by typing (from a UNIX terminal window):<br clear="none"><br clear="none">xcode-select --install<br clear="none"><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="https://stackoverflow.com/questions/32893412/command-line-tools-not-working-os-x-el-capitan-macos-sierra-macos-high-sierra">https://stackoverflow.com/questions/32893412/command-line-tools-not-working-os-x-el-capitan-macos-sierra-macos-high-sierra</a><br clear="none"></div><div class="yiv5498726663gmail_default"><br clear="none"></div><div class="yiv5498726663gmail_default">--Mary</div><div class="yiv5498726663gmail_default"><br clear="none"></div><div class="yiv5498726663gmail_default"><br clear="none"></div><div class="yiv5498726663gmail_default"><br clear="none"></div></div><div class="yiv5498726663gmail_extra"><br clear="none"><div class="yiv5498726663gmail_quote">On Mon, Jan 15, 2018 at 5:49 PM, Yuanfu Xie via ncl-install <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:ncl-install@ucar.edu" target="_blank" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>></span> wrote:<br clear="none"><blockquote class="yiv5498726663gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv5498726663yqt5563474057" id="yiv5498726663yqt57523"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619"><br clear="none"></div><div id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619">Greetings.</div><div id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619"><br clear="none"></div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619">I am trying to compile a Fortran code using the command of ncargf90. It returned an error message (see the attached messages). I do not see any file named xcrun on my computer. Would you give me some help on how to resolve this issue? Thank you.</div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619"><br clear="none"></div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619">Best regards,</div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619"><br clear="none"></div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619">Yuanfu</div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619"><br clear="none"></div><div id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11675" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11676" style="">ncargf90 heun.f90 </span></div><div id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11677" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11678" style="">gfortran -fPIC -fno-range-check -m64 -Wall -fopenmp -O heun.f90 -L/Users/xieyuanfu/plotting/ ncl_ncarg-6.4.0-MacOS_10.12_ 64bit_gnu530/lib -L/opt/X11/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lXrender -lbz2</span></div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11619">
</div><div dir="ltr" id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11679" style="margin-top:0px;margin-bottom:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;"><span id="yiv5498726663m_-2589598804590622395yui_3_16_0_ym19_1_1516063303451_11680" style="">xcrun: error: invalid active developer path (/Library/Developer/ CommandLineTools), missing xcrun at: /Library/Developer/ CommandLineTools/usr/bin/xcrun</span></div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-install mailing list<br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/ mailman/listinfo/ncl-install</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </div> </div> </div></div></body></html>