[ncl-install] NCL in Python
Kevin Hallock
hallock at ucar.edu
Wed Nov 6 20:02:45 MST 2019
Hi Somnath,
Based on the error message, I think the issue is that XQuartz (an X11 window server for Mac) is not installed.
XQuartz can be downloaded here: https://www.xquartz.org/ <https://www.xquartz.org/>
Please let us know if installing XQuartz does not fix the issue.
I hope this helps!
Kevin
> On Nov 6, 2019, at 7:59 PM, Somnath mondal <smondal at g.clemson.edu> wrote:
>
> I am extremely thankful for your reply.
> I will be pasting the error part first and then output of your commands. I will be grateful if you kindly help.
>
>
> (ncl_stable) bash-3.2$ ncl -V
> dyld: Library not loaded: /opt/X11/lib/libcairo.2.dylib
> Referenced from: /opt/anaconda3/envs/ncl_stable/bin/ncl
> Reason: image not found
> Abort trap: 6
>
> (ncl_stable) bash-3.2$ ncl $NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.ncl
> dyld: Library not loaded: /opt/X11/lib/libcairo.2.dylib
> Referenced from: /opt/anaconda3/envs/ncl_stable/bin/ncl
> Reason: image not found
> Abort trap: 6
>
>
> (ncl_stable) bash-3.2$ which ncl
> /opt/anaconda3/envs/ncl_stable/bin/ncl
>
> (ncl_stable) bash-3.2$ echo $NCARG_ROOT
> /opt/anaconda3/envs/ncl_stable
>
> (ncl_stable) bash-3.2$ conda list -n ncl_stable
> # packages in environment at /opt/anaconda3/envs/ncl_stable:
> #
> # Name Version Build Channel
> boost-cpp 1.70.0 h75728bb_2 conda-forge
> bzip2 1.0.8 h01d97ff_1 conda-forge
> ca-certificates 2019.9.11 hecc5488_0 conda-forge
> cairo 1.16.0 he1c11cd_1002 conda-forge
> cfitsio 3.470 h84d2f63_2 conda-forge
> curl 7.65.3 h22ea746_0 conda-forge
> esmf 8.0.0 h77fb451_1 conda-forge
> expat 2.2.5 h4a8c4bd_1004 conda-forge
> fontconfig 2.13.1 h6b1039f_1001 conda-forge
> freetype 2.10.0 h24853df_1 conda-forge
> freexl 1.0.5 h1de35cc_1002 conda-forge
> geos 3.7.2 h6de7cb9_2 conda-forge
> geotiff 1.5.1 h7e8e167_4 conda-forge
> gettext 0.19.8.1 h46ab8bc_1002 conda-forge
> giflib 5.1.7 h01d97ff_1 conda-forge
> glib 2.58.3 h9d45998_1002 conda-forge
> gsl 2.5 ha2d443c_1 conda-forge
> hdf4 4.2.13 hf3c6af0_1002 conda-forge
> hdf5 1.10.5 nompi_h3e39495_1104 conda-forge
> hdfeos2 2.20 h207910d_1000 conda-forge
> hdfeos5 5.1.16 h60f75e3_5 conda-forge
> icu 64.2 h6de7cb9_1 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 h6659575_1005 conda-forge
> krb5 1.16.3 hcfa6398_1001 conda-forge
> libblas 3.8.0 14_openblas conda-forge
> libcblas 3.8.0 14_openblas conda-forge
> libcurl 7.65.3 h16faf7d_0 conda-forge
> libcxx 9.0.0 h89e68fa_1 conda-forge
> libdap4 3.20.4 habf5908_0 conda-forge
> libedit 3.1.20170329 hcfe32e1_1001 conda-forge
> libffi 3.2.1 h6de7cb9_1006 conda-forge
> libgdal 3.0.2 h0158245_0 conda-forge
> libgfortran 4.0.0 2 conda-forge
> libiconv 1.15 h01d97ff_1005 conda-forge
> libkml 1.3.0 hed7d534_1010 conda-forge
> libnetcdf 4.7.1 nompi_he14bcb6_101 conda-forge
> libopenblas 0.3.7 h4bb4525_3 conda-forge
> libpng 1.6.37 h2573ce8_0 conda-forge
> libpq 11.5 h31a01ba_2 conda-forge
> libspatialite 4.3.0a hb0905fd_1031 conda-forge
> libssh2 1.8.2 hcdc9a53_2 conda-forge
> libtiff 4.0.10 hd08fb8f_1003 conda-forge
> libxml2 2.9.10 h53d96d6_0 conda-forge
> llvm-openmp 8.0.1 h770b8ee_0 conda-forge
> lz4-c 1.8.3 h6de7cb9_1001 conda-forge
> mpi 1.0 mpich conda-forge
> mpich 3.3.1 hc856adb_1 conda-forge
> ncl 6.6.2 h3940fbb_12 conda-forge
> ncurses 6.1 h0a44026_1002 conda-forge
> netcdf-fortran 4.4.5 ha98af74_1003 conda-forge
> openjpeg 2.3.1 hdc36067_1 conda-forge
> openmp 8.0.1 0 conda-forge
> openssl 1.1.1d h0b31af3_0 conda-forge
> pcre 8.43 h4a8c4bd_0 conda-forge
> pixman 0.38.0 h01d97ff_1003 conda-forge
> poppler 0.67.0 hd5eb092_7 conda-forge
> poppler-data 0.4.9 1 conda-forge
> postgresql 11.5 h26bc10f_2 conda-forge
> proj 6.2.0 hca663eb_1 conda-forge
> readline 8.0 hcfe32e1_0 conda-forge
> sqlite 3.30.1 h93121df_0 conda-forge
> tbb 2018.0.5 h2d50403_0 conda-forge
> tiledb 1.6.2 h4f44bfb_1 conda-forge
> tk 8.6.9 h2573ce8_1003 conda-forge
> tzcode 2019a h01d97ff_1002 conda-forge
> udunits2 2.2.27.6 h776b7f1_1001 conda-forge
> xerces-c 3.2.2 hbda6038_1004 conda-forge
> xz 5.2.4 h1de35cc_1001 conda-forge
> zlib 1.2.11 h0b31af3_1006 conda-forge
> zstd 1.4.0 ha9f0a20_0 conda-forge
>
>
>
>
>
> On Wed, Nov 6, 2019 at 9:40 PM Kevin Hallock <hallock at ucar.edu <mailto:hallock at ucar.edu>> wrote:
> Hi Somnath,
>
> I’m sorry to hear you’re having trouble getting NCL installed.
>
> Could you please copy and paste the complete error message you got?
>
> Also, could you please run the following commands and reply with their output as well:
> which ncl
> echo $NCARG_ROOT
> conda list -n ncl_stable
>
> Thanks,
> Kevin
>
>> On Nov 6, 2019, at 5:03 PM, Somnath mondal via ncl-install <ncl-install at ucar.edu <mailto:ncl-install at ucar.edu>> wrote:
>>
>> Hello,
>>
>> I am trying to use NCL in a conda environment after installing it in a separate environment ncl_stable. Once I typed ncl -v i got error describing 'dyId error:Library not loaded' although I am supposed to get an image of climate time-series as instructed in your website.
>>
>> I am confused and I will be extremely grateful if you kindly help me out.
>>
>> Eager to hear from you.
>>
>> Regards,
>> Somnath Mondal
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20191106/6f19f89b/attachment-0001.html>
More information about the ncl-install
mailing list