cross sections path in windows

hi

i was trying to work with openmc, i have successfully configured it in ubuntu virtual machine and openmc seems to work fine there.
one error i encountered though was in running get_nndc_data.py i had to comment this line #from openmc.ace import ascii_to_binary in this file and hence select NO at the end when it asks whether i want to convert ascii to binary or not… all this seems to work fine in ubuntu. i have ace files as well as a cross sections file in openmc/data/nndc folder. so i set cross sections path in openmc/examples/xml/basic (settings.xml file) and then ran openmc using “openmc home/openmc/examples/xml/basic”. it works fine.

however in windows i didn’t get any cross_sections.xml file in …data/nndc folder, however i do have 293.6 and tsl folders with ace files (like in ubuntu), so i copied cross_sections.xml file from ubuntu to windows i.e. c:\openmc-develop\data\nndc, changed the settings.xml in c:\openmc-develop\examples\xml\basic just like i did in ubuntu to add the correct path of correct cross_sections.xml.

now how do i run openmc in windows? (windows 10), i have tried copying files from basic folder to C:\openmc-develop\build\bin location as well as in data folder, so it does picks the file but gives me error "couldn’t open file c:\openmc-develop\data\nndc\cross_sections.xml - not a valid URI. i have also tried with upper case ‘C’ and lowercase ‘c’.

i know its better to work with ubuntu and since i have it running there, but it seems i am just a step away in windows as well… so it’ll be good to have it in windows as well to do some quick re runs.

and apologies for such a long message, i tried to write as much details as possible.

3.PNG

1.PNG

2.PNG

just attaching another image. forgot in first post

4.PNG

Hi Umair,

When do you encounter the error about not being able to open cross_sections.xml? That doesn’t sound like an error from OpenMC itself. Also, how did you compile OpenMC on Windows?

Best,
Paul