Wrapping MPI-based legacy codes as Java/CORBA components

MZ Li and OF Rana and DW Walker, FUTURE GENERATION COMPUTER SYSTEMS, 18, 213-223 (2001).

DOI: 10.1016/S0167-739X(00)00093-5

Techniques for wrapping an MPI-based molecular dynamics (MD) simulation code as Java/CORBA components, for use within a distributed component based problem solving environment (CB-PSE), is presented. A legacy code for simulating a Lennard-Jones fluid is first wrapped as a single CORBA object, followed by division of the code into computational sub-units, where each sub-unit is wrapped as a CORBA object containing MPI calls, and run on a cluster of workstations - enabling different MPI implementations to inter-operate. Using a Java implementation, users can submit simulation tasks through a Web based inter-face, without needing to know implementation details of the legacy code, or the exact interaction between sub-units within the code. We provide performance comparisons of wrapping the entire MD code as a single object versus wrapping sub-units within it, and offer a simple performance model to explain our findings. (C) 2001 Elsevier Science B.V. All rights reserved.

Return to Publications page