forked from priyanka-raina/dnn-accelerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r6cad.cshrc
executable file
·258 lines (199 loc) · 7.31 KB
/
r6cad.cshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# @(#) Murmann group .csrhc
# Adapted from Leland Systems .cshrc version 3.0.6
# Modified by Paul Wang Lee, 5/9/2004
# Modified by PWL to fit group Linux systems 11/1/2005
#
# Commands in the .cshrc file are executed after /etc/csh.cshrc
# and before those in the .login file. This file is read each time
# you directly or indirectly start a shell process.
#
# This file is used by both tcsh and csh. See the man page for
# tcsh for a list of the many options that the shell supports.
#
# tcsh reads files in the following order:
# /etc/csh.cshrc (system file, for all shells)
# /etc/csh.login (system file, for login shells only)
# ~/.cshrc (user file, for all shells)
# ~/.login (user file, for login shells only)
#------#
# Path #
#------#
# User path customizations go AFTER the endif line.
# First, set up a default path (site_path). The local default
# should be set for you in /etc/csh.cshrc. If none is set, we
# set a resonable default base system path here.
# Modified to reflect path on 'analog'. -PWL-
if ( ! $?site_path ) then
set site_path=( \
/bin /usr/local/bin /usr/bin \
/usr/local/sbin /usr/sbin /sbin \
/usr/pubsw/bin \
/usr/X11R6/bin /usr/bin/X11 \
/usr/etc \
/usr/openwin/bin \
/usr/games \
)
endif
# Now we actually set the path.
# We add your home directory and bin directory to the system list.
# You may add additional path customizations here.
set path=( $site_path ~/bin ~ .)
#------------#
# All Shells #
#------------#
#umask 027 # file protection no read or write for others
# umask 022 is no write but read for others
umask 002
limit coredumpsize 0 # don't write core dumps
set noclobber # don't overwrite existing file w/ redirect
set rmstar # prompt before executing rm *
alias cp 'cp -i' # prompt before overwriting file
alias mv 'mv -i' # prompt before overwriting file
alias rm 'rm -i' # prompt before removing file
if (! $?prompt) exit # exit if noninteractive -- starts faster
# Everything below this line is only for interactive shells
id
#-------------------------#
# Environmental Variables #
#-------------------------#
# Environmental variables are used by both shell and the programs
# the shell runs.
# EDITOR sets the default editor
setenv EDITOR "emacs"
setenv VISUAL "$EDITOR"
#---------------------------------------#
# Shell-Dependent Variables and Aliases #
#---------------------------------------#
# tcsh is a near superset of csh. Since this file is read by
# both shells, we only set those items particular to tcsh if
# tcsh is running. Similarly, we handle csh-only settings here.
if ($?tcsh) then # tcsh settings
set prompt="%m:%~%# " # set prompt to hostname:cwd>
set autolist=ambiguous # display possible completions
set nobeep # do not beep if completions exist
set listmax=50 # ask if completion has >50 matches
set symlinks=ignore # treat symlinks as real
set pushdtohome # pushd w/o arguments defaults to ~
alias back 'cd -' # chdir to previous directory
else # csh settings
set filec # allow Esc filename completion
set host=`hostname | sed -e 's/\..*//'`
alias setprompt 'set prompt="${host}:$cwd:t%"'
alias cd 'chdir \!* && setprompt' # ensure prompt has cwd
setprompt # set the prompt
endif
#-----------------#
# Shell Variables #
#-----------------#
# variables customize the shell. See the man page for the full list.
set history=100 # number of history commands to save
set notify # immediate notification when jobs finish
set ignoreeof # disable ctrl-d from logging out
# experienced users may want to delete this
# cdpath and fignore are time-savers, but can be confusing to novices
# cdpath contains a search path for the cd command
#set cdpath=(. .. ~)
# fignore contains suffixes to ignore for file completion
#set fignore=(\~ .o)
#---------------#
# Shell Aliases #
#---------------#
# Aliases provide a means to add commands and personalize your shell.
# Command aliases
alias .. 'cd ..' # go up one directory
alias quiet '\!* >& /dev/null &' # run a command with no output
alias orig 'cp -p \!:1 \!:1.orig' # backup file
# Aliases which add or alter functionality
alias lpr 'lpr -h' # suppress banner page (saves paper)
alias jobs 'jobs -l' # also show process id's
alias dir 'ls -alg' # show group, size information
#alias kinit 'kinit -t' # obtain a token when getting a ticket
#alias ls 'ls -F' # show file types
#alias enscript enscript -2rGh # print 2up, rotated, fancy banner
#alias ftp ncftp # ncftp is a nicer ftp
#alias talk ytalk # ytalk is a nicer talk
# Typo Protection: a forgiving shell is a friendly shell
#alias figner finger
#alias mroe more
#-------------#
# Completions #
#-------------#
# Programmable completion is one of the nicest features of tcsh.
if ($?tcsh) then
# shell variable and alias commands
complete set 'p/1/s/=/' # set <shell variable>=
complete printenv 'p/1/e/' # printenv <Environmental variable>
complete unsetenv 'p/1/e/' # unsetenv <Environmental variable>
complete setenv 'p/1/e/' # setenv <Environmental variable>
# common commands
complete elm 'c@=@F:'$HOME'/Mail/@' # let elm -f =[TAB] work
# common user subcommands for the AFS fs command
complete fs 'p/1/(setacl listacl listquota examine help mkmount \
rmmount checkservers flush)/'
endif
#-------------------#
# Terminal Settings #
#-------------------#
# turn off needless delays for special characters
stty cr0 nl0 -tabs ff0 bs0
# establish common bindings for terminal functions
stty intr '^C' erase '^?' kill '^U' quit '^\'
# set up common output settings
stty ixany -istrip
# disable the shell's own commandline editing for shell-mode in emacs
if ($?EMACS) then
if ($EMACS == t) then
unset edit
stty -nl -onlcr -echo
endif
endif
#------------------#
# Other scripts #
#------------------#
setenv MANPATH /usr/share/man
# LICENSE SETTINGS
if ($?LM_LICENSE_FILE) then
setenv LM_LICENSE_FILE ${LM_LICENSE_FILE}:1717@cadlic0.stanford.edu
else
setenv LM_LICENSE_FILE 1717@cadlic0.stanford.edu
endif
#------------------#
# Load Modules #
#------------------#
module load base/1.0
# Cadence
module load ic/6.17.701
setenv CDS_LOAD_ENV CSF
setenv CDS_USE_PALETTE
module load mmsim/15.10.514
module load incisive/14.20.003
#module load edi/14.1
# Synopsys
module load hspice/K-2015.06-3
setenv HSP_ADE_INTEG_HOME $HSP_HOME/interface
module load finesim/2012.12-SP3-2
#setenv FINESIM_ADEKIT_LOCATION
module load starrc/G-2012.06-SP3-3
setenv RCXT_HOME_DIR $SYNOPSYS_STARRC_DIR
module load vcs/K-2015.09-SP2-7
module load dc_shell/J-2014.09-SP3
module load icc/J-2014.09-SP3
module load pts/H-2012.12-SP2
# Mentor
module load calibre/2013.2
module load afs/2017.1
setenv AFS_ROOT /cad/mentor/2017.1/bda_root
set path=($path $AFS_ROOT/bin)
set path=($path /home/praina/local/bin)
# Mathworks
module load matlab/2018b-murmann
# TN28 Memory Compiler
#setenv MC2_INSTALL_DIR /tsmc28/libs/2016.10.07/tsn28hpld127spsram_20120200_130a_cec/TSMCHOME/sram/Compiler/tsn28hpld127spsram_20120200_130a/MC2_2012.02.00.c
#set path=($path $MC2_INSTALL_DIR/bin)
#setenv MC_HOME /tsmc28/libs/2016.10.07/tsn28hpld127spsram_20120200_130a_cec/TSMCHOME/sram/Compiler/tsn28hpld127spsram_20120200_130a/
# LICENSE SETTINGS
#if ($?LM_LICENSE_FILE) then
# setenv LM_LICENSE_FILE ${LM_LICENSE_FILE}:/tsmc28/license/MC2_2012.02.00.c/license.dat
#else
# setenv LM_LICENSE_FILE /tsmc28/license/MC2_2012.02.00.c/license.dat
#endif