Skip to content

Installation of CosmoSIS for cosmological inference on candide #107

@sachaguer

Description

@sachaguer

Installation process corresponds to (https://cosmosis.readthedocs.io/en/latest/intro/installation.html) section 'Installing manually on clusters and supercomputers'

On the login node:

module load gsl/2.7.1
module load fftw/3.3.10
module load gcc
module load openmpi

export GSL_LIB=/softs/gsl/2.7.1/lib
export GSL_INC=/softs/gsl/2.7.1/include
export CFITSIO_INC=/softs/cfitsio/4.3.1/include
export CFITSIO_LIB=/softs/cfitsio/4.3.1/lib
export FFTW_LIBRARY=/softs/fftw/3.3.10-gnu/lib
export FFTW_INCLUDE_DIR=/softs/fftw/3.3.10-gnu/include
export CXX=/softs/gcc/13.2.0-CentOS7/bin/g++
export CC=/softs/gcc/13.2.0-CentOS7/bin/gcc
export FC=/softs/gcc/13.2.0-CentOS7/bin/gfortran
export MPIFC=/softs/openmpi/5.0.0-torque-CentOS7/bin/mpif90
export COSMOSIS_ALT_COMPILERS=1

conda activate sp_validation

pip install cosmosis camb astropy fitsio cython==0.29.36 scikit-learn fast-pt (Beware Cython MUST be < 3.0)

source cosomosis-configure
git clone https://github.com/joezuntz/cosmosis-standard-library
cd cosmosis-standard-library
make

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions