Skip to content

Commit

Permalink
Updating install information
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Feb 24, 2021
1 parent 1e2930f commit 1d227ae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Integrated Plasma Simulator (IPS) Framework

The documentation can be found at
The documentation can be found at https://ips-framework.readthedocs.io

Installation is available via pip:

Expand Down
2 changes: 1 addition & 1 deletion doc/examples/helloworld/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
setup(
name="helloworld",
version="1.0.0",
install_requires=["ipsframework==0.2.1"],
install_requires=["ipsframework"],
packages=find_packages(),
)
11 changes: 5 additions & 6 deletions doc/user_guides/component_package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ package. This is also an example of using ``MODULE`` instead of
``SCRIPT`` in the component configuration section.

The examples will be a simple hello world with one driver and one
worker. The only requirement of the package is ``ipsframework`` and we
are using the specific version v0.2.1. The ipsframework should be
automatically installed from pypi when install ipsexamples but you can
manually install it from pypi with
worker. The only requirement of the package is ``ipsframework``. The
ipsframework should be automatically installed from pypi when install
ipsexamples but you can manually install it from pypi with

.. code-block:: bash
python -m pip install ipsframework==0.2.1
python -m pip install ipsframework
Or to install it directly from github you can do

.. code-block:: bash
python -m pip install git+https://github.com/HPC-SimTools/IPS-framework.git@v0.2.1
python -m pip install git+https://github.com/HPC-SimTools/IPS-framework.git
To create this project locally, create the following file structure

Expand Down
7 changes: 7 additions & 0 deletions doc/user_guides/nersc_conda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ NERSC recommends the use of anaconda environments to mange python
installs, see `Brief introduction to Python at NERSC
<https://docs.nersc.gov/development/languages/python/overview/>`_.

There is a conda environment already constructed and maintained for
the *atom* project created using the `shareable environment`_
method. You can activate it by running ``source
/global/common/software/atom/cori/ips-framework-new/bin/activate``.

Creating you own conda environment
----------------------------------

Expand Down Expand Up @@ -53,6 +58,8 @@ environment to run use, see `Running Python in a batch job
source activate my_ips_env
ips.py --config=simulation.config --platform=platform.conf
.. _shareable environment:

Creating a shareable environment on /global/common/software
-----------------------------------------------------------

Expand Down

0 comments on commit 1d227ae

Please sign in to comment.