Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Release 0.1 #98

Merged
merged 2 commits into from
Sep 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# mpienv
MPI environment selector, like pyenv or rbenv.

## Background and motivation


## Installation

```bash
Expand All @@ -16,16 +19,15 @@ $ git clone https://github.com/keisukefukuda/mpienv.git .mpienv

## How to start using

First, you need to load the `mpienv` tool into your shell environment.
First, install mpienv via `pip`

```bash
$ . ~/.mpienv/mpienv-init
$ pip install mpienv
```

If you downloaded `mpienv` to a different location, just replace the path.

```bash
$ . ${YOUR_MPIENV_DIRECTORY}/mpienv-init
Then, insert the following line into your `.bashrc` or any other initialization shell script.
```
$ eval "$(mpienv-init)"
```

OK, let's see what `mpienv` does.
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

setup(
name="mpienv",
version="0.1",
version="0.1.0",
description="MPI environment switcher",
author="Keisuke Fukuda",
author_email="keisukefukuda@gmail.com",
url="https://github.com/keisukefukuda/mpienv",
scripts=['bin/mpienv-init',
'bin/mpienv-add.py',
'bin/mpienv-autodiscover.py',
Expand Down
2 changes: 2 additions & 0 deletions tests/test_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ mkdir -p ${PIP_DOWNLOAD_CACHE}

export PYTHON=$(which python)

export OMPI_MCA_btl_base_warn_component_unused=1

rm -rf "$MPIENV_VERSIONS_DIR" |:
rm -rf "$MPIENV_CACHE_DIR" |:

Expand Down