Skip to content

missing cell problem #263

@yaolun

Description

@yaolun

Hi,

I have encountered this missing cell problem multiple time during the raytracing part of LIME, and am wondering if anyone has a similar experience, and suggestions to fix it.

This is the error message I got at the end of the run, and no image is produced at the end.

Error: Something weird going on. Cannot find a cell with ID 1396939

The cell ID changed from time to time.

I am running pylime with a grid with max radius ~ 60000 AU and a minimum scale of 0.2 AU. pylime is run in multi-threads mode, but this problem also occur when running in single thread. The image parameters I used are:

par.img[-1].imgres = 0.1
par.img[-1].pxls = 500
par.img[-1].distance = 200 (shown here in parsec, but in meters in the actual code)

I think the imaging parameters are well within the boundary of the grid and the resolution should be fine with the minimum scale of the grid.

The nature of this problem is unclear to me, so I poked around to observe its behavior. My first thought to fix this problem is to fix the imaging parameters, but I don't see how they can be wrong. This problem does get away if I set the image resolution to 1 arcsec, but I don't think this is how LIME suppose to work.

Then I started to wonder about other parameters and found out that reducing the number of the threads did help to fix this problem, but it does not always work. For instance, 20 threads with 1 arcsec resolution failed, but 5 threads with 1 arcsec resolution is fine. But 5 threads with 0.5 arcsec resolution doesn't work. Also using a single thread also failed with sub-arcsec resolution in this case.

So I am wondering if anyone has experienced this problem before, or has some insight about what could be the origin of this error. Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions