Commit c297f9fa authored by root's avatar root

Added wsclean

parent 37a27031
......@@ -168,6 +168,21 @@ RUN sed -e "s|INSTALLDIR|/opt|" /opt/ddf-pipeline/misc/DDF.sh > /opt/DDFacet/ini
RUN cd /opt && git clone https://www.ict.inaf.it/gitlab/lofarit/container-data.git
#####################################################################
# WSCLEAN
#####################################################################
RUN apt-get install libgsl-dev
RUN mkdir /opt/wsclean
RUN cd /tmp; git clone https://gitlab.com/aroffringa/wsclean.git
RUN cd /tmp/wsclean && git checkout 6567e489
RUN mkdir /tmp/wsclean/build
RUN cd /tmp/wsclean/build && cmake ../ -DCMAKE_PREFIX_PATH=/opt/casacore -DCMAKE_INSTALL_PREFIX=/opt/wsclean/ && make -j8 && make install
ENV PATH /opt/wsclean/bin:$PATH
#RUN cd /tmp/wsclean/build && cmake -DCASACORE_ROOT_DIR=/opt/casacore -DCASACORE_INCLUDE_DIRS=/opt/casasore/include
#-DCFITSIO_LIBRARY=${INSTALLDIR}/cfitsio/lib/libcfitsio.so -DCFITSIO_INCLUDE_DIR=${INSTALLDIR}/cfitsio/include -DHDF5_ROOT=${INSTALLDIR}/hdf5 -DIDGAPI_DIR=${INSTALLDIR}/idg -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}/wsclean -DLOFAR_STATION_RESPONSE_LIB=${INSTALLDIR}/lofarbeam/lib/libstationresponse.so -DLOFAR_STATION_RESPONSE_DIR=${INSTALLDIR}/lofarbeam/include -DBoost_INCLUDE_DIR=${INSTALLDIR}/boost/include ${INSTALLDIR}/wsclean/wsclean/wsclean
#####################################################################
# Switch back to lofar user and set env
#####################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment