Last active
April 7, 2020 14:21
-
-
Save SpheMakh/167017994b0a9848990d7cd4d5cb959e to your computer and use it in GitHub Desktop.
wsclean with IDG (CPU only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM kernsuite/base:5 | |
MAINTAINER <[email protected]> | |
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