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

Updating dev #185

Merged
merged 39 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
666e542
adding plt.show
jpmorgan98 Mar 22, 2024
eb78022
adding plt.show
jpmorgan98 Mar 22, 2024
0be511c
adding error message for uncondifgured cont eng xsec data lib
jpmorgan98 Mar 22, 2024
b594a4d
back in black
jpmorgan98 Mar 22, 2024
80c41bf
adding doc strings to all input functions
jpmorgan98 Mar 23, 2024
31ea5d1
eiding input docstinrgs and some documentaiton fixes
jpmorgan98 Mar 23, 2024
c08663e
Merge branch 'CEMeNT-PSAAP:main' into main
jpmorgan98 Mar 23, 2024
4ce16bd
fixing the number of particles in the buff bank
jpmorgan98 Mar 23, 2024
52e316a
back in black
jpmorgan98 Mar 24, 2024
8ef7f2e
updating paper
jpmorgan98 Mar 26, 2024
50503b4
adding citation to paper and notes to examples
jpmorgan98 Mar 26, 2024
4d8688f
fixing 2D plotting issues
jpmorgan98 Mar 26, 2024
fd55526
back in black
jpmorgan98 Mar 26, 2024
c621ffa
Update paper.md
ilhamv Mar 27, 2024
39f48fd
Update paper.bib
ilhamv Mar 27, 2024
830dede
Update citations
ilhamv Mar 27, 2024
d840749
Update paper.md
ilhamv Mar 27, 2024
2abcfdb
Edit input_.py for consistency
clemekay Mar 27, 2024
a4b0a75
Update paper.bib
clemekay Mar 27, 2024
cbd9f55
Update user.rst
clemekay Mar 27, 2024
93d1774
Merge pull request #175 from jpmorgan98/main
jpmorgan98 Mar 27, 2024
0eb6669
Add colorama mock for Sphinx
clemekay Mar 28, 2024
3d106bc
Merge pull request #179 from clemekay/main
jpmorgan98 Mar 28, 2024
ca85739
adding middle initils where relevent
jpmorgan98 Apr 5, 2024
2294a78
Merge branch 'CEMeNT-PSAAP:main' into main
jpmorgan98 Apr 5, 2024
5072944
Merge pull request #181 from jpmorgan98/main
jpmorgan98 Apr 5, 2024
cc8772b
adding dois, fixing in text bib refs
jpmorgan98 Apr 8, 2024
142c35a
Merge pull request #182 from jpmorgan98/main
jpmorgan98 Apr 8, 2024
42ab4a7
updating pyproject for version release
jpmorgan98 Apr 8, 2024
4f442b5
fixing maintainers entry
jpmorgan98 Apr 8, 2024
2cd4daa
Merge branch 'CEMeNT-PSAAP:main' into main
jpmorgan98 Apr 8, 2024
94110d2
Merge pull request #183 from jpmorgan98/main
jpmorgan98 Apr 8, 2024
972786c
adding a citation file and a manual publish workflow
jpmorgan98 Apr 8, 2024
143a94c
Merge branch 'CEMeNT-PSAAP:main' into main
jpmorgan98 Apr 8, 2024
6ecf5c2
Merge pull request #184 from jpmorgan98/main
jpmorgan98 Apr 8, 2024
71ab883
chaging docs to refelct joss paper
jpmorgan98 Apr 9, 2024
5b52c77
Merge branch 'CEMeNT-PSAAP:main' into main
jpmorgan98 Apr 9, 2024
fd33c47
chaning python version
jpmorgan98 Apr 9, 2024
b3d523e
oh good lord
jpmorgan98 Apr 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on: [push]
name: Build JOSS paper, only on dispatch
on: [workflow_dispatch]

jobs:
paper:
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/manual_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# assumming this is being done in a repo with trusted publishing permissions in pypi

# There is an automated runner which should upload a new PyPi package but it often fails due to API BS.
# This is here so one doesn't have to republish everything

name: manually publish pypi package (for touble shooting)

on: workflow_dispatch

permissions:
contents: read

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- uses: mpi4py/setup-mpi@v1
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
pip install .
pip install build
- name: Patch Numba
run : |
bash .github/workflows/patch.sh
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

