Here are instructions for loading the minimum M&C binaries and associated libraries on a laptop. This allows basic manager testing independent of the GBT M&C system using CLEO (i.e. no IF, no antenna - just basic manager operation). This was done for the KFPA project laptop.

Archive Files

  • /home/gbtversions/9.1 (or latest version) - this are the binaries
  • /home/gbt1/ygor - support libraries used by M&C and manager code.
  • /home/sparrow - presentation layer libraries and exe's.
  • /home/gbt7/llama3 (or latest McPython) - libraries used by used by sparrow
  • /home/cleoversions/5.2 (or latest version)

mkdir gbt

  • I created a gbt dir in the monctrl user home (/export/home/tog/monctrl)

Copy archives to user home and un-tar

  • I copied archives to /export/home/tog/monctrl
  • M&C binaries -> ./9.1
  • ygor code -> ./ygor
  • sparrow code -> ./sparrow/9.1
  • llama3 -> ./llama3
  • Cleo 5.2 -> ./Cleo5.2

  • cd to gbt dir
  • refer to /home/gbt
  • make soft links for apps, bin, exec, glish, lib, sparrow and tcl directories (e.g. apps -> /export/home/tog/monctrl/9.1/apps/ )

Copy scripts to gbt dir

  • refer to /home/gbt again
  • cp gbt.bash, _installation.conf, setFileModes, setVersion, sv, switchVersion, ygor_system from /home/gbt to gbt dir

Create and populate etc directory

  • in gbt dir, mkdir etc, cd to etc, then make config, cores, log, startup, testdata
  • I copied /home/etc/config, /home/etc/startup, /home/etc/testdata
  • I made a tog subdir in log

Edit scripts

  • adjust paths in gbt/gbt.bash
  • adjust paths in ygor/ygor.bash
  • adjust paths in sparrow/9.1/sparrow.bash
  • adjust paths in llama3/McPython.bash

Edit configuration files

  • edited gbt/_installation.conf (system_host is only tog)
  • edited gbt/etc/config/devices.conf -> only contains ScanCoordinator and RcvrArray18_26
  • edited gbt/etc/config/system.conf -> reduced to ScanCoordinatorHost, RcvrArray18_26Host and AccessorHost entries, all set to "tog"
  • you can change the system login name here.
  • I created togProc.conf and included the processes I wanted, including Accessor, messageMux, ScanCoordinator, Transporter, manager & samplers.

Install Sampler Driver

  • follow instructions at /home/gbt1/ygor/drivers/SamlperDriver/Linux
  • this requires root

Use the manger with CLEO

  • in /home, create a link to the gbt1 directory that has the tcl libraries from /home/gbt1/tcl (i.e. create gbt1->/export/home/tog/monctrl/gbt1 in /home).

-- MarkWhitehead - 2009-10-29
Topic revision: r2 - 2009-11-17, MarkWhitehead
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback