Skip to content
Snippets Groups Projects
Commit 73c3924f authored by Gregory Ashton's avatar Gregory Ashton
Browse files

New version of v2 files: tested and shown to built locally

parent e7d9248b
No related branches found
No related tags found
No related merge requests found
Pipeline #91472 passed
...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}" ...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}"
RUN conda info RUN conda info
RUN python --version RUN python --version
# Install pymultinest requirements
RUN apt-get update
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install conda-installable programs # Install conda-installable programs
RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
RUN conda install -n ${conda_env} -c anaconda coverage configargparse future RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge ...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge
# Install documentation requirements # Install documentation requirements
RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
# Install dependencies and samplers
RUN pip install corner lalsuite theano healpy RUN pip install corner lalsuite theano healpy
RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine
# Install pymultinest requirements # Install multinest
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install pymultinest
RUN git clone https://github.com/farhanferoz/MultiNest.git \ RUN git clone https://github.com/farhanferoz/MultiNest.git \
&& (cd MultiNest/MultiNest_v3.11_CMake/multinest && mkdir build && cd build && cmake .. && make) && (cd MultiNest/MultiNest_v3.12_CMake/multinest && mkdir build && cd build && cmake .. && make)
ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.11_CMake/multinest/lib: ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.12_CMake/multinest/lib:
# Install Polychord # Install Polychord
RUN git clone https://github.com/PolyChord/PolyChordLite.git \ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
......
...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}" ...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}"
RUN conda info RUN conda info
RUN python --version RUN python --version
# Install pymultinest requirements
RUN apt-get update
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install conda-installable programs # Install conda-installable programs
RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
RUN conda install -n ${conda_env} -c anaconda coverage configargparse future RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge ...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge
# Install documentation requirements # Install documentation requirements
RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
# Install dependencies and samplers
RUN pip install corner lalsuite theano healpy RUN pip install corner lalsuite theano healpy
RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine
# Install pymultinest requirements # Install multinest
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install pymultinest
RUN git clone https://github.com/farhanferoz/MultiNest.git \ RUN git clone https://github.com/farhanferoz/MultiNest.git \
&& (cd MultiNest/MultiNest_v3.11_CMake/multinest && mkdir build && cd build && cmake .. && make) && (cd MultiNest/MultiNest_v3.12_CMake/multinest && mkdir build && cd build && cmake .. && make)
ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.11_CMake/multinest/lib: ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.12_CMake/multinest/lib:
# Install Polychord # Install Polychord
RUN git clone https://github.com/PolyChord/PolyChordLite.git \ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
......
...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}" ...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}"
RUN conda info RUN conda info
RUN python --version RUN python --version
# Install pymultinest requirements
RUN apt-get update
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install conda-installable programs # Install conda-installable programs
RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
RUN conda install -n ${conda_env} -c anaconda coverage configargparse future RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge ...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge
# Install documentation requirements # Install documentation requirements
RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
# Install dependencies and samplers
RUN pip install corner lalsuite theano healpy RUN pip install corner lalsuite theano healpy
RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine
# Install pymultinest requirements # Install multinest
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install pymultinest
RUN git clone https://github.com/farhanferoz/MultiNest.git \ RUN git clone https://github.com/farhanferoz/MultiNest.git \
&& (cd MultiNest/MultiNest_v3.11_CMake/multinest && mkdir build && cd build && cmake .. && make) && (cd MultiNest/MultiNest_v3.12_CMake/multinest && mkdir build && cd build && cmake .. && make)
ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.11_CMake/multinest/lib: ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.12_CMake/multinest/lib:
# Install Polychord # Install Polychord
RUN git clone https://github.com/PolyChord/PolyChordLite.git \ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
......
...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}" ...@@ -14,6 +14,11 @@ RUN /bin/bash -c "source activate ${conda_env}"
RUN conda info RUN conda info
RUN python --version RUN python --version
# Install pymultinest requirements
RUN apt-get update
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install conda-installable programs # Install conda-installable programs
RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8 RUN conda install -n ${conda_env} -y matplotlib numpy scipy pandas astropy flake8
RUN conda install -n ${conda_env} -c anaconda coverage configargparse future RUN conda install -n ${conda_env} -c anaconda coverage configargparse future
...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge ...@@ -28,19 +33,15 @@ RUN pip install --upgrade setuptools coverage-badge
# Install documentation requirements # Install documentation requirements
RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc RUN pip install sphinx numpydoc nbsphinx sphinx_rtd_theme sphinx-tabs autodoc
# Install dependencies and samplers
RUN pip install corner lalsuite theano healpy RUN pip install corner lalsuite theano healpy
RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine RUN pip install cpnest dynesty emcee nestle ptemcee pymc3 pymultinest kombine
# Install pymultinest requirements # Install multinest
RUN apt-get install -y libblas3 libblas-dev liblapack3 liblapack-dev \
libatlas3-base libatlas-base-dev cmake build-essential gfortran
# Install pymultinest
RUN git clone https://github.com/farhanferoz/MultiNest.git \ RUN git clone https://github.com/farhanferoz/MultiNest.git \
&& (cd MultiNest/MultiNest_v3.11_CMake/multinest && mkdir build && cd build && cmake .. && make) && (cd MultiNest/MultiNest_v3.12_CMake/multinest && mkdir build && cd build && cmake .. && make)
ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.11_CMake/multinest/lib: ENV LD_LIBRARY_PATH $HOME/MultiNest/MultiNest_v3.12_CMake/multinest/lib:
# Install Polychord # Install Polychord
RUN git clone https://github.com/PolyChord/PolyChordLite.git \ RUN git clone https://github.com/PolyChord/PolyChordLite.git \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment