-
Notifications
You must be signed in to change notification settings - Fork 13
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
Producing multiple observations serially #229
Comments
Hi @giuspugl,
I think that when we do not use MPI, so we run serially, we should use
Do you mean that we should add this to the notebook and show people how to do that or do you mean that there is not such a possibility in LB sim? Maybe the code blocks below show what you are looking for (cell numbers refer to the ones here). Cell 6: create two observations
Cell 10: select which observation to fill using
Cell 11: verification that only the first simulation's TODs were filled
Then, you can add other components also to specific tod fields, e.g.
Please let me know if you were looking for something like this and if you would like to add a similar example to the notebook. I run the code on my pc without using MPI. (*) by using |
Thanks a lot @marcobortolami ! this is what i really needed to clarify! no need to update the notebooks ! |
Hi @giuspugl.
If you do this while having
Is all of this correct? In particular the rank distribution in the last example? (*) I think the upper right part of the first picture is wrong as it should display |
Hi @marcobortolami , thanks for the detailed posting! Let's not forget the documentation here: https://litebird-sim.readthedocs.io/en/master/observations.html The following plot is used in the documentation to explain the meaning of a few parameters: I believe that a useful addition to the code would be to include a schematic diagram of the way the TOD has been distributed among the MPI processes. It's one of my oldest dreams! |
Hi Maurizio.
The thing I am unsure about is the rank distribution when
Yes, I think a schematic diagram abuot TOD distribution would be a nice addition as parallel applications will be necessary for producing simulations involving an adequate number of detectors. Do you mean improving the documentation or also adding that to the code? Hasn't this alredy been added here? |
Hello,
it seems that so far we cannot produce serially a simulation with
n_blocks_time>1
observations and few detectors .Please have a look at cell 5 and 6 of
https://github.com/litebird/litebird_sim/blob/master/notebooks/litebird_sim_quick_simulation.ipynb
i think for the sake of making the framework user friendly we should allow the user to simulate more than one observation serially and leave the parallelization as an user keyword that can be set for production runs.
what do you think ?
The text was updated successfully, but these errors were encountered: