Skip to content

Instantly share code, notes, and snippets.

@aterrel
Created March 27, 2012 19:36
Show Gist options
  • Save aterrel/2219565 to your computer and use it in GitHub Desktop.
Save aterrel/2219565 to your computer and use it in GitHub Desktop.
errors in call
c210-104$ ./src/benchmarks/benchmarkExample.py --events IntegBatchCPU IntegBatchGPU IntegGPUOnly --num 52 DMComplex --refine 0.0625 0.00625 0.000625 0.0000625 0.00003125 0.000015625 0.0000078125 0.00000390625 --blockExp 4 --order 1 CPU='dm_view show_residual=0 compute_function batch' GPU='dm_view show_residual=0 compute_function batch gpu gpu_batches=8'
Namespace(batch=False, blockExp=['4'], dim=2, events=['IntegBatchCPU', 'IntegBatchGPU', 'IntegGPUOnly'], library='SNES', module='summary', num=52, operator='laplacian', order=1, refine=['0.0625', '0.00625', '0.000625', '0.0000625', '0.00003125', '0.000015625', '0.0000078125', '0.00000390625'], runs=['CPU=dm_view show_residual=0 compute_function batch', 'GPU=dm_view show_residual=0 compute_function batch gpu gpu_batches=8'], stage='Main_Stage')
./bin/pythonscripts/PetscGenerateFEMQuadrature.py 2 1 1 16 laplacian /home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52.h
[{(-1.0, -1.0): [(1.0, ())]}, {(1.0, -1.0): [(1.0, ())]}, {(-1.0, 1.0): [(1.0, ())]}]
{0: {0: [0], 1: [1], 2: [2]}, 1: {0: [], 1: [], 2: []}, 2: {0: []}}
Perm: [0, 1, 2]
Creating /home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52.h
Creating /home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52_gpu.h
[{(-1.0, -1.0): [(1.0, ())]}, {(1.0, -1.0): [(1.0, ())]}, {(-1.0, 1.0): [(1.0, ())]}]
{0: {0: [0], 1: [1], 2: [2]}, 1: {0: [], 1: [], 2: []}, 2: {0: []}}
Perm: [0, 1, 2]
Creating /home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52_gpu_inline.h
Building ['/home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52.c', '/home/01392/aterrel/petsc-dev/src/snes/examples/tutorials/ex52_integrateElement.cu']
Executing: /home/01392/aterrel/petsc-dev/arch-cuda-single/bin/mpiexec -n 1 /home/01392/aterrel/petsc-dev/arch-cuda-single/lib/ex52-obj/ex52 -preload off -log_summary summary.dat -log_summary_python summary.py -gpu_blocks 16 -dm_view -batch -compute_function -refinement_limit 0.0625 -show_residual 0
Traceback (most recent call last):
File "./src/benchmarks/benchmarkExample.py", line 382, in <module>
run_DMComplex(ex, name, opts, args, sizes, times, events)
File "./src/benchmarks/benchmarkExample.py", line 327, in run_DMComplex
processSummary('summary', args.stage, args.events, times[name][numBlock], events[name][numBlock])
File "./src/benchmarks/benchmarkExample.py", line 97, in processSummary
m = __import__(moduleName)
ImportError: No module named summary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment