Euclid-mardec

You will be given a number "XX" and the password. Then login with:

 
ssh -Y4C binomeXX@mardecXX.in2p3.fr 

You can check with the command

users

that you are the only binomeXX logged.

CAMEL Installation

The first time

Copy and source the initialization scripts:

cp /dec/users/plaszczy/euclid-school/euclid_setup.sh .
source euclid_setup.sh

... and have some quick look at it.

Then clone the CAMEL euclid-school v2 branch:

git clone -b v2_euclid https://gitlab.in2p3.fr/cosmotools/CAMEL.git CAMEL/v2_euclid

This will pull the CAMEL code and put it into CAMEL/v2_euclid (that we will call CAMELROOT). Go there.

All the compilation stuff happens in cmt directory:

cd cmt 
ln -s requirements-dec requirements
source camel_setup.sh

which class version is used? (for git experts: is it the latest one?)

CMT is a convenient tool to avoid writing complicated Makefiles (details in : http://www.cmtsite.net) The Makefile is replaced by the much more user-friendly requirements file (in /cmt). Have a (short) look at it. Then type:

make

This builds (only) the libraries.

If everything goes fine, construct the executables and test programs with:

make test
make exec

All the executables are located in amd64_linux26 which is defined by the variable $CMTCONFIG

check things looks OK by running testKlass (which shows some capabilities of the CLASS C++ version)

Optional: if you want to have a look at the structure of the code see Main.CamelUse (but you don't need it)

Let us create a directory where we will put our work. There is already a $CAMELROOT/work one, so maybe something in it as "output"

 
cd $CAMELROOT
mkdir work/output
cd work/output

At each session

you always need to do

source euclid_setup.sh
cd CAMEL/v2_euclid/cmt
source camel_setup.sh
cd ../work/output