LSST-France Montpellier 7-8 décembre 2015 Décembre 2015 Utiliser le stack • Le Stack comment y accéder au CC • Comment démarrer – Le BootCamp • Les outils de configuration LSST – EUPS + Scons • Construire un package pour le stack Décembre 2015 2 Le Stack au CC • Accès à travers CERN-CVMFS – This document provides the steb-by-step instructions to configure your computer to use the binary distribution of the LSST software stack using CernVM FS. – https://github.com/airnandez/lsst-cvmfs • Ou directement à travers l’installation dans /sps – /sps/lsst/Library/stack_v11_0 • Initialisation de l’environnement – Bash> source loadLSST.bash – Csh> source loadLSST.csh Décembre 2015 3 Comment démarrer • Le BootCamp – https://community.lsst.org/t/dm-boot-camp-announcement/249 • Les documents du BootCamp ont été installés sur Atrium – > Atrium > Projets > LSST > DM Boot Camp https://atrium.in2p3.fr/nuxeo/nxdoc/default/beed431e-13e7-4da7-b390-18de7c97b598/view_documents Décembre 2015 4 Les outils de configuration LSST • EUPS – Décrit les liens de dépendances entre packages – Chaque package doit fournir un directory ups contenant 3 fichiers de configuration • <package>.build • <package>.cfg • <package>.table • Scons + sconsUtils – Outil de construction (build) d’un package – sconsUtils S’appuie sur EUPS pour trouver la configuration des ressources (includes, libraries, xxxPATH) Décembre 2015 5 • Petit tutoriel Construire un package pour le stack – https://github.com/lsst-france/tutoriel – http://lsst.in2p3.fr/wiki/index.php?title=Utilisation_de_la_cha% C3%AEne_EUPS_%2B_scons • Un exemple automatisé tutoriel.py pour construire – Un package fournissant une librairie C++ – Un package fournissant une application C++ utilisant la librairie • Un petit script python pour initialiser un package vide prêt à être utilisé avec le stack • create_package.py – Déclare le package dans la base EUPS de votre environnement personnel Décembre 2015 6 C++ et python • Il existe des documents sur la norme « officielle » des langages C++ et Python – https://confluence.lsstcorp.org/pages/viewpage.action?pageId=2 0283399 – https://media.readthedocs.org/pdf/lsst-stack-docs/latest/lsststack-docs.pdf • OS X. – The version of clang available on 10.8 was sufficient to build the stack (from the point of view of C++11 language features) – However, because of some issues with the standard library, the minimum OS X version where the code is known to build is actually 10.9. Décembre 2015 7