#!/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