Difference between revisions of "Building the entire system"

From GammaSphere DAQ
Jump to navigation Jump to search
(Created page with "==Building the entire software system== According to notes left from Tim Madden, a multi-stage make is required to build the .munch files for the IOCs. Munch files are raw b...")
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
According to notes left from Tim Madden, a multi-stage make is required to build the .munch files for the IOCs.  Munch files are raw binary executable for the MVME5500 generated by a cross compiler.  The cross compiler resides on machine con5, a Sun Solaris machine.  If that machine dies, we're probably in deep trouble.
 
According to notes left from Tim Madden, a multi-stage make is required to build the .munch files for the IOCs.  Munch files are raw binary executable for the MVME5500 generated by a cross compiler.  The cross compiler resides on machine con5, a Sun Solaris machine.  If that machine dies, we're probably in deep trouble.
 +
 +
=== Compiling the Code (Updated September 2021 to use con6) ===
 +
# Log into con6 as dgs
 +
# cd /global/devel/gretTop/9-22/dgsIoc
 +
# make -B
 +
# cd ../dgsDrivers
 +
# make -B
 +
# cd ../dgsIoc
 +
# make
 +
# Log out of con6
 +
# Log into dgs1 as dgs
 +
# cd /global/devel/gretTop/9-22/dgsIoc
 +
# ./Copy_from_sandbox.sh (This last command copies the munch file from con6 to dgs1, making it available to the MVME5500s.)
  
 
===Procedure as found on the dgs repository===
 
===Procedure as found on the dgs repository===
 
+
'''''As of September 2021 this procedure is out of date as con5 is offline.'''''
 
* Ssh to con5 on onenet.  
 
* Ssh to con5 on onenet.  
 
**This is a solaris sytem that has the vxWorks cross compilier.  
 
**This is a solaris sytem that has the vxWorks cross compilier.  
Line 11: Line 24:
  
 
On con5 enter the following commands
 
On con5 enter the following commands
 
+
<pre>
 
cd /global/devel/gretTop/9-22
 
cd /global/devel/gretTop/9-22
 
cd dgsDrivers
 
cd dgsDrivers
Line 23: Line 36:
 
cd dgsIoc
 
cd dgsIoc
 
make
 
make
 +
</pre>

Latest revision as of 17:46, September 17, 2021

Building the entire software system

According to notes left from Tim Madden, a multi-stage make is required to build the .munch files for the IOCs. Munch files are raw binary executable for the MVME5500 generated by a cross compiler. The cross compiler resides on machine con5, a Sun Solaris machine. If that machine dies, we're probably in deep trouble.

Compiling the Code (Updated September 2021 to use con6)

  1. Log into con6 as dgs
  2. cd /global/devel/gretTop/9-22/dgsIoc
  3. make -B
  4. cd ../dgsDrivers
  5. make -B
  6. cd ../dgsIoc
  7. make
  8. Log out of con6
  9. Log into dgs1 as dgs
  10. cd /global/devel/gretTop/9-22/dgsIoc
  11. ./Copy_from_sandbox.sh (This last command copies the munch file from con6 to dgs1, making it available to the MVME5500s.)

Procedure as found on the dgs repository

As of September 2021 this procedure is out of date as con5 is offline.

  • Ssh to con5 on onenet.
    • This is a solaris sytem that has the vxWorks cross compilier.
    • First you build various libraries of DGS, such as the Sender, board drivers, VME drivers.
    • Then you build the whole system to link all the libraries together into a “munch” file, or vxWorks executable code.

On con5 enter the following commands

cd /global/devel/gretTop/9-22
cd dgsDrivers
make
cd ..
cd dgsData
make
cd ..
cd gretVME
make
cd dgsIoc
make