A General Code Coupling Framework and the Dissection of the LFM Code

Statistics – Computation

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

2736 Magnetosphere/Ionosphere Interactions, 2753 Numerical Modeling, 2784 Solar Wind/Magnetosphere Interactions, 2794 Instruments And Techniques

Scientific paper

One of the challenges of producing an end-to-end model for Space Weather is the coupling together of disparate codes. Most often, very sophisticated simulation models have been developed that treat regions or physical regimes in isolation. With funding from the NSF Center for Integrated Space Weather Modeling and the NASA Living With a Star Program, we have been developing a coupling technology that will allow coupling of such models together with a minimum of modification to those codes. Our approach is built on the following ideas:
1. The modification to the original code(s) should, to the extent possible, only deal with the output or input of necessary information.
2. Necessary transformations and translations of variables from one code to another should be handled in a separate code module.
These criteria allow us to use object oriented code concepts for maximum modularity and reusability without throwing away the huge amounts of effort invested in existing codes. For example, the translation modules in 2. can easily be designed do that replacement of one existing MHD code by another is a simple task. While these design criteria will not lead to a real ``plug and play'' modularity, we believe that they will provide a very useable framework in which different simulation codes can be added to or used as replacements in an end-to-end Space Weather model. We will discuss the software elements that undergird these ideas. The communication between codes is being handled by the interCom meta-library (the successor to the MetaChaos library). This meta-library is designed to provide transparent and efficient data transfer between different parallel processes in both homogeneous and heterogeneous environments. With the advent of grid computing and with the possibility that specific codes need to run at specific locations, the heterogeneous aspect becomes particularly important. We are also using the Overture package to help with the writing of the connector modules. Overture is a C++ class library devloped for doing computational fluid dynamics on overlapping grids. As such, it has built in functions for handling grid transformations and interpolations, as well as a Fortran 90-like array syntax. As an example of these techniques, we discuss the dissection of the LFM global magnetosphere/ionosphere simulation code into separate magnetospheric (MHD) and ionospheric (height integrated potential solution) modules linked via the interCom meta-libraries. We will show how the new coupled pair compares with the old integrated model in terms of simplicity and efficiency. In addition, we will discuss the operation of the new model in a heterogeneous computing environment and the use of heterogeneous tools to provide a real-time monitoring capability for code runs.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

A General Code Coupling Framework and the Dissection of the LFM Code does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with A General Code Coupling Framework and the Dissection of the LFM Code, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and A General Code Coupling Framework and the Dissection of the LFM Code will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-1648605

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.