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

Consilidate changes made to master #51

Closed
wants to merge 11 commits into from
Closed
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
labels: bug
assignees: ''

---
Expand Down
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/code-enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Code enhancement
about: Suggest an improvement for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@ build/
.idea/
.DS_Store
*~
*.swp
pyscripts/__src__.py
a.out
PyUEDGE_tutorial/*
*.swo
*.egg
pyscripts/__src__.py
uedge.egg-info/
dist/uedge-8.0.0-py3.7-macosx-10.9-x86_64.egg
uedge.egg-info
*.c
*.f

pyscripts/__src__.py
*.egg
60 changes: 33 additions & 27 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,44 +1,50 @@

UEDGE is in a transitional phase from running in the BASIS environment,
developed at LLNL, to Python. This version, tagged $Name: $, can
run in both environments. If you have interest in the Basis version of
UEDGE contact Bill Meyer ([email protected]). New installations of the
Basis version are discouraged as there is no longer any official support
for the Basis software. Unless you know otherwise, assume this checkout
is intended for building the Python UEDGE module. The remainder of these
installation instructions apply only to the Python version of UEDGE. The
Python version of UEDGE has been build on several Linux distributions and
on MacOSX High Sierra and Mojave.
Uedge was originally developed to run in the Basis environment developed
at LLNL. It has since been ported to run as a Python module. The Python
module Uedge has been built on several Linux distributions and MacOSX versions.

The Basis version of Uedge is deprecated. If you have interest in
the Basis version of Uedge contact Bill Meyer ([email protected]). There
is no longer any official support for the Basis software. The capability
to build the Basis version is maintained for legacy installations and
may be removed from the repository at any time.

Building Python UEDGE (pyUedge).

Building Python Uedge (pyUedge).

Prerequisites:
- Python 2.7
We recommend the Anaconda (2) Python data science distribution.
This includes many useful packages. Besides the base Python
packages pyUedge includes Python scripts that utilize the
matplotlib and hdf5 packages. Numpy is a required package to
build pyUedge.
- Python 3.x
Should work with all Python 3 versions.

Anaconda3 is a useful Python distribution but puts constraints
on the compiler version that may be used to build pyUedge. The
compiler must be compatible with the libraries that come included
with Anaconda. Anaconda will report the gcc version that was used
to build the included libraries. The compiler used must at least
use the same C runtime library version.

- Fortran/C compilers
Only gfortran and gcc have been tested.
Only gfortran and gcc have been tested and supported.

Requisites:
- Forthon
Generates link between UEDGE Fortran and Python.
pip install forthon
- MPPL (More Productive Programming Language)
MPPL is a Fortran preprocessor
pip install mppl
Generates link between Uedge Fortran and Python.
"pip install forthon"

Requisites:
- matplotlib
pyUedge includes Python scripts that import maplotlib
- h5py
pyUedge includes Python scripts for saving/restoring results
in hdf5 files.


Install with pip:
pip install uedge

****Note that there was a version numbering change. If a
"pip show uedge" reports version 7.6 then a "pip uninstall uedge"
and "pip install --no-cache-dir uedge" will be nesseccary.
If pyUedge reports that an update is available then a
"pip install uedge --upgrade" can be executed. If that results in
multiple versions a "pip uninstall uedge" and
"pip install --no-cache-dir uedge" will be nesseccary.

Install from git clone:
python setup.py build
Expand Down
2 changes: 1 addition & 1 deletion aph/Package
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ POINTER = cray

VDF = aph.v

NVDF = ../com/com_basis.v
NVDF = ../com/com.v

SM = aphrates.m aphread.m
4 changes: 2 additions & 2 deletions api/Package
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PKG = api
POINTER = cray

VDF = api_basis.v
VDF = api.v

NVDF = ../com/com_basis.v ../bbb/bbb_basis.v
NVDF = ../com/com.v

SM = apifcn.m apip93.m apisorc.m fimp.m inelrates.m fmombal.m sputt.m

4 changes: 4 additions & 0 deletions api/api.v
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ KMXZ=KXA*MXMINZ
NBA=5 # used in fmombal
}

***** Com_Dim_Vars hidden:
dim_vars_hidden integer # Do not edit this group. It is used to build
# the Basis version of the code.

***** Physical_constants2:
# Add the 2 to distinquish from same constants in package bbb
ev2 real /1.6022e-19/ # 1 electron volt in Joules
Expand Down
Loading
Loading