Project

General

Profile

Offline Software Releases

A set of offline software releases is maintained on the control room machines (as well as the teststand). The development release is not updated and built on a regular basis like it is on the offline machines. Below, the locations and details of the releases are indicated for each installation. The novasoft account (maintainer of the releases) on each machine has a function in its .bash_profile file to setup the offline releases. Users wishing to set up releases in their own account should add a similar function, with pathnames appropriate for the machine they're running on.

function setup_offline {
echo "Setting SRT_DIST, EXTERNALS"
echo "Sourcing generic setup_novasoft script"
export SRT_DIST=/online_monitor/offline
export EXTERNALS=/online_monitor/externals
source $SRT_DIST/setup/setup_novasoft.sh "$@"
cd $SRT_DIST
}

When building / updating development, make sure to make a backup copy first (cp -a development development_back20120823, for instance)

NDOS

The releases are maintained on novadaq-ctrl-datamon.fnal.gov (for use by the event display and online monitoring.) The srt distribution is located in

/online_monitor/offline_svn

The releases themselves are located in

/online_monitor/offline_svn/releases

with the external products located in

/online_monitor/externals_prebuilt/

To set up svn for this machine when logged in as novasoft or novadaq, use "setup_novasoft_datamon -r <release> -b maxopt". To automatically source the release currently defined as the EVD/OnMon release, use "setup_novasoft_onmon".

Currently, the following releases are installed, built, and ready to use:

development (current as of May 06, 2014) - (not built...)
S12.02.14
S12.04.09
S12.06.17
CR12-12-04
CR13-04-13 --> this is the release currently running OnMon and the EVD
CR14-05-05 - built in maxopt mode

novatest01.fnal.gov

The srt distribution is located at

/home/novasoft/offline

The releases themselves are located in

/home/novasoft/offline/releases

with the external products located in

/home/novasoft/externals

Currently, the following releases are installed, built, and ready to use:

development (current as of June 2012)
S12.06.17
S12.04.09
S12.02.14

Far Detector

The releases are maintained on novadaq-far-master.fnal.gov. The srt distribution is located at

/offline/offline

The releases themselves are located in

/offline/offline/releases

with the external products located in

/offline/externals/

Currently, the following releases are installed, built, and ready to use:

development (current as of April 2012)
S12.04.09
S12.02.14

Far Detector Nearline Machines

The releases are maintained on novadaq-far-nearline-01.fnal.gov. NOTE: This machine is using slf6! See the installation notes below for more information about using slf6 with novasoft.
The srt distribution is located in:

/nusoft/offline_svn

The releases themselves are located in:

/nusoft/offline_svn/releases

with the external products located in:

/nusoft/externals/

Currently, the following releases are installed, built, and ready to use:

