diff options
author | lukelabrie | 2023-02-26 14:48:30 +0100 |
---|---|---|
committer | lukelabrie | 2023-02-26 14:48:30 +0100 |
commit | c89f1ed71f33acbc2bc322efe488886033bb0690 (patch) | |
tree | d24658b422452d40fc625d856d8a109771943c9e /test_install.sh | |
parent | 7101a5e95da8349deb2ad4e97a78ce667494aba7 (diff) | |
download | aur-c89f1ed71f33acbc2bc322efe488886033bb0690.tar.gz |
add test scripts & files
Diffstat (limited to 'test_install.sh')
-rw-r--r-- | test_install.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test_install.sh b/test_install.sh new file mode 100644 index 000000000000..63fe57b810dc --- /dev/null +++ b/test_install.sh @@ -0,0 +1,20 @@ + +# set non-standard paths +export PATH=$PATH:/opt/openmc/bin:$HOME/.local/lib/python3.10/site-packages +export PYTHONPATH=$PYTHONPATH:/opt/MOAB/lib/python3.10/site-packages/pymoab-5.3.0-py3.10-linux-x86_64.egg +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/MOAB/lib +var=`echo /opt/nuclear-data/*hdf5 | head -n1` +export OPENMC_CROSS_SECTIONS=$var/cross_sections.xml + +# test geometry build +python step_to_h5m.py + +# test run +python test_openmc.py + +# clean +rm *.xml +rm *.h5 +rm *.stl +rm *.h5m +rm *.vtk |