Patrick,
We use NCAR Graphics on Solaris too. Your attached sample file cpex08.ncgm
displays perfectly on my X terminal.
I have seen lots of black ctrans windows due to various causes. IMO ctrans is a
little tricky to use on X windows systems. Try some of the following:
1. Click once in the black window after it comes up. ctrans is a sequential
frame viewer, and you have to click in the window to get the next frame to
display.
2. X windows colormap overallocated. Some X terminals use a 256-color map with
a color sharing system. My experience is the sharing system can be
misconfigured, and various softwares can hog the color map. Try adding the
-pcmap switch to your ctrans command, or close (not just minimize) all
graphics-intense windows, especially Netscape and Citrix/MS Windows, before
running ctrans.
3. GKS graphics kernel out of date. Black windows resulted when we tried to
use new 24-bit-color terminals with older graphics softwares that only knew
about 16-bit color maps. A clumsy workaround was found by configuring these
terminals for "default 16-bit pseudocolor". I don't have a good recipe for
fixing this yet.
I hope this helps.
Dave Allured
Software Engineer
NOAA-CIRES Climate Diagnostics Center
R/CDC1
325 Broadway
Boulder, Colorado 80305-3328 USA
Phone: 303-497-6825
> Date: Fri, 15 Feb 2002 11:03:13 -0600
> From: "Patrick O'Reilly" <patrick.oreilly@uni.edu>
> Subject: problem with ctrans?
> To: ncarg-talk@UCAR.EDU
>
> Hello,
>
> I have installed from source NCAR Graphics 4.2.3 on a Sun Sparc
> with Solaris 8 and the gcc/g77 compilers. The install seemed
> to go well, and when I run an example to test, I get what seems
> like a normal response.
>
> >[weather@cirrus]#ncargex cpex08
>
> >NCAR Graphics Fortran Example <cpex08>
> >
> > Copying cpex08.f
> >
> > Copying cpexcc.f
> >
> >Compiling and linking...
> >g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib
> -L/usr/local/lib -L/usr/openwin/lib -L/usr/dt/lib -lncarg
> -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -lXext
> >
> >Executing <cpex08>...
> >
> > PLOT TITLE WAS EXAMPLE 8
> > TIME TO DRAW PLOT WAS 0.
> > INTEGER WORKSPACE USED 120
> > REAL WORKSPACE USED 400
> > AREA MAP SPACE USED 93170
> >
> >Metafile file is named cpex08.ncgm.
>
> Next I issue the command: ctrans -d X11 cpex08.ncgm and a
> window pops open but is black - no plot. I have attached
> the cpex08.ncgm file, it is almost 120K, so there's something
> there besides black. This strangely also happens on another
> system I just installed the NCAR Graphics binaries on, a PC
> running Redhat 7.1. Can anyone tell me what I am missing here?
>
> Thank you in advance for any help.
>
> Patrick
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Patrick O'Reilly Support Scientist
> The STORM Project patrick.oreilly@uni.edu
> 208 Latham Hall ph: 319-273-3789
> University of Northern Iowa
> Cedar Falls, IA 50614
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2b29 : Sun Feb 17 2002 - 18:37:52 MST