Skip to content

Instantly share code, notes, and snippets.

@SpheMakh
Last active April 7, 2020 14:21
Show Gist options
  • Save SpheMakh/167017994b0a9848990d7cd4d5cb959e to your computer and use it in GitHub Desktop.
Save SpheMakh/167017994b0a9848990d7cd4d5cb959e to your computer and use it in GitHub Desktop.
wsclean with IDG (CPU only)
FROM kernsuite/base:5
MAINTAINER <sphemakh@gmail.com>
RUN docker-apt-install cmake \
wget \
subversion \
build-essential \
cmake \
gfortran \
g++ \
libncurses5-dev \
libreadline-dev \
flex \
bison \
libblas-dev \
liblapacke-dev \
libcfitsio-dev \
libgsl-dev \
wcslib-dev \
libhdf5-serial-dev \
libfftw3-dev \
python-numpy \
libboost-python-dev \
libboost-all-dev \
libpython2.7-dev \
liblog4cplus-dev \
libhdf5-dev \
casacore-dev \
git
WORKDIR /wsclean-idg
RUN git clone https://gitlab.com/astron-idg/idg.git
RUN cd idg && mkdir build && cd build
RUN cd idg/build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/idg/ ..
RUN cd idg/build && cmake .
RUN cd idg/build && make
RUN cd idg/build && make install
RUN wget https://tenet.dl.sourceforge.net/project/wsclean/wsclean-2.8/wsclean-2.8.tar.bz2
RUN tar xvf wsclean-2.8.tar.bz2
RUN mkdir wsclean-2.8/build
RUN cd wsclean-2.8/build && \
cmake .. -DPORTABLE=Yes -DCMAKE_BUILD_TYPE=Release && \
make -j 10 && \
make install
RUN ulimit -p 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment