CLICdp New-Software Project-Meeting

Europe/Zurich
Vidyo

Vidyo

Andre Sailer (CERN)

Software Meeting Minutes
---

# 201027: Software Meeting

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

Connected: Andre, Placido, Valentin, Ulrike,
Present:

Apologies:


## MC Generators

* Some issue with using integrated processes, still takes long time when using the files
    * Solution proposed by Whizard authors: simulate one event to trigger additional calculations by Whizard for the resonance history
    * Works locally, runs much faster.
    * Issues with running on the grid: still take too long, or use too much memory, or both, for 4q2l sample
    * 2q4l samples running fine, 3% failure rate (acceptable)
    * Check with VTune (or prmon) for looking at memory usage
        * VTune: `source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh`
        * Prmon: https://github.com/HSF/prmon
        * SystemMonitor app
    
* More sindarin files https://gitlab.cern.ch/CLICdp/DetectorSoftware/clic-whizard2-settings


## Simulation

* Issue with simulation of muons with fixed pT?
    * observed different duplicate vs phi using different muon simulation runs
    * Maybe different input (not pt, but energy)?
    * Different Theta range, 0-90 degrees before, 0-180 degrees now

## Reconstruction

### Tracking

### Particle Flow

### Digitizer

### Event Display

### FlavourTagging

### Long-Lived Particle

### dE/dX

### LCGeo Test

## Infrastructure

## iLCDirac

* New version coming ASAP
    * DiracOS v1r11 tested
* Calice moving from LCG FileCatalog to DFC, keep v6r22 with lcg bundles, because those contain LFC bindings still

## key4hep


### CI

* https://cern.service-now.com/service-portal?id=ticket&table=u_request_fulfillment&n=RQF1650416
* iLCSoft deployment: https://gitlab.cern.ch/CLICdp/SoftwareConfigurations/iLCSoft

* Nightly build

* Working on incremental builds and deployments
    * Will be controlled from gitlab
* https://gitlab.cern.ch/key4hep/k4-deploy

* spack test -> recursion error
    * https://github.com/key4hep/k4-spack/issues/89

* Integrate with CDash, post updated packages

#### Environment Script

* Overwrite PATH etc.?
    * lcg stack prepend
* Module way is slow

* `spack environment`, like the key4hep-stack bundle package

* adapt the CVMFS publisher to create the script

#### View

* WIP, also Thomas Madlener looking into it

### k4-spack

* updated key4hep-stack bundle package
    * PR: https://github.com/key4hep/k4-spack/pulls

### LCFIPlus inside Gaudi

* Valentin looking into it because of interest from FCC side

### podio

### EDM4hep

* builds against dev3 not working
    * TODO: Andre: try dev3 ddsim
    * TODO: dev3 builds for DD4hep disappeared

### k4FWCore

* k4run
    * Done

### k4GMPWrapper (renamed)

* addded further test for converter
* Implement constant and "include" features used in Marlin XML
* TODO: rename the package


#### LCIO <-> EDM4hep conversions

* Conversion service from Gaudi
    * under investigation by Valentin
    * At the moment only used for geometry conversion
* How to do this most generically?
* How to tell which collections to import and export for given wrapper processor?
*


### spack

* heppdt is "back"
* python version to be made explicit
    * Added to packages.yaml
    * bug in concretizer that the python versions clash?
        * Open issue for spack
* how to define stack releases?
    * yaml file
    * directly in the package.py, or via import therer


### Gaudi

* cmake-modernization PR moving forward: https://gitlab.cern.ch/gaudi/Gaudi/-/merge_requests/986#note_3895786
* a bit of discussion there: this means lots of changes for downstream code
* tried it out with k4fwcore already: https://github.com/vvolkl/K4FWCore/tree/cmake-modernization
    - working so far, but no K4FWCoreConfig.cmake generated! (policy is for users to generate their own )

```cmake=
set(@META_PACKAGE_NAME@_VERSION 0.0.1)  #FIXME

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

set_and_check(ILCSOFT_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
set_and_check(@META_PACKAGE_NAME@_ROOT "@PACKAGE_CMAKE_INSTALL_DIR@")

get_filename_component(_package_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)

if(@META_PACKAGE_DEPENDENCIES@)
  foreach(dependency @META_PACKAGE_DEPENDENCIES@)
    find_dependency(dependency)
  endforeach()
endif()

include(${_package_dir}/@META_PACKAGE_NAME@Config-targets.cmake)

check_required_components(@META_PACKAGE_NAME@)

get_property(@META_PACKAGE_NAME@_INCLUDE_DIRS TARGET @META_PACKAGE_LIBRARY@ PROPERTY INCLUDE_DIRECTORIES)
set(@META_PACKAGE_NAME@_LIBRARIES @META_PACKAGE_LIBRARY@)
get_property(@META_PACKAGE_NAME@_DEFINITIONS TARGET @META_PACKAGE_LIBRARY@ PROPERTY COMPILE_DEFINITIONS)

set(_package_dir)

```

```cmake=

include(CMakePackageConfigHelpers)

set(OUTPUT_FILE ${CMAKE_BINARY_DIR}/cmake/${packagename}Config.cmake)

function(META_GENERATE_MODERN_PACKAGE_CONFIGURATION_FILES packagename library)
  message(STATUS "Configuring ${packagename}")
  cmake_parse_arguments(MGM "" "DEPENDENCIES" "" ${ARGN})
  set(META_PACKAGE_NAME ${packagename})
  set(META_PACKAGE_LIBRARY ${library})
  set(META_PACKAGE_DEPENDENCIES ${MGM_DEPENDENCIES})
  include(CMakePackageConfigHelpers)

  set(OUTPUT_FILE ${CMAKE_BINARY_DIR}/cmake/${packagename}Config.cmake)
  configure_package_config_file(${CMAKE_SOURCE_DIR}/cmake/MetaConfig.cmake.in ${OUTPUT_FILE}
    INSTALL_DESTINATION ${CMAKE_INSTALL_CMAKEDIR}/
    PATH_VARS CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_DIR
    )
  install(FILES ${OUTPUT_FILE} DESTINATION ${CMAKE_INSTALL_CMAKEDIR} )
endfunction()


```


## FCCee Detector Model

* Some drivers used from lcgeo moving to FCC or better DD4hep repository

## SCT Integration

* Issue with compiling DDG4 on novosibirsk cluster
   * Added: DDRec DDDetectors UtilityApps

* Add TPC xml as "Aurora" Package

## Snowmass


## AOB


### Next Meeting

November 3, 2020, 13:00

 

 

There are minutes attached to this event. Show them.
    • 13:00 14:00
      Round the table 1h