@flowersoul When you run Material.add_element
, OpenMC will look at the file indicated by your OPENMC_CROSS_SECTIONS
environment variable to determine what naturally occurring isotopes are available. It seems that in your case, pycharm does see the environment variable whereas sublime text does not. You could try starting sublime text using subl
from a terminal and then it should inherit your environment variables.