Re: .tcshrc error

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 15 Apr 2008 08:27:44 -0600 (MDT)

Ulas,

You have:

   setenv NCARG_BIN "/usr/local/ncarg/bin:$NCARG_BIN"

You are trying to set the NCARG_BIN environment variable, using the
NCARG_BIN environment variable, which doesn't really make sense, especially
since it hasn't been defined yet.

You don't need to set NCARG_BIN anyway, unless you didn't install
NCARG Graphics in one root location (which it looks like you didn't
do). You also don't need NCARG_LIB or NCARG_INCLUDE set for the same
reason.

I think this is what you want to do:

  - Remove these lines:

   setenv NCARG_BIN "/usr/local/ncarg/bin:$NCARG_BIN"
   setenv NCARG_LIB "/usr/local/ncarg/lib:$NCARG_LIB"
   setenv NCARG_INCLUDE "/usr/local/ncarg/include:$NCARG_INCLUDE"

  - Add this line towards the top (before the setting of PATH):

   setenv NCARG_ROOT /usr/local/ncarg

  - Add $NCARG_ROOT/bin to your PATH:

   setenv PATH /usr/bin:/usr/sfw/bin:/usr/local/ncarg/bin:/sbin:/usr/local/bin:/usr/local/sbin:/opt/intel_fc_80/include:/opt/intel_fc_80/bin/:/opt/intel_cc_80/bin/:/opt/intel_cc_80/include:/home/photochemical/MM5V3/RIP:/opt/pgi/linux86/6.2/bin:$NCARG_ROOT/bin:$PATH

--Mary

On Tue, 15 Apr 2008, ulas wrote:

> Hello
>
>
>
> When i login to my user account, i get the following error message:
>
>
>
> .tcshrc: Command not found.
>
> NCARG_BIN: Undefined variable.
>
>
>
> How can i solve this problem
>
>
>
> My .tcshrc file is as follows:
>
>
>
> ".tcshrc" 46 lines, 1423 characters
>
> #@(#)local.profile 1.8 05/07/15 SMI
>
> stty istrip
>
>
>
>
>
> setenv PATH
> "/usr/bin:/usr/sfw/bin:/usr/local/ncarg/bin:/sbin:/usr/local/bin:/usr/local/
> sbin:/opt/intel_fc_80/include:/opt/intel_fc_80/bin/:/opt/intel_cc_80/bin/:/o
> pt/intel_cc_80/include:/home/photochemical/MM5V3/RIP:/opt/pgi/linux86/6.2/bi
> n:$PATH"
>
>
>
> source /opt/intel_fc_80/bin/ifortvars.csh
>
> source /opt/intel_cc_80/bin/iccvars.csh
>
>
>
> setenv MANPATH
> "/usr/dt/man:/usr/local/ncarg/man:/usr/man:/usr/local/man:/opt/intel_fc_80/m
> an:/opt/intel_cc_80/man:/opt/pgi/linux86/6.2/man:$MANPATH"
>
>
>
>
>
> setenv NCARG_BIN "/usr/local/ncarg/bin:$NCARG_BIN"
>
> setenv NCARG_LIB "/usr/local/ncarg/lib:$NCARG_LIB"
>
> setenv NCARG_INCLUDE "/usr/local/ncarg/include:$NCARG_INCLUDE"
>
> setenv RIP_ROOT "/usr/local/MM5V3/RIP:$RIP_ROOT"
>
>
>
>
>
>
>
>
>
> export DISPLAY="193.140.202.30:0.0"
>
>
>
> setenv PATH "/opt/pgi/linux86/6.2/bin:$PATH"
>
> setenv MANPATH "/opt/pgi/linux86/6.2/man:$MANPATH"
>
> setenv LM_LICENSE_FILE "/opt/pgi/license.dat:$LM_LICENSE_FILE"
>
>
>
>
>
>
>
> thanks in advance
>
>
>
>
>
> Ulas Im
>
> PhD Research Assistant
>
> Bogazici University
>
> Institute of Environmental Sciences
>
> Istanbul, Turkey
>
> Tel: +90 212 359 45 29
>
> Fax: +90 212 257 50 33
>
>
>
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Apr 15 2008 - 08:27:44 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 20 2008 - 07:43:23 MDT