[ncl-install] ncl error

Mary Haley haley at ucar.edu
Tue Apr 29 08:16:52 MDT 2014


Lia,

The issue appears to be with your setting of the DISPLAY environment variable.

You shouldn't need to set this at all, so try *not* setting it.  You will need to logout and log back in for any environment variable changes to take effect, if you put them in a .* file in your home directory.

--Mary

On Apr 26, 2014, at 6:32 PM, Lia Pervin <plia at ualberta.ca> wrote:

> Dear All,
> 
> I am really in trouble with ncl. I have tried with OPeNDAP-enabled and not enabled version of  SL6.5_x86_64_gcc447 for my unix system (bash). The ncl was downloaded and un tar in the directory /global/scratch/username/NCL_2. I set the following...
>  export NCARG_ROOT=/global/scratch/username/NCL_2
> export PATH=$NCARG_ROOT/bin:$PATH
> export DISPLAY=192.168.1.70:0
> command: ncl util/plotgrids.ncl which gives the following. 
> 
> University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.2.0
>  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:PID #-4 can't be found in NhlSetValues
> fatal:_NhlCreate:Invalid Parent id #-4
> fatal:PID #-4 can't be found in NhlSetValues
> fatal:Invalid plot ID=-4 passed to NhlGetBB
> fatal:NhlGetValues:PID #-4 is invalid
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 1973 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 3122 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 10095 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 3738 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
> 
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 3857 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
> 
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 120 in file util/plotgrids.ncl
> 
> I really appreciate your kind help to figure out what is wrong.
> 
> Regards
> Lia Pervin
> 
> PhD Student
> 
> Department of Civil and Environmental Engineering
> 
> Office: NREF L 1-006
> 
> University of Alberta
> 
> Mobile: +1 5877104165 
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list