if [ -z "$MKLROOT" ]; then
  MKLROOT=/opt/intel/Compiler/11.1/059/mkl
fi

if [ -n "$MKLROOT" ]; then
  MKL_LIB_DIR=$MKLROOT/lib/em64t
  INTEL_RTL_LIB_DIR=$MKLROOT/../lib/intel64
  MKL_INC_DIR=$MKLROOT/include
  export MKL_LIB_DIR MKL_INC_DIR
  export INTEL_RTL_LIB_DIR
fi
