diff --git a/README.md b/README.md index b4610e9..cdb2781 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,8 @@ For developing `cutde`, clone the repo and set up your conda environment based o conda env create ``` +Then, `pip install -e .`. + Next, for developing on a GPU, please install either `pycuda` or `pyopencl` as instructed in the Installation section above. Then, you should re-generate the baseline test data derived from [the MATLAB code from Mehdi Nikhoo](https://volcanodeformation.com/software). To do this, first install `octave`. On Ubuntu, this is just: diff --git a/tests/py_aca.py b/tests/py_aca.py index f2c664c..acc6964 100644 --- a/tests/py_aca.py +++ b/tests/py_aca.py @@ -2,6 +2,7 @@ This Python ACA implementation is included here in order to help test the OpenCL/CUDA implementation in cutde. """ + import numpy as np @@ -184,9 +185,9 @@ def reset_reference_col(Jref): if verbose: print( f"term={k}, " - f"pivot row={Istar:4d}, pivot col={Jstar:4d}, " - f"step size={step_size:1.3e}, " - f"tolerance={eps:1.3e}" + f"pivot row={Istar: 4d}, pivot col={Jstar: 4d}, " + f"step size={step_size: 1.3e}, " + f"tolerance={eps: 1.3e}" ) # The convergence criteria will simply be whether the Frobenius norm of the