[ncl-install] NCL install issue

Vanessa Vincente vincente at ucar.edu
Sun Apr 19 21:01:58 MDT 2020


Hello,

I am trying to install NCL on my macOS High Sierra laptop and I am having
issues with testing NCL.

I have installed miniconda:
conda -V returns "conda 4.8.3"

I have created the conda environment and called it "ncl_stable"

I am testing NCL, step 1:
ncl -V returns "6.6.2"

The issue I have is in step 2:
ncl $NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.ncl

this returns...

 Copyright (C) 1995-2019 - All Rights Reserved

 University Corporation for Atmospheric Research

 NCAR Command Language Version 6.6.2

 The use of this software is governed by a License Agreement.

 See http://www.ncl.ucar.edu/ for more details.

 GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :

 --X driver error: DISPLAY environment variable not set

 GKS ERROR NUMBER   25 ISSUED FROM SUBROUTINE GESC  :

 --SPECIFIED WORKSTATION IS NOT OPEN

fatal:Workstation with PID#8 is not open

fatal:Unable to open Workstation-Can't Create

fatal:Unable to access object with id:-4

fatal:_NhlCreate:Invalid Parent id #-4

fatal:PID #-4 can't be found in NhlSetValues

fatal:NhlDraw: Invalid Layer Id: -4

fatal:Unable to update Workstation with PID#-4

fatal:Unable to clear Workstation with PID#-4

fatal:["Execute.c":8637]:Execute: Error occurred at or near line 2742 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl


fatal:["Execute.c":8637]:Execute: Error occurred at or near line 10231 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl


fatal:["Execute.c":8637]:Execute: Error occurred at or near line 20 in file
/Users/Vanessa/miniconda3/envs/ncl_stable/lib/ncarg/nclex/gsun/gsun02n.ncl


Below is the output requested from help page:

(ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ conda list -n ncl_stable

# packages in environment at /Users/Vanessa/miniconda3/envs/ncl_stable:

#

# Name                    Version                   Build  Channel

boost-cpp                 1.72.0               hdf9ef73_0    conda-forge

bzip2                     1.0.8                h0b31af3_2    conda-forge

ca-certificates           2020.4.5.1           hecc5488_0    conda-forge

cairo                     1.16.0            hec6a9b0_1003    conda-forge

certifi                   2020.4.5.1       py38h32f6830_0    conda-forge

cfitsio                   3.470                h84d2f63_2    conda-forge

curl                      7.69.1               h2d98d24_0    conda-forge

esmf                      8.0.0           nompi_hee103b1_6    conda-forge

expat                     2.2.9                h4a8c4bd_2    conda-forge

fontconfig                2.13.1            h6b1039f_1001    conda-forge

freetype                  2.10.1               h8da9a1a_0    conda-forge

freexl                    1.0.5             h1de35cc_1002    conda-forge

geos                      3.8.1                h4a8c4bd_0    conda-forge

geotiff                   1.5.1               hd8796ba_10    conda-forge

gettext                   0.19.8.1          h46ab8bc_1002    conda-forge

giflib                    5.2.1                h0b31af3_2    conda-forge

glib                      2.64.2               h577aef8_0    conda-forge

gsl                       2.6                  ha2d443c_0    conda-forge

hdf4                      4.2.13            h84186c3_1003    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.13               h2324030_0    conda-forge

krb5                      1.17.1               h1752a42_0    conda-forge

libblas                   3.8.0               14_openblas    conda-forge

libcblas                  3.8.0               14_openblas    conda-forge

libcurl                   7.69.1               hc0b9707_0    conda-forge

libcxx                    10.0.0                        0    conda-forge

libdap4                   3.20.4               habf5908_0    conda-forge

libedit                   3.1.20170329      hcfe32e1_1001    conda-forge

libffi                    3.2.1             h4a8c4bd_1007    conda-forge

libgdal                   3.0.4                ha92c1e4_6    conda-forge

libgfortran               4.0.0                         2    conda-forge

libiconv                  1.15              h0b31af3_1006    conda-forge

libkml                    1.3.0             h169b8f9_1011    conda-forge

libnetcdf                 4.7.4           nompi_he461dc0_101    conda-forge

libopenblas               0.3.7                h3d69b6c_4    conda-forge

libpng                    1.6.37               hbbe82c9_1    conda-forge

libpq                     12.2                 h489d428_1    conda-forge

libspatialite             4.3.0a            h658e6c1_1038    conda-forge

libssh2                   1.8.2                hcdc9a53_2    conda-forge

libtiff                   4.1.0                h2ae36a8_6    conda-forge

libwebp-base              1.1.0                h0b31af3_3    conda-forge

libxml2                   2.9.10               h53d96d6_0    conda-forge

llvm-openmp               8.0.1                h770b8ee_0    conda-forge

lz4-c                     1.9.2                h4a8c4bd_0    conda-forge

ncl                       6.6.2               h0197cca_20    conda-forge

ncurses                   6.1               h0a44026_1002    conda-forge

netcdf-fortran            4.5.2           nompi_h0361502_104    conda-forge

openjpeg                  2.3.1                h254dc36_3    conda-forge

openmp                    8.0.1                         0    conda-forge

openssl                   1.1.1f               h0b31af3_0    conda-forge

pcre                      8.44                 h4a8c4bd_0    conda-forge

pip                       20.0.2                     py_2    conda-forge

pixman                    0.38.0            h01d97ff_1003    conda-forge

poppler                   0.67.0               h16886b5_8    conda-forge

poppler-data              0.4.9                         1    conda-forge

postgresql                12.2                 h62ab893_1    conda-forge

proj                      7.0.0                hbce2d5c_3    conda-forge

python                    3.8.2           hd5f0129_6_cpython    conda-forge

python_abi                3.8                      1_cp38    conda-forge

readline                  8.0                  hcfe32e1_0    conda-forge

setuptools                46.1.3           py38h32f6830_0    conda-forge

sqlite                    3.30.1               h93121df_0    conda-forge

tbb                       2018.0.5             h2d50403_0    conda-forge

tiledb                    1.7.7                h84aa2a7_1    conda-forge

tk                        8.6.10               hbbe82c9_0    conda-forge

tzcode                    2019a             h01d97ff_1002    conda-forge

udunits2                  2.2.27.6          h776b7f1_1001    conda-forge

wheel                     0.34.2                     py_1    conda-forge

xerces-c                  3.2.2             h8f8adb3_1004    conda-forge

xz                        5.2.5                h0b31af3_0    conda-forge

zlib                      1.2.11            h0b31af3_1006    conda-forge

zstd                      1.4.4                h4b3e974_3    conda-forge

(ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ conda --version

conda 4.8.3

(ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ which ncl

/Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl

(ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ ncl -V

6.6.2

(ncl_stable) Vanessas-MacBook-Pro:~ Vanessa$ env | grep NCARG

OLD_NCARG_ROOT=/Users/Vanessa/miniconda3/envs/ncl_stable/bin/ncl

NCARG_ROOT=/Users/Vanessa/miniconda3/envs/ncl_stable

Can you please help me with running the tests for NCL and getting it to
work properly?

Many thanks in advance for your help,
Vanessa


-- 
Vanessa Vincente
Associate Scientist
The COMET® Program
University Corporation for Atmospheric Research

*My working hours may differ from your own.  Please do not feel obligated
to reply outside of standard business hours.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20200419/8be07d00/attachment-0001.html>


More information about the ncl-install mailing list