-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error "Particle ID out of range" but particles should be in range #115
Comments
I think you are missing a E.g. suppose the paramfile with the 1024^3 zoom grid was called BTW do you really want those velocity-zeroing commands? That is what we use in AMR runs, but shouldn't be necessary with SPH. |
ah OK I see... so. Rather than using the exact steps to create the Tremmel ICs (which I did use to make the cube and select iords), and THEN take a subsequent step to re-refine, I instead commented out the Tremmel-final refinement and used a NEW refinement do to it all in one go. This was Corentin's suggestion and made sense to me, but... now I can see how the iords from my list are out of range, they do not exist do they? And I can see that I need a So perhaps instead of doing one giant refinement (as Corentin had suggested) maybe there should be a step that directly follows from the Tremmel version (if so, I am not sure how to manage it, which is why I bothered Corentin initially). As for the velocity-zeroing commands, they are from the Tremmel version and I do not know what they do, I am ignorant of their necessity. |
The Yes you can also keep the tremmel refinement and do a fresh zoom on top of the existing zoom, though ironically you might still need a OK re the velocity commands. They are not going to be doing anything really bad, and so since you are mid-way through a project I wouldn't now remove them (they could slightly change the large scale structure). |
OK, it sat in the queue for a while... and still the same error. I added |
OK... I don't think I can help much further without getting access to all the required files to run this for myself |
I'm using Stampede (in the US) to run this, which I assume you cannot access... |
No, but hopefully the paramfile and iord files are not prohibitively large to put somewhere... |
let me know if you got a google drive link emailed to you |
Yes, but unfortunately it's missing a number of files - |
sorry I've added them! |
Thanks... so I created the ICs from However the maximum iord in Most likely, the ICs used for the run which Other less likely possibilities include that somehow the iords are garbled, although I don't think I've ever seen that happen with changa. |
Hey @jillbellovary did you already figure this out? I can't remember if we spoke about this offline but I was running into the same issue and remembered that the problem is that iords that changa assigns when SPLITGAS is turned on are different. A "buffer" equal to the initial Ngas is put in so that additional gas iords can be assigned later. To make the DM iords match what genetIC expect you need to subtract Ngas from all of them (note that if you are extracting information from an adiabatic run, you can just use the Ngas at any timestep, otherwise use Ngas from the initial conditions) Iord_DM_corrected = Iord_DM - Ngas_original @apontzen has mentioned to me that it may be possible to put in a flag in genetic to do this conversion later, but for now this simple conversion will do the trick I think! |
This would explain why Andrew kept telling me that the iords in my file seemed like they were greater than the number of particles. I ended up not using an iord file at all and just mega-zooming the entire zoom region. But this info will be important to tell future people, including future me, if I ever do this again. |
I'm trying to create a "superzoom" IC from existing zoomed ICs. I'm using ICs that Michael Tremmel made of a zoomed MW+ galaxy, and I can use genetIC to reproduce his process. I then ran these ICs to z=10, and selected a cube that encompasses ~90% of the zoom region. I wish to further resample this region. I output the iords into a file and have verified that they are in the proper cube and they are all dark matter. Corentin has assisted me in creating the correct genetIC commands for my needs. But I keep getting: Error "Particle ID out of range"
I'll attach my param file here, all other files are quite large... but I'm glad to share more if it will help.
corentin_param.txt
I would appreciate any help!
The text was updated successfully, but these errors were encountered: