[ncl-install] Error in running ncargf90
Mary Haley
haley at ucar.edu
Tue Jan 16 10:21:50 MST 2018
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 -lbz2
> xcrun: 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/20180116/ce1a59b6/attachment-0001.html>
More information about the ncl-install
mailing list