Building the Entire System

From GammaSphere DAQ
Revision as of 00:30, April 1, 2023 by Jta (talk | contribs)
Jump to navigation Jump to search

A multi-stage make is required to build the .munch files for the IOCs. Munch files are raw binary executable for the MVME5500's VxWorks operating system generated by a cross compiler. The cross compiler resides on machine con6, a Sun Solaris machine. This machine has no internal hard disk, it connects to the network file server. This means files can be copied willy-nilly but that doesn't mean they should be. Yes, physicists, I speak to you. DO NOT TOUCH /dk/fs2/dgs/global_sanbox EVER. NO, NEVER!!

Compiling the Code used in the VME IOCs

  1. ssh -XY dgs@con6
  2. cd /global/devel/dgsDrivers/dgsDriverApp/src
  3. ./Export_SVN_ParameterFiles.sh
  4. cd ../..
  5. make clean
  6. make
    1. There should be ZERO errors and ZERO warnings. Anything else is a fatal, full, stop.
  7. cd ../dgsIoc
  8. make clean
  9. make
    1. There should be ZERO errors and ZERO warnings. Anything else is a fatal, full, stop.
  10. Log out of con6
  11. Log into dgs1 as dgs
  12. cd /global/ioc/bin/vxWorks-ppc604_long
  13. ./CopyNewMunch.sh

Ensuring EPICS databases are up to date

  1. ssh -XY dgs@dgs1
  2. cd /global/ioc/db
  3. ./Export_SVN_Databases.sh
  4. You will have to reboot all the VME IOCs to load the new databases.
  5. You will have to stop and restart the Soft IOC to load the new databases.