parallelization of geodesic ray tracing for arbitrary
play

Parallelization of Geodesic Ray-Tracing for Arbitrary Metrics - PowerPoint PPT Presentation

CINESPA Parallelization of Geodesic Ray-Tracing for Arbitrary Metrics Guillermo Andree Oliva Mercado October 14, 2016 Space Science Research Centre (CINESPA) University of Costa Rica 1 Description of the problem Program and parallelization


  1. CINESPA Parallelization of Geodesic Ray-Tracing for Arbitrary Metrics Guillermo Andree Oliva Mercado October 14, 2016 Space Science Research Centre (CINESPA) University of Costa Rica 1

  2. Description of the problem Program and parallelization The future 2

  3. 3

  4. What you need to know... • Metrics describe spacetime • Spacetime becomes curved around compact objects (neutron stars, black holes, etc.) • Curved spacetime bends light: null geodesics • Geodesic equations: 2nd order ODE system that contains derivatives of the metric that describe trajectories of particles • I am solving the geodesic equations for arbitrary metrics • I want to apply the result to: • Gravitational redshift of radiation emitted near a compact object ← • High resolution gravitational lenses 4

  5. Initial conditions 5

  6. Description of the problem Program and parallelization The future 6

  7. Structure of the program numerical methods, coordinates geodesic equations generation of Metric X (subroutines) equations variation of initial python/fortran output files conditions interface analysis and visualization sage python fortran text/bin file module script 7

  8. Problems with the serial version • For low resolutions works decently fine (aprox. 1-5 minutes) • Increasing the size of the region increases considerably the time! • I need lots of runs! — Different parameters • Theoretically it’s easy to parallelize and use available resources 8

  9. Parallelizable tasks numerical methods, coordinates geodesic equations generation of Metric X (subroutines) equations variation of initial output files conditions analysis and parallelizable tasks visualization sage python fortran text/bin file module script 9

  10. Implementation distribution of initial distribution of initial distribution of initial conditions conditions conditions solving of geodesic solving of geodesic solving of geodesic equations equations equations data gathering and output output files analysis and visualization 10

  11. Problems and simplifications • Distribution of initial conditions manually • Saving all iterations: with adaptive-size methods you can’t predict the size of results! • The initial and final iterations allowed me to construct one image • Non-perfect results (nothing to do with parallelization) 11

  12. Results 200 × 200 pixels 12

  13. Scalability Numbers: processes in the x direction 13

  14. Description of the problem Program and parallelization The future 14

  15. Lessons learned • All is more complicated in parallel • Ask questions! • Look for things already implemented! • Start with the simplest case • Prototyping in Python before implementing in the main code • Version control saved my life: In the past, I had already implemented and erased some useful lines of code that I needed now! 15

  16. This School helped me because... • I can now generate higher resolution images and try more initial conditions • I can now use the Chirripó cluster (Cinespa) for my project • It gave me an insight about parallel programing for other projects 16

  17. GANDREOLIVA Thanks more information www.gandreoliva.org/english 17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend