-
Notifications
You must be signed in to change notification settings - Fork 290
Home
lesgourg edited this page Sep 26, 2019
·
49 revisions
Welcome to the CLASS public repository wiki!
This is not the same as the CLASS webpage nor the online html documentation.
Please use Anaconda, which is a Python distribution with graphical installer, and a package manager, that will play nicely with Mac OS X, and remove a lot of problems.
Note that you might encounter an error that reads ValueError: unknown locale: UTF-8
when launching ipython
. Please paste these two lines:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
at the end of your file ~/.bash_profile
.
If you know what you are doing, and/or are on a Linux, you can of course use the Python distribution you want.
- Detailed instructions on how to install the code,
including notes about installing on Mac OS X 10.9+ and the
clang
compiler. - You can find more information on the Python wrapper.
- Problems at compilation, and you don't understand the error message? See the frequently asked questions, and search for the error message.
On this CLASS public repository, you will find only a limited number of branches:
- the
master
branch contains the latest release (corresponding to a version tag, e.g. v2.7.3) - some intermediate commits between two tagged version can be found in the branch
x.y
with highest numbers (e.g.2.7
). It might contain a few more bug fixes than the master branch. - the
class_matter
branch contains a parallel version computing large scale structure CL's with the FFTlog method of the paper Beyond the traditional Line-of-Sight approach of cosmological angular statistics, JCAP 1810 (2018) 047. It includes the calculation of the required hypergeometrical functions and it is provided with an illustrative input file matter.ini
- If you want to contribute to the code, please look at the instructions