Skip to content
elisachisari edited this page Nov 10, 2016 · 18 revisions

Welcome to the CCL wiki!

CCL is the Core Cosmology Library of LSST-DESC. This library provides us with cosmological predictions that we will be using to analyze the data coming from LSST. For example, for a given set of cosmological paramaters and survey properties, CCL can produce angular power spectra for clustering, lensing, etc.

How to get started with CCL

To access the git repository for CCL, please link your github account to your confluence account. Go to the DESC confluence page http://confluence.slac.stanford.edu/display/LSSTDESC/home. Click on DESC People Database. Find your name, click on it and edit the information to add your github user.

Ask the CCL admins (Joe Zuntz, David Alonso, Elisabeth Krause, Elisa Chisari) to be added to the github repo for CCL.

Clone the repository into your computer. Do "git clone [email protected]:DarkEnergyScienceCollaboration/CCL.git".

In order to compile CCL you need GSL version 2-1. You can get GSL here: https://www.gnu.org/software/gsl/. To install it you need to be the admin of your computer. You will also need FFTlog, which you can get here: http://www.fftw.org

To compile CCL, go to the directory where you installed it and type "make".

How to contribute to CCL

We ask you that when you work on a modification on CCL, you do so by creating a git "branch". You can do this by going to the CCL directory in your computer and typing git checkout -b nameofyourbranch. This command will at the same time create the branch and switch to it.

Now you can start your modifications. Once you are done and want to show us what you have done, you should do a commit: git commit -m "some message about what you have done", and then push into the repository: git push -u origin nameofyourbranch.

Continue working on your branch and push your changes into the upstream branch. To only push changes from your current branch, you need to configure git as follows: git config --global push.default current.

If you find something we have missed, please contribute by opening a github issue on this.

Clone this wiki locally