Building the Entire System: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
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!!'''
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 ===
=== Compiling the Code used in the VME IOCs ===
# ssh -XY dgs@con6
# ssh -XY dgs@con6
# cd /global/devel/dgsDrivers/dgsDriverApp/src
# cd /global/devel/dgsDrivers/dgsDriverApp/src
Line 17: Line 17:
# cd /global/ioc/bin/vxWorks-ppc604_long
# cd /global/ioc/bin/vxWorks-ppc604_long
# ./CopyNewMunch.sh
# ./CopyNewMunch.sh
=== Ensuring EPICS databases are up to date ===
# ssh -XY dgs@dgs1
# cd /global/ioc/db
# ./Export_SVN_Databases.sh
# You will have to reboot all the VME IOCs to load the new databases.
# You will have to stop and restart the Soft IOC to load the new databases.

Revision as of 00:30, April 1, 2023

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.