= Introduction = This page ilustrates MUSCLization of real astrophysics code [http://piernik.astri.umk.pl/ PIERNIK] ("Gingerbread"). = The orginal code = - monolitic - fortran - MPI/HDF5 dependency - high scalability of the main MHD module - propotype particule simulation Monte Carlo module - coupling done via global variables = The goal = - couple using MUSCLE, why? * the coupling is done one way (from MHD to MC), this brings a potential of introducing new level of parallelism (in curent code MHD and MC simulations are called one after another, sequentially) * the MC is in process of GPU-enabling, one may want to run both modules on different heterogenous resources (i.e. MC on GPU cluster, base MHD code on Intel Nehalem cluster) = The code =