blob: ced5b4d11116a7506049028c4e8bba774699288c (
plain)
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
|
#!/bin/csh -f
#
# This is a simple script demo for Draw Module on Unix platform.
#
# The V.E. CASROOT must be setted to the directory where CasCade 3.0 has been
# downloaded.
#
setenv station `uname`
if ( ${station} == "IRIX64" ) setenv station IRIX
if (! ($?LD_LIBRARY_PATH) ) setenv LD_LIBRARY_PATH ""
setenv LD_LIBRARY_PATH "${CASROOT}/${station}/lib:${LD_LIBRARY_PATH}"
if ( ${station} == "AIX" ) then
setenv LIBPATH ${LD_LIBRARY_PATH}
endif
if ( ${station} == "HP-UX" ) then
setenv SHLIB_PATH ${LD_LIBRARY_PATH}
endif
if ( ${station} == "Linux" ) then
setenv LIBPATH "/usr/X11R6/lib:${LD_LIBRARY_PATH}"
endif
#
# This is for setting VE used by Draw
#
# POP : Since C31 Version ; this Varaible are not Mandatory
#setenv DRAWHOME $CASROOT/src/DrawResources
#setenv DRAWDEFAULT $DRAWHOME/DrawDefault
echo ""
echo " Running demo using :"
echo ""
echo "LD_LIBRARY_PATH : $LD_LIBRARY_PATH"
echo "CASROOT : $CASROOT"
if ($?DRAWHOME) then
echo "DRAWHOME : $DRAWHOME"
endif
if ($?DRAWDEFAULT) then
echo "DRAWDEFAULT : $DRAWDEFAULT"
endif
#
# Run the executable.
#
$CASROOT/${station}/bin/TTOPOLOGY
#
exit
|