This instance will be upgraded to Heptapod 0.23.2 on 2021-08-05 at 11:00 UTC+2 (a few minutes of down time)

Commit 73296919 authored by Pierre Augier's avatar Pierre Augier
Browse files

Use pytest + tiny fix README

parent 05e3576eb014
......@@ -37,6 +37,7 @@ __pycache__
*egg-info*
dist*
*.egg/*
.eggs
*OAR.*
......@@ -51,12 +52,12 @@ doc/install/OpenBLAS*
*/fake_mod_fft*d_for_doc.py
site.cfg
.coverage/*
.tox/*
.cache/*
.mypy_cache/*
.pytest_cache
.coverage
.tox
.cache
.mypy_cache
**/__pythran__/*
bench/operator2d/*/__init__.py
......@@ -74,5 +75,3 @@ doc/ipynb/executed/.ipynb_checkpoints
doc/ipynb/**.rst
doc/ipynb/*.nbconvert.ipynb
doc/tmp/*
.eggs/*
......@@ -25,13 +25,13 @@ black:
black -l 82 fluidfft
tests:
python -m unittest discover
pytest -s
tests_mpi:
mpirun -np 2 python -m unittest discover -v
mpirun -np 2 pytest -s
tests_mpi4:
mpirun -np 4 python -m unittest discover
mpirun -np 4 pytest -s
_tests_coverage:
mkdir -p .coverage
......
......@@ -36,11 +36,11 @@ in particular
- `fftw3 <http://www.fftw.org/>`_ and `fftw3-mpi
<http://www.fftw.org/fftw3_doc/Distributed_002dmemory-FFTW-with-MPI.html>`_
- `pfft <https://github.com/mpip/pfft>`_
- `p3dfft <https://github.com/sdsc/p3dfft>`_
- `cufft <https://developer.nvidia.com/cufft>`_ (fft library by CUDA
running on GPU)
......@@ -60,7 +60,6 @@ provided you have the optional FFT libaries, that you need, installed and
discoverable in your path (see environment variables ``LIBRARY_PATH``,
``LD_LIBRARY_PATH``, ``CPATH``) it should be sufficient to run::
pip install fluiddyn mako cython [--user]
pip install fluidfft [--user]
Add ``--user`` flag if you are installing without setting up a virtual
......@@ -81,7 +80,7 @@ the links to know more:
4. `A C++11 compiler and BLAS
libraries <https://github.com/serge-sans-paille/pythran#installation>`__ and
`configure
<https://fluidfft.readthedocs.io/en/latest/install.html#dependencies>`__
<https://fluidfft.readthedocs.io/en/latest/install.html#dependencies>`__
``~/.pythranrc`` to customize compilation of Pythran extensions
5. `Configure
<https://fluidfft.readthedocs.io/en/latest/install.html#basic-installation-with-pip>`__
......@@ -110,8 +109,8 @@ From the root directory::
Or, from the root directory or any of the "test" directories::
python -m unittest discover
mpirun -np 2 python -m unittest discover
pytest -s
mpirun -np 2 pytest -s
How does it work?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment