anchor.diff:  # The Tractor
   RUN git clone http://github.com/dstndstn/tractor.git tractor \
       && cd tractor \
  +    && git checkout speedup \
       && make \
       && make ceres \
       && make install INSTALL_DIR=/usr/local \
       && rm -R $(find . -name "*.o" -o -name "*.so")
  -
  -ENV BLAS -L${MKLROOT}/lib/intel64 -lmkl_rt -fopenmp -lpthread -limf -lsvml -ldl
  -ENV CPPFLAGS -I${MKLROOT}/include
  -
  -RUN git clone https://github.com/astromatic/sextractor.git sourceextractor \
  -    && cd sourceextractor \
  -    && sh autogen.sh \
  -    && ./configure --enable-icc --enable-mkl \
  -    && make \
  -    && make install \
  -    && make clean
  -
  -RUN git clone https://github.com/astromatic/psfex.git psfex \
  -    && cd psfex \
  -    && sh autogen.sh \
  -    && ./configure --enable-icc --enable-mkl \
  -    && make \
  -    && make install \
  -    && make clean
   
   ######## Stage 2 ########
   FROM registry.services.nersc.gov/nersc/intel_cxx_fort_mpi_mkl_runtime
  
positive.code:     file \
      pkg-config \
      gdb \
      less \
      wget \
      netpbm \
  
negative.code: RUN mkdir /root/.qdo && echo "[qdo]" > /root/.qdo/qdorc
  RUN python -c "import astropy"
  
  # yuck
  #RUN wget https://raw.githubusercontent.com/dstndstn/astrometry.net/master/util/EXIF.py \
  #    && mv EXIF.py /usr/local/lib/python/astrometry/util/
  
  RUN    python    -m compileall /src/unwise_psf/py/unwise_psf.py \
      && python -O -m compileall /src/unwise_psf/py/unwise_psf.py
  
  RUN wget https://raw.githubusercontent.com/dstndstn/tractor/speedup/tractor/engine.py \
      && mv engine.py /usr/local/lib/python/tractor/
  
  RUN cd /src/legacypipe/py && git pull && git checkout speedup
  
  RUN    python    -m compileall /src/legacypipe/py/{legacypipe,legacyzpts} \
      && python -O -m compileall /src/legacypipe/py/{legacypipe,legacyzpts}
  
  RUN python -O -m compileall /usr/lib/python3.5 /usr/lib/python3/dist-packages /usr/local/lib/python /usr/local/lib/python3.5/site-packages /usr/local/lib/python3.5/dist-packages && \
      python    -m compileall /usr/lib/python3.5 /usr/lib/python3/dist-packages /usr/local/lib/python /usr/local/lib/python3.5/site-packages /usr/local/lib/python3.5/dist-packages
      
  RUN wget https://raw.githubusercontent.com/dstndstn/tractor/speedup/tractor/engine.py \
      && mv engine.py /usr/local/lib/python/tractor/ \
      && python    -m compileall /usr/local/lib/python/tractor/engine.py \
      && python -O -m compileall /usr/local/lib/python/tractor/engine.py
      