CosmoStat / CosmoStat/sp_validation

Installation of CosmoSIS for cosmological inference on candide

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
5
Avg merge
1d 14h
Merged PRs (30d)
19

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CosmoSIS manual section on installing manually on clusters and supercomputers, then review the module, environment-variable, conda, pip, and make commands listed here for the candide setup. Done means the repository has a clear, validated installation guide that preserves the required dependencies and commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.