OpenMC plotter runs super slow

Hello,

I’m running openmc-plotter -s 24 to utilize 24 threads. The issue im having is I have a mesh with 20,000 entities or triangles so shouldn’t be large however openmc plotter takes forever to load and its not very complex geometrys. Just a couple cylinders embeded into a cube. This is fustrating because I am trying to debug my geometry but have to wait long periods of time for the plotter to load. Any help?

Hi @thallam, sorry to hear you’re having trouble with the plotter. Are you able to share the model so I can try to reproduce?

@paulromano Here is the dagmc model

here is another one that takes forever to load and sometime wont load

@thallam When I load this model in the plotter, it takes about 8 sec to initialize OpenMC (which includes loading the DAGMC model and creating acceleration data structures) and then another 24 sec to produce the initial 1000x1000 plot. With the latest updates in openmc-plotter that allow you to specify the default resolution, I can change the default resolution to something like 100x100 (openmc-plotter -r 100 ...), which then results in a time of less than 1 sec to produce the initial 100x100 plot, meaning that the total load time is less than 10 sec.

I’m not sure what the issue is on your end, but I wonder if it has to do with the versions of dependencies in your software stack. For reference, my build of OpenMC was built against MOAB 5.5.1 and DAGMC 3.2.3 and I’m running this on a laptop, so not a super powerful CPU or anything.