Re: ctrans: FATAL

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 29 Oct 2008 08:04:48 -0600 (MDT)

Samrat,

It looks like either your graphcaps didn't get built properly, your
NCARG_ROOT is not set correctly, or else your graphcaps don't have the
proper read permissions. I'm guessing your graphcaps didn't get built
properly.

Can you type the following and send me the output:

      which ctrans
      printenv NCARG_ROOT
      ls -l $NCARG_ROOT/lib/ncarg/graphcaps

Is there a reason you are building from source code rather than
using a precompiled binary? Even though the binary was built with
GNU-compilers, you can usually link to the libraries using other
compilers.

--Mary

On Wed, 29 Oct 2008, Samrat Rao wrote:

> Hi,
    I downloaded the NCL 5.0.0 source code and compiled it (using Intel's
compilers) for NCAR Graphics. There was no error while compiling. But when i
issued the commands:

$: ncargex cpex08
Some compiling is done, a metafile cpex08.ncgm is created, and then when i
type
$ ctrans -d X11 cpex08.ncgm
    I get the errors:
ctrans: FATAL -
open(/usr/local/ncarg_5.0.0/lib/ncarg/graphcaps/^Yï,O_RDONLY)
ctrans: FATAL - Can't initialize
device(/usr/local/ncarg_5.0.0/lib/ncarg/graphcaps/^Yï) [
open(/usr/local/ncarg_5.0.0/lib/ncarg/graphcaps/^Yï,O_RDONLY) ]

   Similar errors occur for other examples also. Typing echo $DISPLAY on the
command prompt give the following output
:0.0 .This seems to be right. So how do i solve the problem?

Thanks!

-- 
Samrat Rao
Department of Mechanical Engineering
Indian Institute of Science
Bangalore - 560012, India

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Wed Oct 29 2008 - 08:04:48 MDT

This archive was generated by hypermail 2.2.0 : Sat Nov 01 2008 - 07:16:33 MDT