development (current as of Dec 18, 2013) - built in "maxopt" mode
S12-12-12 (the Mayan Doomsday release)
S13-02-16 (the Kyoto Protocol release)
CR13-02-24 (the [insert name here] release)
S13-03-18 (the Irish hangover release)
S13-06-05 (the Hound-dog release)
S13-09-17 (the Jarek's birthday release) - built in "maxopt" mode
S14-01-20 (the Buzz Aldrin Birthday release) - built in "maxopt" mode
S14-02-05

SPECIAL NOTES:
  • Several of these releases have beenbuilt using the "maxopt" tag. To set up svn for one of these releases on this machine when logged in, use "setup_novasoft_nearline -r <release> -b maxopt". Otherwise omit the "-b maxopt".*
  • The Nearline-OnMon jobs are currently running out of the S14-02-05 release.
  • The Nearline-Ana jobs are currently running out of the S14-02-05 release.
General notes:
  • The development release is "frozen" in the sense that it is not updated automatically. If desired, one can do update-release followed by rebuilding it but the intention for this machine is to only use the tagged releases.
  • For the user 'novasoft' I have added the standard 'setup_novasoft_nearline' function to .bashrc which can be run after logging in.
  • I had trouble building any of the releases on this machine with the parallel option. To re-build any of them, use the clean serial option "SRT_NOVA/scripts/novasoft_build -rel <release> -c" followed by "SRT_NOVA/scripts/novasoft_build -rel <release>" (the best option is to pipe the output of this to a log file using nohup and use `tail -f` on the file to watch the progress. If you sourced the novasoft setup scripts with the "-b maxopt" option, then this will automatically be picked up by novasoft_build script. To check if this option is set, do `echo $SRT_QUAL`.
  • There are a few differences between the S13-02-16 release on this machine and the actual frozen S13-02-16 tag. The fcl files in EventDisplay and OnlineMonitoring are different and were copied over from the development release on 02/19/13.
Notes on installing slf6:
  • When updating/installing new external products, you must make sure to grab the slf6 versions of the tarballs. The file names should all have slf6 in them instead of slf5.
  • Initially the nova-bootstrap script couldn't get development. It turns out that svn wasn't installed on this machine. To check for this, type "which svn" to see if it is installed.
  • When initially compiling NovaDatabase, the error "can not find curl/curl.h" was encountered. This is not the vector calculus curl but C-URL which is what C-code needs to access things over the web. curl.h does exist in the installed external ups products, but our solution was to install the system default version onto the machine. This created the appropriate curl directory in /usr/include. If you encounter this message, check to see if /usr/include/curl/curl.h exists. An alternative to this would be to find the right file that points to all of the externals and add a line to point to curl.h in the ups products directory (I didn't try this since our solution worked just fine.)
  • Another compiling error occurred for EventDisplayBase indicating "can not find X11/Xlib.h". This was fixed by installing X11 including the xpm package. X11 should also be installed in /usr/include so check there if you run into this.

All of the things listed above that were NOT installed must of course be installed by root. If you don't have root access or are under the age of 18, get your parents permission before installing new stuff (i.e. - get someone with root access to do it for you.)

Far Detector Datamon Machine

The releases are maintained on novadaq-far-datamon.fnal.gov. NOTE: This machine is using slf6! See the installation notes above for the far-nearline-01 machine for more information about using slf6 with novasoft.
The srt distribution is located in:

/online_monitor/offline

The releases themselves are located in:

/online_monitor/offline/releases

with the external products located in:

/online_monitor/externals/

To set up svn for this machine when logged in as novasoft or novadaq, use "setup_novasoft_datamon -r <release>". To automatically source the release currently defined as the EVD/OnMon release, use "setup_novasoft_onmon".

Currently, the following releases are installed and built.

development (current as of May 07, 2014) - (not built...)
S13-03-25
S13-02-16 (a.k.a. the Kyoto Protocol release)
CR13-02-24
CR13-03-08
CR13-04-13
CR13-05-21
CR13-12-19 - (see note below)
CR14-05-05 - built in maxopt mode
CR14-06-09 - built in maxopt mode
CR14-07-02 --> this is the release currently running EVD and OnMon (built in maxopt mode)

NOTES:
  • Because all nova jobs now abort if they can't get the bad channel list from the database and we have no need to connect to the database for running on datamon, the CR releases must have "ApplyBadChan" in ChannelInfo/BadChanList.fcl set to zero to allow the EVD to run.
  • The CR13-12-19 release (and all CR releases after this) is NOT a full offline release. This release includes only the packages necessary to compile and run OnMon and the EVD.
  • The CR14-07-02 is the first release using the new DAQChannelMap.

Near Detector Datamon Machine

The releases are maintained on novadaq-near-datamon.fnal.gov. NOTE: This machine is using slf6! See the installation notes above for the far-nearline-01 machine for more information about using slf6 with novasoft.
The srt distribution is located in:

/online_monitor/offline

The releases themselves are located in:

/online_monitor/offline/releases

with the external products located in:

/online_monitor/externals/

To set up svn for this machine when logged in as novasoft or novadaq, use "setup_novasoft_datamon -r <release>". To automatically source the release currently defined as the EVD/OnMon release, use "setup_novasoft_onmon".

Currently, the following releases are installed and built.

development (current as of July 03, 2014)
CR14-06-09 - built in maxopt mode
CR14-07-02 --> this is the release currently running EVD and OnMon (built in maxopt mode)

NOTES:
  • The CR14-07-02 is the first release using the new DAQChannelMap.