We have previously developed cost models for Java bytecode and originated analysis methods and tools which operate on Java bytecode obtained from a novel high-level functional programming language. The aim of this project is to extend our existing work on resource-bounded computation and apply it to scientific codes written in Java executing on the Grid framework.