/[CCFs]/ccf-setup.csh
ViewVC logotype

Diff of /ccf-setup.csh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ccflib, Wed Dec 10 09:54:55 2014 UTC revision 1.5 by ccflib, Thu Dec 11 16:43:59 2014 UTC
# Line 4  Line 4 
4  #  #
5  # Setup to build CCF from user's home  # Setup to build CCF from user's home
6  #  #
7  # $Id$  # $Id: ccf-setup.csh,v 1.4 2014/12/10 17:13:43 ccflib Exp $
8    
9  # Define CCFLIB_HOME  # Define CCFLIB_HOME
10    
11  switch ($USER)  host=`hostname | cut -d. -f1`
12     case [ccflib]:  
13    switch ($host)
14       case [sasbld01]:
15         setenv CCFLIB_HOME "/home/ccflib"         setenv CCFLIB_HOME "/home/ccflib"
16         breaksw         breaksw
17     default :     default :
# Line 20  endsw Line 22  endsw
22  # Add some useful perl modules  # Add some useful perl modules
23    
24  if ( $?PERL5LIB ) then  if ( $?PERL5LIB ) then
25    setenv PERL5LIB /home/ccflib/perl\:$PERL5LIB    setenv PERL5LIB ${CCFLIB_HOME}/perl\:$PERL5LIB
26  else  else
27    setenv PERL5LIB /home/ccflib/perl    setenv PERL5LIB ${CCFLIB_HOME}/perl
28  endif  endif
29    
30  # Initialises the latest SAS installed in /sas  # Initialises the latest SAS installed in /sas
# Line 31  if ( ! -f "$HOME/setsas.csh" ) then Line 33  if ( ! -f "$HOME/setsas.csh" ) then
33    /sas/bin/confsas    /sas/bin/confsas
34  endif  endif
35    
36    setenv LHEASOFT 1
37  source $HOME/setsas.csh  source $HOME/setsas.csh
38    
39  setenv SAS_MEMORY_MODEL Low  setenv SAS_MEMORY_MODEL Low
# Line 43  ccfextseq -v Line 46  ccfextseq -v
46  # Initialises the CVS environment  # Initialises the CVS environment
47  # Users access through the group permissions instead of using CVS_RSH  # Users access through the group permissions instead of using CVS_RSH
48    
49  setenv CVSROOT /home/ccflib/ccfcvs  setenv CVSROOT ${CCFLIB_HOME}/ccfcvs
50    
51  # Defines CCFDEV and sources some additional setup  # Defines CCFDEV and sources some additional setup
52    
53  setenv CCFDEV /home/ccflib/ccfdev  setenv CCFDEV ${CCFLIB_HOME}/ccfdev
54  source $CCFDEV/setup.csh  source $CCFDEV/setup.csh
55    
56  # Add the scripts in $CCFLIB_HOME/bin to PATH  # Add the scripts in $CCFLIB_HOME/bin to PATH
57    
58  setenv PATH /home/ccflib/bin\:$PATH  setenv PATH ${CCFLIB_HOME}/bin\:$PATH

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.27