# # This is a "bare bones" .tcshrc file # Users should to edit it to meet their own needs. # # The commands in this file are executed each time a new tcsh shell # is started. # # Original version from Greg Cook, modified by Natalie Holzwarth # set PBSpath = /opt/torque-1.2.0p4 set Mauipath = /opt/maui-3.2.6p13 unset autologout # Set the Path set MYpath = (/home/natalie/Coursework/bin /home/natalie/Coursework/atomic/code) set LOCALpath = (/usr/local/bin) set JAVApath = (/usr/j2re1.4.1/bin) set Xpath = (/usr/bin/X11) set COMPILERSpath = (/opt/intel/compiler81/ifort/bin /opt/absoft/bin) set LIBpath = (/opt/intel/compiler81/ifort/lib) set Qpath = ($PBSpath/bin $Mauipath/bin) set STDpath = (/usr/sbin /sbin /usr/bin /bin .) set path = ($MYpath $LOCALpath $JAVApath $Xpath $COMPILERSpath $LIBpath $Qpath $STDpath) # Set the path for man set JAVAmanpath = (/usr/j2rel1.4.1/man) set Xmanpath = (/usr/X11R6/man) set COMPILERSmanpath = (/opt/intel/compiler81/ifort/man) set Qmanpath = ($PBSpath/share/man) set STDmanpath = (/usr/local/man:/usr/share/man) setenv MANPATH {$JAVAmanpath}:{$Xmanpath}:{$COMPILERSmanpath}:{$Qmanpath}:{$STDmanpath} setenv NLSPATH /opt/intel/compiler80/ifort/lib/%N # Clean-up from making paths unset PBSpath unset MYpath unset LOCALpath unset JAVApath unset Xpath unset COMPILERSpath unset LIBpath unset Qpath unset STDpath unset JAVAmanpath unset Xmanpath unset COMPILERSmanpath unset Qmanpath unset STDmanpath # list directories in columns alias ls 'ls -CF' # Set limits limit stacksize unlimited #limit openfiles unlimited limit memoryuse unlimited limit datasize unlimited # Prevent inadvertent file destruction set noclobber # Default permissions umask 002 # File completion set filec set autolist # List possibilities on an ambiguous completion set listlinks # Resolve symbolic links so correct filetype is shown set nobeep # Don't beep on incompletions set fignore=(.o .aux .log .err) # Ignore these for completion # Make cd smarter set cdpath = (.. ~) # Set some text viewing/editing options #setenv PAGER "less" # Use less instead of more #setenv EDITOR "emacs -nw" # Use emacs instead of vi (no X-window) #setenv VISUAL "emacs -nw" # Use emacs instead of vi (no X-window) #setenv TEXEDIT "emacs -nw +%d %s" # Use emacs instead of vi (no X-window) #setenv WINTERM "xterm -ls" # Make SGI winterms display xterms #setenv MOZILLA_HOME /usr/local/netscape4.61_strong # Set the PSTILL home (creates PDF files from PS) #setenv PSTILL_PATH /usr/local/pstill_dist # For interactive shells, set the prompt to show the host name and event number. if ( (! $?ENVONLY) && $?prompt ) then setenv PROMPT "`whoami`@<`hostname|cut -d \. -f 1`>`pwd`:" set prompt="$PROMPT" alias cd 'set old=$cwd;chdir \!*;set prompt="`whoami`@<`hostname|cut -d \. -f 1`>`pwd`:"' # disable termcap initialization and deinitialization in less. # this keeps less from clearing the screen on exit. setenv LESS --no-init # set tempory directory setenv TMPDIR /scratch/ # Remember last 1000 commands set history = 1000 endif #Library paths setenv LD_LIBRARY_PATH setenv LD_LIBRARY_PATH /usr/lib/mozilla-1.7.12:$LD_LIBRARY_PATH setenv LD_LIBRARY_PATH /opt/myrinet-1.6.5/lib:$LD_LIBRARY_PATH setenv LD_LIBRARY_PATH /opt/gnu-libs/lapack-3.0.3/lib:$LD_LIBRARY_PATH setenv LD_LIBRARY_PATH /opt/intel/compiler81/ifort/lib:$LD_LIBRARY_PATH setenv ABSOFT /opt/absoft setenv ABSOFT_RT_FLAGS -nounit9 #USEFUL GENERAL PURPOSE ALIASES #prompt before zapping a file alias mv 'mv -i' alias rm 'rm -i' alias cp 'cp -i' #aliases for ms-dos commands alias rename mv alias copy cp alias del rm alias type cat alias cls clear alias dir 'ls -Fasl' #OTHER USEFUL ALIASES alias delete rm alias exit logout alias logoff logout alias quit logout alias log 'kill -9 $$' alias ls 'ls -alF' #distinguish between directories,files, executables alias ll 'ls -Fl' alias lf 'ls -alF|less' alias lft 'ls -alFt|less' alias more less alias h history alias ps 'ps aux|less' #alias enscript a2ps #alias printtxt 'a2ps -A virtual -3 -P olin305_dupl' #alias printpgm 'a2ps -A virtual -2 --line-numbers=1 -P olin305_dupl' #alias printlong 'a2ps -A virtual -2 --chars-per-line=132 -P olin305_dupl' alias printtxt 'enscript -r --columns=3 -G -d olin305_dupl' alias printpgm 'enscript -r -2 -G --line-numbers -d olin305_dupl' alias printt 'enscript -r -2 -G -d olin305_dupl' alias printlong 'enscript -r -1 -G -f Courier7 -d olin305_dupl' alias datadisk 'cd /gpfs0/physp2/natalie/' alias dirs 'ls -Fl | grep /' #list directories only alias files 'ls -Fl | grep -v /' #list files only alias pdf '/usr/bin/acroread' #------------------------------------------------------------------------ # this is for XCRYSDEN ; added by XCRYSDEN installation on # Thu Aug 7 18:26:37 EDT 2003 #------------------------------------------------------------------------ setenv XCRYSDEN_TOPDIR /home/natalie/EL/publiccode/xcrysden/XCRYSDEN setenv XCRYSDEN_SCRATCH $TMPDIR set path = ($XCRYSDEN_TOPDIR $path $XCRYSDEN_TOPDIR/scripts $XCRYSDEN_TOPDIR/util)