Returns CPU time in seconds
function timer_local()
# ifdef OPENMP
!$ use omp_lib, only: omp_get_wtime
# endif
real :: timer_local
timer_local=0.
# ifdef OPENMP
timer_local=omp_get_wtime()
# else
# if defined MPI && !defined MPIINC && !defined SINGLE_PRECISION
timer_local=mpi_wtime()
# else
! this routine is F95 standard
call cpu_time(timer_local)
# endif
# endif
end function timer_local