NOTE: Unless you really care about what's going on under the hood, please ignore this entire post and go here: USE THE NEW RTCDS UTILITY
Quote:
|
- the userapps directory is in a new place (/opt/rtcds/userapps). Not everything in the old location was checked into the repository, so we need to check to make sure everything that needs to be is checked in, and that all the models are running the right code.
|
An important new aspect of this upgrade is that we have some new directories and some of the code paths have moved to correspond with the "standard" LIGO CDS filesystem hierarchy:
- rtscore: /opt/rtcds/rtscore/release --> RTS RCG source code (svn: adcLigoRTS)
- userapps: /opt/rtcds/userapps/release --> CDS userapps source for models, RCG C code, medm screens, scripts, etc (svn: cds_user_apps)
- rtbuild: /opt/rtcds/caltech/c1/rtbuild --> RCG build directory
All work should be done in the "userapps" directory, and all builds should be done in the build directory. Some important points:
WARNING: DO NOT MODIFY ANYTHING IN RTSCORE
This is important. The rtscore directory is now just where the RCG source code is stored. WE NO LONGER BUILD MODELS IN THE RTS SOURCE Please use the rtbuild directory instead.
NO MORE MODEL/CODE SYMLINKS
You don't need to link you model or code anywhere to get it to compile. The RCG now uses proper search paths to source in the RCG_LIB_PATH to find the needed source. This has been configured by the admin, so as long as you put your code in the right place it should be found.
ALL CODE/MODELS/ETC GO IN USERAPPS
All RTS code is now stored ENTIRELY in the userapps directory (e.g. /opt/rtcds/userapps/release/isc/c1/models/c1lsc.mdl). This is more-or-less the same as before, except that symlinking is no longer necessary. I have placed a symlink at the old location for convenience.
BUILD ALL MODELS IN RTSCORE
You can run "make c1lsc" in the rtbuild directory, just as you used to in the old core directory. However, don't do that. USE THE NEW RTCDS UTILITY instead. |