Scientific Computing with Multicore and Accelerators