[ncl-install] error while installing ncl
Kevin Hallock
hallock at ucar.edu
Fri Mar 8 14:36:13 MST 2019
Hi Ke She,
Based on the output of “which ncl”, it looks like the ncl binary you are calling (“/usr/local/ncl-current/bin/ncl”) is not the one provided by your conda environment (which should be “/anaconda3/envs/ncl_stable/bin/ncl” in this case). The “ncl -V” output of “6.5.0” demonstrates this as well, because “conda list” shows NCL 6.6.2 is installed in your “ncl_stable” environment.
Are you perhaps modifying your $PATH environment variable and prepending “/usr/local/ncl-current/bin” after activating your “ncl_stable” conda environment? If you try running “ncl $NCARG_ROOT/lib/ncarg/nclex/nug/NUG_multi_timeseries.ncl” immediately after activating your environment (“conda activate ncl_stable”), does this error still occur?
Thanks,
Kevin
> On Mar 8, 2019, at 11:23 AM, uqehx via ncl-install <ncl-install at ucar.edu> wrote:
>
> Hello,
>
> i tried to install ncl, the problem i had is, when i want to run the instruction: ncl $NCARG_ROOT/lib/ncarg/nclex/nug/NUG_multi_timeseries.ncl, error occurs as follow:
>
> Copyright (C) 1995-2018 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.5.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ <http://www.ncl.ucar.edu/> for more details.
> fatal:syntax error: function wrf_cloud_fraction expects 2 arguments, got 7
> fatal:error at line 1648 in file /anaconda3/envs/ncl_stable/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>
> fatal:syntax error: function wrf_ctt expects 8 arguments, got 9
> fatal:error at line 1940 in file /anaconda3/envs/ncl_stable/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>
> fatal:Syntax Error in block, block not executed
> fatal:error at line 1990 in file /anaconda3/envs/ncl_stable/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>
>
>
>
> here are the infos that wanted:
>
> (ncl_stable) SK:~ sk$ conda list -n ncl_stable
> # packages in environment at /anaconda3/envs/ncl_stable:
> #
> # Name Version Build Channel
> blas 1.1 openblas conda-forge
> boost-cpp 1.68.0 h6f8c590_1000 conda-forge
> bzip2 1.0.6 h1de35cc_1002 conda-forge
> ca-certificates 2018.11.29 ha4d7672_0 conda-forge
> cairo 1.16.0 h9247486_1000 conda-forge
> curl 7.64.0 heae2a1f_0 conda-forge
> esmf 7.1.0 h5f93626_1004 conda-forge
> expat 2.2.5 h0a44026_1002 conda-forge
> fontconfig 2.13.1 h1e4e890_1000 conda-forge
> freetype 2.9.1 h597ad8a_1005 conda-forge
> freexl 1.0.5 h1de35cc_1002 conda-forge
> geos 3.7.1 h0a44026_1000 conda-forge
> geotiff 1.4.3 hce09ea4_1000 conda-forge
> gettext 0.19.8.1 hcca000d_1001 conda-forge
> giflib 5.1.4 h1de35cc_1001 conda-forge
> glib 2.58.3 h2836805_1001 conda-forge
> gsl 2.4 blas_openblashaeb7eea_1004 [blas_openblas] conda-forge
> hdf4 4.2.13 hf3c6af0_1002 conda-forge
> hdf5 1.10.4 nompi_h646315f_1105 conda-forge
> hdfeos2 2.20 h207910d_1000 conda-forge
> hdfeos5 5.1.16 he536a34_4 conda-forge
> icu 58.2 h0a44026_1000 conda-forge
> jasper 1.900.1 h636a363_1006 conda-forge
> jpeg 9c h1de35cc_1001 conda-forge
> json-c 0.13.1 h1de35cc_1001 conda-forge
> kealib 1.4.10 hf5ed860_1002 conda-forge
> krb5 1.16.3 h24a3359_1000 conda-forge
> libcurl 7.64.0 h76de61e_0 conda-forge
> libcxx 7.0.0 h2d50403_1 conda-forge
> libdap4 3.19.1 hae55d67_1000 conda-forge
> libedit 3.1.20170329 hcfe32e1_1001 conda-forge
> libffi 3.2.1 h0a44026_1005 conda-forge
> libgdal 2.4.0 h89caebc_1002 conda-forge
> libgfortran 3.0.1 0 conda-forge
> libiconv 1.15 h1de35cc_1004 conda-forge
> libkml 1.3.0 h71ee1b2_1009 conda-forge
> libnetcdf 4.6.2 h6b88ef6_1001 conda-forge
> libpng 1.6.36 ha441bb4_1000 conda-forge
> libpq 10.6 hbe1e24e_1000 conda-forge
> libspatialite 4.3.0a h0cd9627_1026 conda-forge
> libssh2 1.8.0 hf30b1f0_1003 conda-forge
> libtiff 4.0.10 h79f4b77_1001 conda-forge
> libxml2 2.9.8 hf14e9c8_1005 conda-forge
> llvm-meta 7.0.0 0 conda-forge
> mpi 1.0 mpich conda-forge
> mpich 3.2.1 h71abe9c_1008 conda-forge
> ncl 6.6.2 blas_openblash17e504c_0 [blas_openblas] conda-forge
> ncurses 6.1 h0a44026_1002 conda-forge
> netcdf-fortran 4.4.5 h5ce9b53_1000 conda-forge
> openblas 0.3.3 hdc02c5d_1001 conda-forge
> openjpeg 2.3.0 h3bf0609_1003 conda-forge
> openmp 7.0.0 h2d50403_0 conda-forge
> openssl 1.0.2r h1de35cc_0 conda-forge
> pcre 8.41 h0a44026_1003 conda-forge
> pixman 0.34.0 h1de35cc_1003 conda-forge
> poppler 0.67.0 hb974355_6 conda-forge
> poppler-data 0.4.9 1 conda-forge
> postgresql 10.6 ha1bbaa7_1000 conda-forge
> proj4 5.2.0 h1de35cc_1001 conda-forge
> readline 7.0 hcfe32e1_1001 conda-forge
> sqlite 3.26.0 h1765d9f_1001 conda-forge
> tk 8.6.9 ha441bb4_1000 conda-forge
> tzcode 2018g h1de35cc_1001 conda-forge
> udunits2 2.2.27.6 h776b7f1_1001 conda-forge
> xerces-c 3.2.2 h44e365a_1001 conda-forge
> xz 5.2.4 h1de35cc_1001 conda-forge
>
> (ncl_stable) SK:~ sk$ conda --version
> conda 4.6.8
>
> (ncl_stable) SK:~ sk$ which ncl
> /usr/local/ncl-current/bin/ncl
>
> (ncl_stable) SK:~ sk$ ncl -V
> 6.5.0
>
> (ncl_stable) SK:~ sk$ env | grep NCARG
> OLD_NCARG_ROOT=/usr/local/ncl-current
> NCARG_ROOT=/anaconda3/envs/ncl_stable
>
>
> best wishes
> Ke Shi
>
>
>
> _______________________________________________
> 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/20190308/56685daf/attachment-0001.html>
More information about the ncl-install
mailing list