Skip to content

Commit c8240b4

Browse files
authored
Instructions to update locally a module (#570)
1 parent e567ae3 commit c8240b4

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

doc/Advanced.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,9 @@ To install and run the QCG locally, and its fellow process tobject2json, please
541541

542542
## Developing QC modules on a machine with FLP suite
543543

544+
Option 1: Rebuild everything locally and use the QC module library that is generated
545+
546+
Simply build as you would do on your development machine with aliBuild.
544547
To load a development library in a setup with FLP suite, specify its full
545548
path in the config file (e.g. `/etc/flp.d/qc/readout.json`):
546549
```
@@ -556,7 +559,19 @@ Make sure that:
556559
workflow specification for AliECS
557560
- The library is compiled with the same QC, O2, ROOT and GCC version as the
558561
ones which are installed with the FLP suite. Especially, the task and check
559-
interfaces have to be identical.
562+
interfaces have to be identical. A good way to achieve that is to use the alidist branch matching the version of flp suite (e.g. `flp-suite-v0.12.0`).
563+
564+
Option 2: Build on your development setup and scp the library
565+
566+
1. Switch alidist to the branch corresponding to the flp-suite you installed, e.g. `flp-suite-v0.12.0`.
567+
2. Rebuild QC using alibuild
568+
3. Backup the library (/opt/alisw/el7/QualityControl/<version>/lib)
569+
3. scp from development setup alice/sw/slc7_x86-64/QualityControl/latest/lib/yourlib* to /opt/alisw/el7/QualityControl/<version>/lib on the FLP.
570+
4. Rebuild the aliECS environment.
571+
572+
Option 3: Rebuild only the QC reusing the installed software
573+
574+
NOT WORKING YET
560575

561576
## Use MySQL as QC backend
562577

0 commit comments

Comments
 (0)