Task 1: Cross-Sections Questions #214
-
Hello, I am new to OpenMC and am using this tutorial to familiarize myself with the software for fusion work. I was trying to go through the first Jupyter notebook and could not get the syntax for openmc.plotter.plot_xs to work as far as "this", and "type" are concerned, because the formatting in the notebook as is leads to an error. Furthermore, I noticed that this notebook was different than what was being demonstrated in the accompanying videos, so I tried to copy the cells from the video into my notebook to see if I would be able to execute those, but that relied on a module called "plotting_utils" that does not seem to exist anywhere that I am able to find. Any suggestions for either or both of these issues? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Sorry to hear that, I think the video is out of date so please ignore that. The jupyter notebooks do need the latest development branch of openmc to run. This will be release as veresion 0.13.4 at some point but for now one needs to use the development branch The docker images that the workshop run on make use of the openmc development branch. Are you able to let me know if you are running the workshop through the docker image provided? |
Beta Was this translation helpful? Give feedback.
-
The latest conda release of openmc is version 0.13.3 so these plotting notebooks and some of the others are not going to work. I would recommend the docker image yes. It also contains a few other things needed for the workshop (like DAGMC) If you do want to try installing openmc develop branch here are the instructions https://docs.openmc.org/en/stable/quickinstall.html#installing-from-source-on-linux-or-mac-os-x You would just need to add Good luck and let me know if this solves it for you. Also sorry for making the workshop need the develop branch it just had some really nice features that I couldn't resist. Hopefully there will be an openmc release soon and the workshop will go back to using a stable released version that can be installed with conda |
Beta Was this translation helpful? Give feedback.
I can see from the 2nd screen shot that it now printed out 0.13.3 for the version number of openmc being used. This function needs the version from the openmc develop branch