Added an openmp usage.
Added log messages.