[ncl-install] Error in running ncargf90

Yuanfu Xie yuanfu_xie at yahoo.com
Tue Jan 16 22:46:51 MST 2018


Mary and Ted,
Thank you both for your help. After installing Xcode, it worked but it ran into segmentation fault problem (see my separate email).
Yuanfu 

    On Wednesday, January 17, 2018 1:21 AM, Mary Haley <haley at ucar.edu> wrote:
 

 Yuanfu,
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.

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):

xcode-select --install

https://stackoverflow.com/questions/32893412/command-line-tools-not-working-os-x-el-capitan-macos-sierra-macos-high-sierra

--Mary



On Mon, Jan 15, 2018 at 5:49 PM, Yuanfu Xie via ncl-install <ncl-install at ucar.edu> wrote:


Greetings.
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.
Best regards,
Yuanfu
ncargf90 heun.f90 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 -lbz2xcrun: error: invalid active developer path (/Library/Developer/ CommandLineTools), missing xcrun at: /Library/Developer/ CommandLineTools/usr/bin/xcrun
______________________________ _________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/ mailman/listinfo/ncl-install





   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20180117/2e93e08d/attachment-0001.html>


More information about the ncl-install mailing list