SET(CMAKE_BUILD_TYPE Release)
add_library(o815 o815.cpp obs.cpp sim.cpp)
-target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout lat_hypercache lat_progress)
+target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout lat_hypercache lat_progress lat_datread)
if(DEFINED ENV{MPI_DISABLED})
set_target_properties(o815 PROPERTIES COMPILE_DEFINITIONS "MPI_DISABLED")
endif()