-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the pytaf wiki!
If you do not already use a Python Distribution, we recommend Anaconda which supports most versions of Microsoft Windows, OSX/MacOS, and a variety of Linux Distributions.
$conda install --yes --file requirements.txt
$pip install .
If your system has a Python but you don't have a super user privilege, we recommend virtualenv for installation.
$virtualenv venv
$source venv/bin/activate
$pip install -r requirements.txt && pip install .
pytaf was tested with Blue Waters. Blue Waters has a python module and you need to activate it first.
$module load bwpy
Since you will not have super user privilege on Blue Waters, you can build and test the package on the current working directory using the following command.
$python setup.py build_ext --inplace
Blue Waters python provides virtualenv, too. See Blue Waters Python Guide for details.
Add the following line to use pytaf on Google Colab.
!pip install git+https://github.com/TerraFusion/pytaf.git
See pytaf.ipynb for demo.