= KAGRA VIS Operations Manual - Info on cdscfg utilities = [[../|Back to Operation Manual main page]] '''Note: needs major edit - stuff at KAGRA does not seem to be in the LIGO places''' The directory `/ligo/cdscfg` contains utilities to set up a standard environment in several shells and programming environments including bash, csh, Perl and TCL. These are documented further in [[https://dcc.ligo.org/LIGO-T1000379|T1000379]] == Site/IFO Values == The directories `/ligo/cdscfg/site` and `/ligo/cdscfg/ifo` (on some of the front ends it is `/opt/cdscfg/site` etc) should each contain single files whose names specify the site and interferometer according to the following table: ||Location||${site}||${ifo}|| ||'''KAGRA'''||'''kamioka'''||'''k1'''|| ||Caltech – 40m||cit||c1|| ||GEO||geo||g1|| ||LHO Interferometers||lho||h1|| || ||lho||h2|| ||LLO Interferometer||llo||l1|| ||MIT - LASTI||mit||m1|| ||Stanford – Engr. Test Facility||stn||s1|| ||Scratch test stands||tst||x0|| ||LHO Test Stands||tst||x1|| ||LLO Test Stands||tst||x2|| ||Caltech Test Stands||tst||x3|| == Shell Variables == cdscfg makes available the following shell variables which should be used in scripts. ||Variable||Definition|| ||SCRIPTDIR||Directory for IFO scripts|| ||MEDMDIR||Top-level directory for MEDM screens|| ||TARGETDIR||Top-level directory for front-end executables|| ||CHANSDIR||Top-level directory for filters, channel lists|| ||SYSBIN||PATH to system executables|| ||SYSLIB||LD_LIBRARY_PATH to system libraries|| ||EPICSBIN||PATH to EPICS executables|| ||EPICSLIB||LD_LIBRARY_PATH to EPICS libraries|| ||GDSDIR||Top-level GDS directory|| ||GDSBIN||PATH for GDS executables|| ||GDSLIB||LD_LIBRARY_PATH to GDS libraries|| ||MINPATH||Minimal PATH (PATH is set to this)|| ||MINLIB||Minimal LD_LIBRARY_PATH (LD_LIBRARY_PATH is set to this)|| ||MA TDIR||Top-level MATLAB directory|| ||LIGONDSIP||local NDS server for ifo|| ||SITE||LIGO site (upper-case)|| ||site||ligo site (lower-case)|| ||IFO||IFO label (upper-case)|| ||ifo||ifo label (lower-case)|| ||IFOLET||IFO letter from label (upper-case)|| ||IFONUM||IFO number from label|| ||ASC, GDS, HPI, IOO, IMC, ISC, ISI, LSC, OMC, PEM, PSL, SEI, SUS, SYS, TCS, VE||IFO-specific channel prefix for EPICS (i.e. L1:ASC)||