jonas-schmitt / evostencils

Automating the Design of Multigrid Methods with Evolutionary Program Synthesis
GNU Affero General Public License v3.0
11 stars 4 forks source link

Hadrien godé #11

Closed achedrien closed 9 months ago

achedrien commented 9 months ago

Hi,

Main feature of the pull request:

  1. More scripts from different evostencils branch corrected for them to work without path conflict, notably optimize_fas.py that run, but still is "work in progress" because convergence factor prompt are still weird. (originally FAS_2D_Basic exa4 file have a naming conflict with gen_mgCycle@5 and gen_mgCycle@finest, i am working with Richard Angersbach to enhance that).
  2. adding githooks folder and changing setup.py to automatically copy those hooks to .git/hooks so we can use pre-commit verification to maintain good code quality
  3. Create a conftest.py and run_test.py for pytest in the script folder, this is optimized to require the least time possible, nevertheless it takes around 150second on single core.

Still to do: add hypre and other test (i don't have hypre setup so i hope dynesh could do it) and in general i believe evostencils lack scripts file from Jonas thesis.