svalinn / parastell

Parametric 3-D CAD modeling toolset for stellarator fusion devices
MIT License
26 stars 12 forks source link

Use non-interactive backend in nwl utils to avoid matplotlib cubit conflict #148

Closed Edgar-21 closed 2 months ago

Edgar-21 commented 2 months ago

With the newest version of openmc (0.15.0) the previous conflict with Cubit seems to have been resolved. The remaining conflict with matplotlib can be resolved as in this PR, allowing the full NWL workflow to be performed in one script. In a future PR the nwl_utils example could be updated to be a single script.

connoramoreno commented 2 months ago

We should perhaps consider including OpenMC v0.15.0 in the environment YAML file

connoramoreno commented 2 months ago

I'm in favor of at least including some mention that OpenMC v0.15.0 is needed to use the NWL utility. I'm not opposed to including it as a hard dependency to prevent user error on that front, although I recognize it complicates the environment and may become a problem in the future, like it was in the past.

connoramoreno commented 2 months ago

Looks good, thanks @Edgar-21