Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nuclear data path to every example #292

Open
shimwell opened this issue Sep 6, 2024 · 0 comments
Open

Add nuclear data path to every example #292

shimwell opened this issue Sep 6, 2024 · 0 comments

Comments

@shimwell
Copy link
Member

shimwell commented Sep 6, 2024

adding openmc.config['cross_sections'] = 'username/nuclear_data/cross_sections.xml' to every example would help people running it from outside of the docker container

users would also have to download the nuclear data with a command like this

mkdir /home/username/nuclear_data && wget https://anl.box.com/shared/static/uhbxlrx7hvxqw27psymfbhi7bx7s6u6a.xz -O /home/username/nuclear_data/endf.tar.xz && tar -xvJf /home/username/nuclear_data/endf.tar.xz -C /home/$HOME/nuclear_data && cd -

the username would need updating to your own in each command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant