MPJ Express Meets Gadget: Towards a Java Code for Cosmological Simulations

  • Mark Baker
  • Bryan Carpenter
  • Aamir Shafi
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4192)


Gadget-2 is a massively parallel structure formation code for cosmological simulations. In this paper, we present a Java version of Gadget-2. We evaluated the performance of the Java version by running colliding galaxies simulation and found that it can achieve around 70% of C Gadget-2’s performance.


Gravitational Force Domain Decomposition Java Object Daughter Node Cosmological Simulation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Baker, M., Carpenter, B., Shafi, A.: An Approach to Buffer Management in Java HPC Messaging. In: Alexandrov, V.N., van Albada, G.D., Sloot, P.M.A., Dongarra, J. (eds.) ICCS 2006. LNCS, vol. 3992, pp. 953–960. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  2. 2.
    Barnes, J., Hut, P.: A Hierarchical O(N log N) Force-calculation Algorithm. Nature 324(4), 446–449 (1986)CrossRefGoogle Scholar
  3. 3.
    Bizarro, P., Silva, L.M., Silva, J.G.: JWarp: A Java Library for Parallel Discrete-Event Simulations. Concurrency: Practice and Experience 10(11–13), 999–1005 (1998)CrossRefGoogle Scholar
  4. 4.
    The MONARC project,
  5. 5.
    Padial-Collins, N.T., VanderHeyden, W.B., Zhang, D.Z., Dendy, E.D., Livescu, D.: Parallel operation of CartaBlanca on shared and distributed memory computers. Concurrency and Computation: Practice and Experience 16(1), 61–77 (2004)CrossRefGoogle Scholar
  6. 6.
    Salmon, J.K., Warren, M.S.: Skeletons from the Treecode Closet. J. Comput. Phys. 111(1), 136–155 (1994)MATHCrossRefGoogle Scholar
  7. 7.
    Springel, V.: The cosmological simulation code GADGET-2. Monthly Notices of the Royal Astronomical Society 364, 1105 (2005)CrossRefGoogle Scholar
  8. 8.
    Springel, V., White, S.D.M., Jenkins, A., Frenk, C.S., Yoshida, N., Gao, L., Navarro, J., Thacker, R., Croton, D., Helly, J., Peacock, J.A., Cole, S., Thomas, P., Couchman, H., Evrard, A., Colberg, J., Pearce, F.: Simulating the joint evolution of quasars, galaxies and their large-scale distribution. Nature 435, 629 (2005)CrossRefGoogle Scholar
  9. 9.
    Wright, G., Seidi, M.L., Wolczko, M.: An object-aware memory architecture. Technical Report TR-2005-143, Sun Microsystems (February 2005),

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Mark Baker
    • 1
  • Bryan Carpenter
    • 2
  • Aamir Shafi
    • 3
  1. 1.School of Systems EngineeringUniversity of Reading 
  2. 2.Open Middleware Infrastructure InstituteUniversity of Southampton 
  3. 3.Distributed Systems GroupUniversity of Portsmouth 

Personalised recommendations