Key4hep Discussion

Europe/Zurich
4/S-056 (CERN)

4/S-056

CERN

20
Show room on map

# Key4hep Live Notes

This is a document for taking notes during Key4hep meetings.

Date: March 10, 2020

Agenda: https://indico.cern.ch/event/895118/

Present: Andre Sailer(#), Placido Fernandez(#), Gerardo Ganis, Jiaheng Zou, Tao Lin, Xingtao Huang, Erica Brondolin(#), Frank Gaede, Valentin Volkl(#), Graeme Stewart, Marko Petric(#), Paolo Giacomelli, Gang Li (9:10), Sun Shengsen,


Apologies: Weidong Li, Clement Helsens

(#) Those marked with (#) are present in 4/S-056


## Spack and Key4hep

###  Test at IHEP (Tao Lin)

* Testing installation without LCG environment
* Compiler gcc9.2
* python3.7 is default (see below)
* Tweak root installation (remove X libraries)
* cxx17 required for root7 and gaudi/genconf.exe
* Gaudi: added new version, optional dependencies
* podio: only works with python2
* K4FWCore BINARY_TAG has some issue
    * (see K4-spack issue)
    * Generic way to find this value consistently

### Spack for Key4hep (Valentin Volkl)

* Add/use build cache on eos (CERN only use? Probably not)
* Lots of different repositories: builtin, hep-spack, cern-spack, k4-spack
    * Moving things more upstream (to builtin)
    * cern-spack changing to lcg-spack?
* Use ``packages.yml`` to use pre-existing packages
    * Can get quite long
    * provide packages.yml for lcg releases
* CVMFS installations with spack
    * can be simplified with "conveyor" machines, no need for tarballs
        * to be discussed
* CVMFS Nightlies: use (e.g.) YYYY-MM-DD and cleanup regularly
* First nightly installation exists: ``/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh``
    * Automation still needed
* Will provide instructions for local installations

### Questions/Comments

* Podio spack to be moved to upstream
* Can we move completely to python3?
    * LCG releases are build with python3
        * Not everything is tested, Swan is one user
    * Prioritise podio python3 compatibility
* How to use own version of e.g., edm4hep?
    * Have to change the _recipe_: change "develop" to use local folder, or git url and branch

## Communities Round Table


## Build system / Target compiler / dependencies

* LCG_97 ?
* gcc9? gcc8? whatever is provided in lcg releases
* clang8
* Gaudi
    * CMake update not yet merged:


## EDM4hep progress:

* DD4hep plugin for edm4hep to easily simulate events
* Done: Need for fix ddsim to call this plugin

## K4FWCore

# TODO

* CVMFS: /cvmfs/sw.hsf.org
* Discuss spack with SPI/HSF Packaging working group
* Define Convenors, key4hep-sw-admin
* DD4hep output for EDM4hep is under review
* Presentations at Workshops
* Face to Face meeting location (Week of June 22nd)

# Done

* ~~Create project template for Gaudi Algorithm~~
    * https://github.com/key4hep/k4-project-template
* ~~Move HSF/EDM4hep to key4hep github~~
    * https://github.com/key4hep/EDM4hep


## First release

* Content:
    * EDM4hep
    * K4FWCore: dataservice, +++
    * Marlin Wrapper
    * DD4hep plugin for EDM4hep output
    * Example

 


## Call for Logos

 

There are minutes attached to this event. Show them.
    • 09:00 09:05
      Introduction 5m
    • 09:05 09:25
      Spack and Key4hep 20m
      • Spack test at IHEP 10m
        Speaker: Tao Lin (Chinese Academy of Sciences (CN))
      • Spack for Key4hep 10m
        Speaker: Valentin Volkl (University of Innsbruck (AT))
    • 09:25 10:00
      Discussion 35m
      Speakers: Everyone, Valentin Volkl (University of Innsbruck (AT))