Git Product home page Git Product logo

fccsw's Introduction

FCCSW

Common software for all FCC experiments. This software is based on Gaudi.

Working with GitHub

In this section, you will first find a description of our github organization and workflow. Then, you will find instructions for setting up your github account, and taking part in this workflow.

Organization and workflow

  • The FCC github organization is responsible for software integration. It owns the "main" copies of the FCC software repositories on github:

    • FCCSW : core software shared by hh, ee, and he
    • FCCSW-hh : software specific to the hh configuration
    • FCCSW-ee : to be created
    • FCCSW-eh : to be created
  • Individual github users do not directly push their code to the FCC repositories. Instead, they make ("fork") their own copy of the FCC repositories on github. Then, they:

    • develop and commit on their local machine
    • push their code to their copy of the FCC repositories on github
    • send pull requests to the FCC organization. The FCC organization administrators are then free to pull the code from the user repositories or not, thus taking the responsibility of the software integrity for the organization.

Instructions for new users

  1. create a github account if you don't have one.
  2. go to https://github.com/HEP-FCC/FCCSW and click "Fork" at the top right of the page. You are directed to your newly forked copy of the FCCSW repository
  3. in the instructions below, replace <username> by your github username

Installation

Log in to lxplus SLC6. Please note that these instructions might not work on another SLC6 machine. Instructions to compile on a mac are in preparation.

Prepare a global software zone for FCC:

mkdir FCC
cd FCC
export FCCBASE=$PWD

Clone the Gaudi repository:

git clone -b dev/hive  http://cern.ch/gaudi/GaudiMC.git GAUDI/GAUDI_v25r2
export GAUDI=$FCCBASE/GAUDI/GAUDI_v25r2

Clone the FCCSW repository: replace <username> by your github username

git clone [email protected]:<username>/FCCSW.git FCCSW 
export FCCSW=$FCCBASE/FCCSW

Set up your environment:

cd $FCCSW
source init.sh

Compile Gaudi (it will take a bit of time, but you won't do this often):

cd $GAUDI
make -j 12 
make install  # _do not forget to install_

Compile the FCC software:

cd $FCCSW
make -j 12

Test

cp ~hegner/public/example_MyPythia.dat .
./run gaudirun.py example_options.py

You should see an HepMC printout.

fccsw's People

Contributors

cbernet avatar clementhelsens avatar hegner avatar shqiptare avatar denterria avatar pjanot avatar elizabethlocci avatar prebello avatar emanuelperez avatar sbinet avatar degrutto avatar peterkostka avatar

Watchers

Caterina avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.