This presentation consists of two parts. The development of the Framework for Modernization and Componentization of Fusion Modules (FMCFM), which contains a set of tools, standards and techniques for modernization of modules extracted from established fusion codes, for example transport modules from National Transport Code Collaboration (NTCC) library, is discussed in the first part. We will report on the results of our modernization efforts for two transport modules, GLF23 and MMM95 from the NTCC library, including comparison of the NTCC standards with the standards of several community-wide projects for integrated modeling in Space Physics, Earth Weather and Climate Research, the set of sample development documents for integrated modeling developed based on this comparison, our portable build system, and the application of modern software engineering techniques to the Fortran legacy codes.
The modern approach to the modeling of complex, mutually interacting, computationally intensive systems is to reformulate the original problem as a problem of coupling between sub-systems designated as components. We will describe our work in progress in applying the Common Component Architecture tools to the development of components from two transport modules, GLF23 and MMM95, written in Fortran, and coupling them with another component made from the new nonlinear solver written in C/C++. Then we will briefly overview several promising tools and techniques for coupling of scientific codes, including MCT, MpCCI an InterComm, that have been successfully used in several community-wide projects for integrated modeling.