# Problem with Plotting

**URL:** <https://openmc.discourse.group/t/problem-with-plotting/1527>\
**Category:** User Support\
**Created:** [November 9, 2021, 9:56pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527 "2021-11-09T21:56:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rherner](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rherner](https://openmc.discourse.group/u/rherner)\
**Post date:** [November 9, 2021, 9:56pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/1 "2021-11-09T21:56:06Z")

</div>

I’m wondering if others are running into the same issues. I’m working with a fairly complex input file and for a long while was able to generate plots in several dimensions after converting the files, but now it seems only a random plot of the three I specify loads properly. What I get now instead of the very clear reactor geometry is shown below (I can’t share specific geometry for proprietary concerns). I just want to know if other users have had plots show up like this when no other errors appear and the code runs properly. Any help would be appreciated.!

 ![jagged](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/7/78616c957951092ad51db886ccc5dcdec8133ee7.png)

---

<div class="post-metadata">

**Author:** ![gridley](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/gridley/32/1064_2.png) [@gridley](https://openmc.discourse.group/u/gridley)\
**Post date:** [November 10, 2021, 1:19pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/2 "2021-11-10T13:19:11Z")

</div>

Can you paste the output of openmc -v? There were some recent changes to export png files rather than ppm. You could also try changing the file extension from ppm to png or vice-versa.

---

<div class="post-metadata">

**Author:** ![rherner](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rherner](https://openmc.discourse.group/u/rherner)\
**Post date:** [November 10, 2021, 9:10pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/3 "2021-11-10T21:10:04Z")

</div>

Could you be more specific on how to use openmc -v? We use prun because we are multi-threading on a server, I’m not sure if we can do a -v command. Is that done in the command line or added to the input file specifically? (Still a very new code for me and not super familiar with the interface). It seems our picture issues arrive when we start using multi-threading to run the inputs on our server, could the conversion from ppm to png (which we currently use) be affected by that?

---

<div class="post-metadata">

**Author:** ![gridley](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/gridley/32/1064_2.png) [@gridley](https://openmc.discourse.group/u/gridley)\
**Post date:** [November 10, 2021, 10:26pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/4 "2021-11-10T22:26:34Z")

</div>

Well how are you running OpenMC? Just run `openmc -v`. It will give the exact version you compiled.

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [December 13, 2021, 1:58am UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/5 "2021-12-13T01:58:21Z")

</div>

@rherner Not sure if you ever figured out what was going on, but just thought that I’d add that multithreading is only used to generate the plot internally in memory but at the point that it is written to file, no multithreading is used, so the ppm (or png) file should come out fine. Similarly, conversion from ppm to png shouldn’t be affected by multithreading.

---

<div class="post-metadata">

**Author:** ![rherner](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@rherner](https://openmc.discourse.group/u/rherner)\
**Post date:** [December 15, 2021, 8:09pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/6 "2021-12-15T20:09:51Z")

</div>

We’ve been able to rectify this issue, there’s several other areas we’re troubleshooting now thank you for your responses the feedback is very helpful

---

<div class="post-metadata">

**Author:** ![gridley](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/gridley/32/1064_2.png) [@gridley](https://openmc.discourse.group/u/gridley)\
**Post date:** [December 18, 2021, 9:51pm UTC](https://openmc.discourse.group/t/problem-with-plotting/1527/7 "2021-12-18T21:51:10Z")

</div>

Nice! If it’s anything we can fix or add a warning message when the conditions that caused what you originally experienced arise, please let us know.
