Updated some periphery files

This commit is contained in:
Adam Parler 2023-12-16 19:21:32 -08:00
parent 3e7de476d1
commit 024d10914f
15 changed files with 362 additions and 1 deletions

3
.gitignore vendored
View file

@ -24,4 +24,7 @@ validation.egg-info
*.png
*.ppm
tallies.out
testing.out
chain*.xml
k_eff*

View file

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "d92ae95d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (nuclear)",
"language": "python",
"name": "nuclear"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View file

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "d92ae95d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (nuclear)",
"language": "python",
"name": "nuclear"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View file

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "d92ae95d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (nuclear)",
"language": "python",
"name": "nuclear"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View file

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "d92ae95d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python (nuclear)",
"language": "python",
"name": "nuclear"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -0,0 +1,18 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

View file

@ -55,6 +55,70 @@ openmc -g -n 1000000 -s 32 -t -e problem
########## INSTALL OPENMC FROM SOURCE ################
## Dependencies ##
## OpenMC
# sudo apt install g++ cmake libhdf5-dev libpng-dev (mpich libmpich-dev) openmpi-bin libopenmpi-dev git
## DagMC
# sudo apt install libeigen3-dev libhdf5-dev
# cd $HOME/dagmc_bld
# mkdir DAGMC
# cd DAGMC
# git clone https://github.com/svalinn/DAGMC
# cd DAGMC
# git checkout develop
# git submodule update --init
# cd $HOME/dagmc_bld/DAGMC
# ln -s DAGMC src
# mkdir bld
# cd bld
# INSTALL_PATH=$HOME/dagmc_bld/DAGMC
# cmake ../src -DMOAB_DIR=$HOME/dagmc_bld/MOAB \
# -DBUILD_TALLY=ON \
# -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH
# make
# make install
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/dagmc_bld/dagmc/lib
## HDF5
# cd ${BASE_DIR}
# wget -c https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.13/src/hdf5-1.8.13.tar.gz
# tar -xzvf hdf5-1.8.13.tar.gz
# cd hdf5-1.8.13
# mkdir build && cd build
# ../configure --enable-shared \
# --enable-parallel \
# --prefix=${HDF5_DIR}
# ${MAKE} -j16
# ${MAKE} -j16 check
# ${MAKE} -j16 install
## MOAB
# cd $HOME/dagmc_bld
# mkdir -p MOAB/bld
# cd MOAB
# git clone https://bitbucket.org/fathomteam/moab
# cd moab
# git checkout Version5.1.0
# autoreconf -fi
# cd ..
# ln -s moab src
# cd bld
# ../src/configure --enable-optimize \
# --enable-shared \
# --disable-debug \
# --with-hdf5=$HOME/dagmc_bld/HDF5 \
# --prefix=$HOME/dagmc_bld/MOAB
# make
# make check
# make install
# export PATH=$PATH:$HOME/dagmc_bld/HDF5/bin
# export PATH=$PATH:$HOME/dagmc_bld/MOAB/bin
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/dagmc_bld/HDF5/lib
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/dagmc_bld/MOAB/lib
# which h5ls
# which mbconvert
module load gcc/8.1.0 openmpi/4.1.4 cmake/3.26.3 git/2.42.0 python/3.11.5
git clone --recurse-submodules https://github.com/openmc-dev/openmc.git