Add DAG logging and MKL base mode (toggled by MKL_BASE)