/[CCFs]/bin/ccflib.cfg
ViewVC logotype

Annotation of /bin/ccflib.cfg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations)
Tue Jan 24 12:06:27 2023 UTC (22 months, 1 week ago) by ccflib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +7 -2 lines
Set HEASARC path correctly for SAS 16

1 ccflib 1.6 #! /bin/bash
2 ccflib 1.1 #
3 ccflib 1.7 # ccflib.cfg is sourced by autobuild, getdeliveries,
4     # buildlatest and acceptbuild. All run in sasbld01
5 ccflib 1.4 #
6 ccflib 1.10 # $Id: ccflib.cfg,v 1.9 2017/02/20 14:27:19 ccflib Exp $
7 ccflib 1.7 #
8    
9     export CCFLIB_HOME="/home/ccflib"
10 ccflib 1.6
11 ccflib 1.7 # Defines function saslatest to initialise the latest SAS
12 ccflib 1.6
13 ccflib 1.1 saslatest () {
14 ccflib 1.8 #[ ! -f "$HOME/setsas.sh" ] && /sas/bin/confsas
15     #/sas/bin/confsas
16     #. $HOME/setsas.sh 1> /dev/null
17 ccflib 1.10 # export LHEASOFT=1
18     # Set HEASOFT s/w to be compatible with SAS 16
19     export HEADAS="/sasbuild/local/old_sasbld01n/GNU_CC_CXX_6.2/headas/architecture"
20     source $HEADAS/headas-init.sh
21    
22 ccflib 1.8 . ${CCFLIB_HOME}/local/SAS/xmmsas_20160201_1833/setsas.sh 1> /dev/null
23 ccflib 1.1 export SAS_CCF=$SAS_DIR/lib/testccf
24 ccflib 1.5 export SAS_MEMORY_MODEL=Low
25     echo $SAS_MEMORY_MODEL
26 ccflib 1.1 echo "SAS set up complete. SAS_DIR = $SAS_DIR"
27 ccflib 1.10 #
28 ccflib 1.1 }
29    
30 ccflib 1.7 # These are the directories as seen from
31     ccfstore=${CCFLIB_HOME}/ccfstore
32 ccflib 1.2 ccfrepository=$ccfstore/public
33 ccflib 1.1 ccfdir=$ccfrepository
34 ccflib 1.2 ccfrel=$ccfstore/release
35     ccfdeveldir=$ccfstore/devel
36     scisimccfdir=$ccfstore/scisim
37 ccflib 1.1
38 ccflib 1.7 # Include the subdirectory bin in PATH
39    
40     export PATH=${CCFLIB_HOME}/bin:$PATH
41    
42     # Default creation mask for ccflib (755 or rwxr-xr-x)
43 ccflib 1.1
44 ccflib 1.4 umask 022

  ViewVC Help
Powered by ViewVC 1.1.27