From a3f838ff324c1113a6f7538d37806d9fec93163e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Keck <Jean-Baptiste.Keck@imag.fr> Date: Wed, 30 May 2018 18:38:06 +0200 Subject: [PATCH] removed debug dumpers --- CMakeLists.txt | 1 + examples/taylor_green/taylor_green.py | 6 +----- examples/taylor_green/taylor_green_cpu.py | 6 +----- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a4693947..3007a8719 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,6 +148,7 @@ find_python_module(tee REQUIRED) find_python_module(primefac REQUIRED) find_python_module(graph_tool REQUIRED) find_python_module(pyopencl REQUIRED) +find_python_module(pyfftw REQUIRED) find_python_module(gpyfft REQUIRED) find_python_module(backports.weakref REQUIRED) find_python_module(argparse_color_formatter REQUIRED) diff --git a/examples/taylor_green/taylor_green.py b/examples/taylor_green/taylor_green.py index d45c3ecd2..278fba68c 100644 --- a/examples/taylor_green/taylor_green.py +++ b/examples/taylor_green/taylor_green.py @@ -230,12 +230,8 @@ def compute(args): dfields = problem.input_discrete_fields dfields[vorti].initialize(formula=init_vorticity) - from hysop.tools.debug_dumper import DebugDumper - dbg = DebugDumper('GPU', force_overwrite=True) - dbg(-1, 0.0, 'W', dfields[vorti]) - # Finally solve the problem - problem.solve(simu, dry_run=args.dry_run, debug_dumper=dbg) + problem.solve(simu, dry_run=args.dry_run, debug_dumper=None) # Finalize problem.finalize() diff --git a/examples/taylor_green/taylor_green_cpu.py b/examples/taylor_green/taylor_green_cpu.py index 0d1675615..e00e34baa 100644 --- a/examples/taylor_green/taylor_green_cpu.py +++ b/examples/taylor_green/taylor_green_cpu.py @@ -231,12 +231,8 @@ def compute(args): dfields = problem.input_discrete_fields dfields[vorti].initialize(formula=init_vorticity) - from hysop.tools.debug_dumper import DebugDumper - dbg = DebugDumper('CPU') - dbg(-1, 0.0, 'W', dfields[vorti]) - # Finally solve the problem - problem.solve(simu, dry_run=args.dry_run, debug_dumper=dbg) + problem.solve(simu, dry_run=args.dry_run, debug_dumper=None) # Finalize problem.finalize() -- GitLab