Re: load control file

From: <cluo_at_nyahnyahspammersnyahnyah>
Date: Wed, 27 Jun 2007 17:36:56 -0700 (PDT)

Hi,

Thanks for help! I put this setenv in .cshrc file, and run the script.
same thing as before. Here is my .cshrc file

# 04/19/00 -- sgi (irix) sample .cshrc file

# set default permissions mask -- the permissions turned off by default.
# here turn off write permission for everyone but me, allow read/execute
# for all others
   umask 022

   source ~/.aliases
# NCARG
# setenv NCARG_ROOT /usr/local
# setenv NCARG_LIB /usr/local/lib64/r4i4 # Single precision libraries
   setenv NCARG_ROOT /contrib
   setenv PATH /contrib/bin:$PATH

# Set path.
   setenv PATH
"$HOME/bin:/usr/sbin:/usr/bsd:/usr/bin:/usr/etc:/usr/local/bin:/b
in:/etc:/usr/bin/X11:/usr/lib:/fs/local/bin:."

# Man path
   setenv MANPATH
"/usr/share/catman:$HOME/man:/usr/local/man:/usr/man:/fs/scd/h
ome0/consult1/man:/fs/local/man"

setenv SHELL /bin/csh

# which editor should applications start when asked for a real editor
setenv EDITOR /usr/bin/vi
setenv VISUAL /usr/bin/vi

# what programs should be used to page the display for the man and
# mail commands

setenv PAGER more

# name of node being used; save it in HOST for later use
setenv HOST "`uname -n `"

# Modules

source /opt/modules/modules/init/`basename $SHELL`
module purge
module load MIPSpro mpt scsl nqe modules

# X Windows users:
# Be sure to specify fully qualified hostname
# setenv DISPLAY hostname:displaynumber.screennumber

# By default, the csh prompt is set to "hostname% "

# Some handy aliases

alias h history
alias ls '/bin/ls -xF \!*'
alias mail /usr/ucb/mail
alias pwd 'echo $cwd'

# End

> Looks like your NCARG_ROOT is not set correctly. Try
>
> setenv NCARG_ROOT /contrib
>
> See:
>
> http://www.ncl.ucar.edu/Support/supers.shtml
>
> for other details.
>
> Fred Clare
>
> On Jun 27, 2007, at 5:52 PM, cluo_at_uci.edu wrote:
>
>> Hi all,
>>
>> I want to make plots on NCAR tempest machine by ncl. But got the
>> trouble
>> to load the control files. I tried to use:
>>
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>>
>> and
>>
>> load "gsn_code.ncl"
>> load "gsn_csm.ncl"
>> load "shea_util.ncl"
>> load "contributed.ncl"
>>
>> Both don't work either. The errors are:
>>
>> fatal:Could not open (gsn_code.ncl)
>> fatal:error at line 1
>>
>> fatal:Could not open (gsn_csm.ncl)
>> fatal:error at line 2
>>
>> fatal:Could not open (shea_util.ncl)
>> fatal:error at line 3
>>
>> fatal:Could not open (contributed.ncl)
>> fatal:error at line 4
>>
>> Thanks for advance for any help!
>>
>> Chao
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 27 2007 - 18:36:56 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 29 2007 - 11:16:18 MDT