anchor.diff:      mkdir -p build ; \
       cd build ; \
       cmake -Doptimize=on -DHDF5_PREFER_PARALLEL=on .. ; \
  -    make  ; \
  +    make ; \
       make install ; \
       cd ..  ; \
       pip install -e .[test] ; \
  
positive.code:     apt-get --yes install liblapack-dev ; \
      apt-get --yes install libnetcdf-dev ; \
      #apt-get --yes install libnetcdf13 ; \
      fi
  
  ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/hdf5/serial:$LD_LIBRARY_PATH
  
  # Clone and install MOAB
  RUN if [ "$include_dagmc" = "true" ] ; \
      then mkdir -p MOAB/bld ; \
      cd MOAB ; \
      git clone --depth 1 https://bitbucket.org/fathomteam/moab -b Version5.1.0 ; \
      cd bld ; \
      cmake ../moab -DENABLE_HDF5=ON ; \
                  -DENABLE_NETCDF=ON ; \
                  -DBUILD_SHARED_LIBS=OFF ; \
                  -DENABLE_FORTRAN=OFF ; \
                  -DCMAKE_INSTALL_PREFIX=$HOME/MOAB ; \
      make -j4; \
      make install ; \
      rm -rf * ; \
  
negative.code: RUN if [ "$include_dagmc" = "true" ] ; \
      then mkdir DAGMC ; \
      cd DAGMC ; \
      # git clone -b develop https://github.com/svalinn/dagmc ; \
      mkdir build ; \
      cd build ; \
      cmake ../dagmc -DBUILD_TALLY=ON ; \
          -DCMAKE_INSTALL_PREFIX=/DAGMC/ ; \
          -DMOAB_DIR=/MOAB  ; \
          -DBUILD_STATIC_LIBS=OFF ; \
          -DBUILD_STATIC_EXE=OFF ; \
      make -j install ; \
      rm -rf /DAGMC/dagmc /DAGMC/build ; \
      fi
  
  
  # Clone and install OpenMC with DAGMC
  RUN if [ "$include_dagmc" = "true" ] ; \
      then echo installing openmc with dagmc ; \
      # then git clone --recurse-submodules https://github.com/openmc-dev/openmc.git ; \
      /opt/openmc ; \
      cd /opt/openmc ; \
      mkdir -p build ; \
      cd build ; \
      cmake -Doptimize=on -Ddagmc=ON ; \
          -DDAGMC_DIR=/DAGMC/ ; \
          -DHDF5_PREFER_PARALLEL=on ..  ; \
      make  ; \
      make install ; \
      cd ..  ; \
  