This git repository contains the development version of DassFlow2D-Wrapped.
WARNING: For the moment, dassflow2d and other versions work on Linux only.
You can clone this project to your own machine using the following command:
git clone http://github.com/DassHydro-dev/dassflow2d
Full and up-to-date documentation can be found in index.html. To open it, enter the following command in the terminal (in your repository directory):
open ./doc/SPHINX_DOCUMENTATION/build/html/index.html
Note: some of the modules below might already be installed on your Linux machine.
python3 --version
in the terminal)java --version
in the terminal or install it with sudo apt install default-jdk
)sudo apt install -y mpich
~/.bashrc
to add tapenade to your PATH:
alias tapenade="tapenade_dir/bin/tapenade"
TAPENADE_HOME=tapenade_dir/bin
export PATH=$PATH:$TAPENADE_HOME
export PATH=$PATH:$"tapenade_dir"
Note: tapenade_dir is the absolute path to the directory containing the tapenade files you just downloaded.
pip install f90wrap
Add f90wrap to your PATH in ~/.bashrc
. For example:
F90WRAP_HOME=~/.local/bin
export PATH=$PATH:$F90WRAP_HOME
Note: don't forget to enter the command source ~/.bashrc
to reload your .bashrc after modifying it.
In your terminal, execute the following commands:
pip install -U Sphinx
pip install numpydoc
pip install pydata_sphinx_theme
pip install sphinx-panels
pip install IPython
pip install sphinxcontrib-bibtex
pip install jupyter_sphinx
python3 -m pip install sphinx-autosummary-accessors
cd ./code
make install
Note: project installation has default parameters that you can change in Makefile.inc before installation.
cd ./doc/SPHINX_DOCUMENTATION/
make clean html
Please refer to the SPHINX documentation for more information, simple test cases and further details.
You can visit our [website]() for more information on dassflow2d and other versions.