#with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
110 changes: 110 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: 'MC/DC: Monte Carlo Dynamic Code'
message: >-
a pure python high performance Monte Carlo neutronics
package
type: software
authors:
- name: >-
Center for Exascale Monte Carlo Neutron Transport
(CEMeNT)
website: 'https://cement-psaap.github.io/'
- given-names: Ilham
family-names: 'Variansyah '
email: variansi@oregonstate.edu
affiliation: Oregon State University
orcid: 'https://orcid.org/0000-0003-3426-7160'
- given-names: Joanna Piper
family-names: Morgan
email: morgajoa@oregonstate.edu
affiliation: Oregon State University
orcid: 'https://orcid.org/0000-0003-1379-5431'
- given-names: Samuel
family-names: Pasmann
orcid: 'https://orcid.org/0000-0003-1391-1471'
- given-names: Kayla
family-names: Clements
email: clemekay@oregonstate.edu
affiliation: Oregon State University
orcid: 'https://orcid.org/0000-0003-3358-5618'
- given-names: Braxton
family-names: Cuneo
email: bcuneo@seattleu.edu
affiliation: Seattle University
orcid: 'https://orcid.org/0000-0002-6493-0990'
- given-names: Alexander
family-names: Mote
email: motea@oregonstate.edu
orcid: 'https://orcid.org/0000-0001-5099-0223'
affiliation: Oregon State University
- given-names: Caleb
family-names: Shaw
email: cashaw4@ncsu.edu
affiliation: North Carolina State University
- given-names: Jordan
family-names: Northrop
email: northj@oregonstate.edu
affiliation: Oregon State Universtiy
orcid: 'https://orcid.org/0000-0003-0420-9699'
- given-names: Rohan
family-names: Pankaj
orcid: 'https://orcid.org/0009-0005-0445-9323'
- given-names: 'Ryan G. '
family-names: McClarren
email: rmcclarr@nd.edu
affiliation: University of Notre Dame
orcid: 'https://orcid.org/0000-0002-8342-6132'
- given-names: Todd S.
family-names: Palmer
email: palmerts@oregonstate.edu
affiliation: Oregon State Univeristy
orcid: 'https://orcid.org/0000-0003-3310-5258'
- given-names: Lizhong
family-names: Chen
email: chenliz@oregonstate.edu
affiliation: Oregon State University
orcid: 'https://orcid.org/0000-0001-5890-7121'
- given-names: Dmitriy Y.
family-names: Anistratov
email: anistratov@ncsu.edu
affiliation: North Carolina State University
- given-names: C. T.
family-names: Kelley
email: ctk@ncsu.edu
affiliation: North Carolina State University
- given-names: 'Camille '
family-names: Palmer
email: palmecam@oregonstate.edu
orcid: 'https://orcid.org/0000-0002-7573-4215'
affiliation: Oregon State University
- given-names: Kyle E.
family-names: Niemeyer
email: niemeyek@oregonstate.edu
orcid: 'https://orcid.org/0000-0003-4425-7097'
affiliation: Oregon State University
identifiers:
- type: doi
value: 10.5281/zenodo.10576604
description: Zenodo Archive
- type: doi
value: 10.21105/joss.06415
description: Paper description of MC/DC
repository-code: 'https://github.com/CEMeNT-PSAAP/MCDC'
url: 'https://cement-psaapgithubio.readthedocs.io/en/latest/'
abstract: >-
MC/DC is a performant, scalable, and machine-portable
Python-based Monte Carlo neutron transport software
currently developed in the Center for Exascale Monte Carlo
Neutron Transport (CEMeNT).
keywords:
- monte carlo
- numba
- gpu
- neutron transport
- radiation transport
license: BSD-3-Clause
version: 0.9.1
date-released: '2024-04-08'
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[![Build](https://github.com/CEMeNT-PSAAP/MCDC/actions/workflows/mpi_numba_reg.yml/badge.svg)](https://github.com/CEMeNT-PSAAP/MCDC/actions/workflows/mpi_numba_reg.yml)
[![ReadTheDocs](https://readthedocs.org/projects/cement-psaapgithubio/badge/?version=latest&style=flat)](https://cement-psaapgithubio.readthedocs.org/en/latest/ )
[![DOI](https://joss.theoj.org/papers/10.21105/joss.06415/status.svg)](https://doi.org/10.21105/joss.06415)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)


Expand Down Expand Up @@ -108,18 +109,21 @@ You can find specifics on how to run these tests locally [here](https://github.c

To provide proper attribution to MC/DC, please cite
```
@inproceedings{var_mc23_mcdc,
Booktitle = {International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering},
title = {Development of {MC/DC}: a performant, scalable, and portable Python-based {M}onte {C}arlo neutron transport code},
year = {2023},
author = {Ilham Variansyah and Joanna Piper Morgan and Kyle E. Niemeyer and Ryan G. McClarren},
address = {Niagara Falls, Ontario, Canada},
doi={10.48550/arXiv.2305.07636},
}
@article{morgan2024mcdc,
title = {Monte {Carlo} / {Dynamic} {Code} ({MC}/{DC}): {An} accelerated {Python} package for fully transient neutron transport and rapid methods development},
author = {Morgan, Joanna Piper and Variansyah, Ilham and Pasmann, Samuel L. and Clements, Kayla B. and Cuneo, Braxton and Mote, Alexander and Goodman, Charles and Shaw, Caleb and Northrop, Jordan and Pankaj, Rohan and Lame, Ethan and Whewell, Benjamin and McClarren, Ryan G. and Palmer, Todd S. and Chen, Lizhong and Anistratov, Dmitriy Y. and Kelley, C. T. and Palmer, Camille J. and Niemeyer, Kyle E.},
journal = {Journal of Open Source Software},
volume = {9},
number = {96},
year = {2024},
pages = {6415},
url = {https://joss.theoj.org/papers/10.21105/joss.06415},
doi = {10.21105/joss.06415},
}
```
which should render something like this

Variansyah, Ilham, J. P. Morgan, K. E. Niemeyer, and R. G. McClarren. 2023. “Development of MC/DC: a performant, scalable, and portable Python-based Monte Carlo neutron transport code.” In *International Conference on Mathematics and Computational Methods Applied to Nuclear Science and Engineering*, Niagara Falls, Ontario, Canada. DOI. [10.48550/arXiv.2305.07636](https://doi.org/10.48550/arXiv.2305.07636)
Morgan et al. (2024). Monte Carlo / Dynamic Code (MC/DC): An accelerated Python package for fully transient neutron transport and rapid methods development. Journal of Open Source Software, 9(96), 6415. https://doi.org/10.21105/joss.06415.

## License

Expand Down
Loading
Loading