40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Tue Apr 17 11:05:04 2012, Jamie, Update, CDS, CDS upgrade in progress 
    Reply  Tue Apr 17 19:03:09 2012, Jamie, Update, CDS, CDS upgrade in progress 
       Reply  Wed Apr 18 19:59:48 2012, Jamie, Update, CDS, CDS upgrade success 
          Reply  Fri Apr 20 19:54:57 2012, Jamie, Update, CDS, CDS upgrade problems 
             Reply  Sat Apr 21 17:38:19 2012, Jamie, Update, CDS, dtt, dataviewer working; problem with trend frames 
                Reply  Sat Apr 21 21:10:34 2012, Jamie, Update, CDS, trend frame issue partially resolved 
                   Reply  Tue Apr 24 14:35:37 2012, Jamie, Update, CDS, limited second trend lookback 
             Reply  Sat Apr 21 20:40:28 2012, Jamie, Update, CDS, framebuilder frame writing working again 
          Reply  Tue Apr 24 14:55:00 2012, Jamie, Update, CDS, cds code paths (rtscore, userapps) have moved 
Message ID: 6562     Entry time: Tue Apr 24 14:55:00 2012     In reply to: 6546
Author: Jamie 
Type: Update 
Category: CDS 
Subject: cds code paths (rtscore, userapps) have moved 

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.

ELOG V3.1.3-