User Tools

Site Tools


nanocrate:nanocrate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nanocrate:nanocrate [2020/08/27 19:01] mmissinanocrate:nanocrate [2020/09/24 08:44] (current) mmissi
Line 17: Line 17:
       - Connect the USB disk to a laptop with Internet access. \\ \\       - Connect the USB disk to a laptop with Internet access. \\ \\
       - Find the name of the device corresponding to the USB disk; in the following, this is assumed to be ''/dev/sda''. \\ \\       - Find the name of the device corresponding to the USB disk; in the following, this is assumed to be ''/dev/sda''. \\ \\
-      - Download the CentOS7 boot image at \\ ''http://mirror.centos.org/altarch/7.8.2003/os/i386/images/boot.iso'' (for 32-bit OSs) \\ ''http://mirror.centos.org/centos-7/7/os/x86_64/images/boot.iso'' (for 64-bit OSs) \\ In the following, the path to this file on your local machine is assumed to be ''boot.iso''. \\ \\+      - Download the CentOS7 boot image at \\ [32-bit] ''http://mirror.centos.org/altarch/7.8.2003/os/i386/images/boot.iso'' \\ [64-bit] ''http://mirror.centos.org/centos-7/7/os/x86_64/images/boot.iso'' \\ In the following, the path to this file on your local machine is assumed to be ''boot.iso''. \\ \\
       - Write the image to the USB disk with the following command \\ \\ <code bash>sudo /bin/dd if=boot.iso of=/dev/sda bs=4M status=progress oflag=sync''</code>       - Write the image to the USB disk with the following command \\ \\ <code bash>sudo /bin/dd if=boot.iso of=/dev/sda bs=4M status=progress oflag=sync''</code>
  
Line 27: Line 27:
       - Configure the system as required (timezone, keyboard layout, etc). \\ \\       - Configure the system as required (timezone, keyboard layout, etc). \\ \\
       - If necessary, enable explicitly the LAN, or WiFi, connection. \\ \\       - If necessary, enable explicitly the LAN, or WiFi, connection. \\ \\
-      - Under "Installation Source", input the http address (it is not necessary to write explicitly ''http:\/\/''): \\ [32-bit] ''mirror.centos.org/altarch/7.8.2003/os/i386'' \\ [64-bit] ''mirror.centos.org/centos-7/7/os/x86_64'' \\ and do not tick the box stating "This URL refers to a mirror list". \\ \\+      - Under "Installation Source", input the ''http'' address: \\ [32-bit] ''mirror.centos.org/altarch/7.8.2003/os/i386'' \\ [64-bit] ''mirror.centos.org/centos-7/7/os/x86_64'' \\ and do not tick the box stating "This URL refers to a mirror list". \\ \\
       - Select the software packages to be included in the installation (example: "GNOME Desktop", "GNOME Applications", "Compatibility Libraries", and "System Administration Tools"). \\ \\       - Select the software packages to be included in the installation (example: "GNOME Desktop", "GNOME Applications", "Compatibility Libraries", and "System Administration Tools"). \\ \\
       - If necessary, in "Installation Selection", select the target hard disk and reclaim the necessary disk space (requires selecting the hard disk, clicking on "Delete All", and then "Reclaim Space"). \\ \\       - If necessary, in "Installation Selection", select the target hard disk and reclaim the necessary disk space (requires selecting the hard disk, clicking on "Delete All", and then "Reclaim Space"). \\ \\
Line 161: Line 161:
 </file> </file>
  
-=== Configure FC7 === +=== Configuration of FC7 ===
  
 General information and instructions on the FC7 setup and the related software can be found in the material of the [[https://indico.cern.ch/event/842824|2019 Phase-2 Tracker DAQ Workshop]]. The instructions listed below are a selected summary of the instructions given in the latter workshop (and references therein). General information and instructions on the FC7 setup and the related software can be found in the material of the [[https://indico.cern.ch/event/842824|2019 Phase-2 Tracker DAQ Workshop]]. The instructions listed below are a selected summary of the instructions given in the latter workshop (and references therein).
Line 196: Line 196:
 sudo systemctl restart rarpd sudo systemctl restart rarpd
 </code> </code>
-      - clone the git repository for the main software application (Ph2_ACF), and check out the latest stable release \\ (''IT-v3.9''at the time of writing): \\ \\ <code bash>+      - clone the git repository for the main software application (''Ph2_ACF''), and check out the latest stable release \\ (the name of the latest stable release should be in the ''README'' file of the repository; at the time of writing, it is ''IT-v3.9.4''): \\ \\ <code bash>
 git clone https://gitlab.cern.ch/cmsinnertracker/Ph2_ACF.git -o cmsinnertracker git clone https://gitlab.cern.ch/cmsinnertracker/Ph2_ACF.git -o cmsinnertracker
 cd Ph2_ACF cd Ph2_ACF
-git checkout -b b_IT_v3p9 IT-v3.9+git checkout -b b_IT_v3p9p4 IT-v3.9.4
 </code> </code>
       - Follow the instructions in ''Ph2_ACF/README.md'' and install all the necessary dependencies; as of Aug-2020, this corresponds to the following commands (double-check the instructions in the official documentation, before executing these): \\ \\ <code bash>       - Follow the instructions in ''Ph2_ACF/README.md'' and install all the necessary dependencies; as of Aug-2020, this corresponds to the following commands (double-check the instructions in the official documentation, before executing these): \\ \\ <code bash>
Line 212: Line 212:
 </code> **Note**: these steps are expected to work out-of-the-box on a recent version of ''CentOS7-x86_64''; they may not work on other types of OSs, e.g. ''CentOS7-i386'' (32-bit); in the latter case, some of the relevant dependencies (e.g. ''pugixml'', ''root'', ''uhal'') must be installed from source, following the instructions in the documentation of each package. The installation of ''Ph2_ACF'' and its dependencies on ''CentOS7-i386'' (32bit) was performed successfully (so it is possible), but it is not fully documented here; it did require the manual installation of ''pugixml'', ''root'', and ''uhal''. </code> **Note**: these steps are expected to work out-of-the-box on a recent version of ''CentOS7-x86_64''; they may not work on other types of OSs, e.g. ''CentOS7-i386'' (32-bit); in the latter case, some of the relevant dependencies (e.g. ''pugixml'', ''root'', ''uhal'') must be installed from source, following the instructions in the documentation of each package. The installation of ''Ph2_ACF'' and its dependencies on ''CentOS7-i386'' (32bit) was performed successfully (so it is possible), but it is not fully documented here; it did require the manual installation of ''pugixml'', ''root'', and ''uhal''.
  
 +=== Testing with Ph2_ACF ===
 +
 +This section is work-in-progress. For the moment, the reader is referred to the documentation in the ''Ph2_ACF'' repository, and the material of the [[https://indico.cern.ch/event/842824|2019 Phase-2 Tracker DAQ Workshop]].
nanocrate/nanocrate.1598547693.txt.gz · Last modified: 2020/08/27 19:01 by mmissi