Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculations in databases? #26

Open
drphilmarshall opened this issue Apr 16, 2015 · 2 comments
Open

Calculations in databases? #26

drphilmarshall opened this issue Apr 16, 2015 · 2 comments

Comments

@drphilmarshall
Copy link
Owner

While we discuss the details of the inference in #23 , I think it's clear that to predict weak lensing data and evaluate our log likelihood we will need to be computing the lensing effects (gamma, kappa) of ~100s of halos on each source, for 10^5 sources per sq deg in under a second (to keep our lives sane). I started wondering about fast methods to do this computation in parallel like Map/Reduce - my limited understanding from half an hour's reading is that some databases may enable this automatically/by design.

So, I'm thinking that we are likely to want to do this project with some sort of actual database, preferably one sitting on top of thousands of CPUs!. Since the importance sampling could, I think, be a very general use case of an LSST object catalog that contains interim posterior samples of things like galaxy shape and galaxy photo-z, I'm thinking about boiling this problem down to its simplest possible pseudocode and plain python/everything in memory demo, and then getting in touch with Jacek and KT at SLAC to see if they want to collaborate.

Thoughts?

@drphilmarshall drphilmarshall added this to the The Start of Summer milestone Apr 16, 2015
@drphilmarshall
Copy link
Owner Author

@beckermr writes...

This is one way to go certainly. I am not familiar with it myself. Another way is to do it all in MPI with python, at least to start. I can help with this way and it might make things easier for us in terms of changing things was we go.

@drphilmarshall
Copy link
Owner Author

OK: I will:

  • try to distil the pseudocode of what we need to do into a wiki page, when I post the maths,
  • show it to Jacek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants