Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L lcgcmake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • sft
  • lcgcmake
  • Merge requests
  • !62

Closed
Created Apr 17, 2018 by Ben Couturier@bcouturi
  • Report abuse
Report abuse

WIP: Initial version of lwtnn for LCG 93

  • Overview 0
  • Commits 1
  • Changes 2

This is an attempt to add lwtnn to the LCG stack, build it and prepare the RPMs.

This is teh recipe I followed:

git clone -b LCG_93 https://gitlab.cern.ch/sft/lcgcmake.git

Then built according to instructions from the repo, rebuilding only eigen as a test.

(I therefore used the following cmake command:

cmake -DLCG_INSTALL_PREFIX=/cvmfs/sft.cern.ch/lcg/releases -DLCG_VERSION=93 -DLCG_IGNORE='eigen' -DCMAKE_INSTALL_PREFIX=../lcgcmake-install ../lcgcmake )

Then I modified the LCGCMake files with Marco's help (beware, the URL for lwtnn is hardcoded), and managed to build it.

To package it, I went back to the top dir (i.e. same level as lcgcmake) then ran:

git clone https://gitlab.cern.ch/sft/lcgjenkins.git

cd lcgcmake-install

../lcgjenkins/extract_LCG_summary.py . x86_64-centos7-gcc62-opt 93 RELEASE

../lcgjenkins/LCGRPM/package/createLCGRPMSpec.py -p x86_64-centos7-gcc62-opt --release=1 --match=".lwtnn." -o lwtnn.spec ./LCG_externals_x86_64-centos7-gcc62-opt.txt

Then the directory contains too many RPMs:

/tmp/rpmbuild/RPMS/noarch/ -rw-r--r--. 1 lben z5 2132 17. Apr 17:58 LCG_93_gcc_6.2.0_x86_64_centos7-1.0.0-1.noarch.rpm -rw-r--r--. 1 lben z5 3456 17. Apr 17:58 LCG_93_lwtnn_2.6_x86_64_centos7_gcc62_opt-1.0.0-1.noarch.rpm -rw-r--r--. 1 lben z5 1764 17. Apr 17:58 LCG_93_x86_64_centos7_gcc62_opt-1.0.0-1.noarch.rpm -rw-r--r--. 1 lben z5 419524 17. Apr 17:58 lwtnn-9c0a2_2.6_x86_64_centos7_gcc62_opt-1.0.0-1.noarch.rpm

LCG_93_x86_64_centos7_gcc62_opt-1.0.0-1.noarch.rpm is there by construction, but we can ignore it. I need to debug to understand why LCG_93_gcc is there.

One issue is the distribution of the LCG_externals txt file, but we can also recreate the RPM that releases it and bump up the release number (as we do for the LHCb RPMs)

Ben

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: SPI-1043