Multicore Architecture-aware Scientific Applications