Add abort execution feature
Initial changes to add support for aborting execution.
backport: release
Merge request reports
Activity
assigned to @sujin.philip
Errors:
- commit 98929a22 is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/cont/ErrorAbortRequested.h
,vtkm/cont/Logging.h
,vtkm/cont/testing/UnitTestAbort.cxx
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit 98929a22 is not allowed because the following files are not formatted according to the 'clang-format' check:
Errors:
- commit 98929a22 is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/cont/ErrorAbortRequested.h
,vtkm/cont/Logging.h
,vtkm/cont/testing/UnitTestAbort.cxx
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Warnings:
- Eligible for the 2.0.x branch.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit 98929a22 is not allowed because the following files are not formatted according to the 'clang-format' check:
There is a draft VTK MR vtk!9909 (merged), that uses this feature to enable abort support for the
vtkmContour
filter.@kmorel, please take a look at this when you get a chance. You may also want to look at vtk!9909 (merged) to see how this can be used together with VTK's abort infrastructure.
- Resolved by Sujin Philip
- Resolved by Sujin Philip
- Resolved by Sujin Philip
- Resolved by Sujin Philip
- Resolved by Kenneth Moreland
- Resolved by Sujin Philip
Errors:
- commit d987ea3c is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/cont/RuntimeDeviceTracker.cxx
,vtkm/cont/TryExecute.cxx
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit d987ea3c is not allowed because the following files are not formatted according to the 'clang-format' check:
Errors:
- commit d987ea3c is not allowed because the following files are not formatted according to the 'clang-format' check:
vtkm/cont/RuntimeDeviceTracker.cxx
,vtkm/cont/TryExecute.cxx
. Post a comment ending in the lineDo: reformat
to rewrite the MR source branch automatically.
Warnings:
- Eligible for the 2.0.x branch.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- commit d987ea3c is not allowed because the following files are not formatted according to the 'clang-format' check:
@kmorel, I have addressed your comments. could you please take another look? The CI pipeline is green except for
ascent
which is still failing due to some unrelated issues.So my last run failed. This is the first error:
[373/757] Building CUDA object vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o FAILED: vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o "/autofs/nccsopen-svm1_sw/ascent/spack-envs/base/opt/linux-rhel8-ppc64le/gcc-10.2.0/cmake-3.22.2-obdciox7ht3vd6hzyczn732njexbhans/bin/ctest" --launch --target-name UnitTests_vtkm_cont_testing --build-dir /gpfs/wolf/csc331/proj-shared/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/build/vtkm/cont/testing --output vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o --source /gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/cont/testing/UnitTestArrayHandleConcatenate.cxx --language CUDA --filter-prefix "" -- /gpfs/wolf/proj-shared/csc331/vtk-m/ci/utils/ccache /sw/ascent/cuda/11.4.2/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/sw/ascent/gcc/10.2.0-3/bin/g++ -DVTKMDIY_DEBUG -DVTKMDIY_MPI_AS_LIB -DVTKMDIY_NO_THREADS -I/gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/thirdparty/optionparser -I/gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/thirdparty/diy -I/gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/thirdparty/lcl/vtkmlcl -I/gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m -I/gpfs/wolf/csc331/proj-shared/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/build/include -isystem=/gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include -isystem=/gpfs/wolf/csc331/proj-shared/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/build/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/mpi --generate-code=arch=compute_70,code=sm_70 -O2 -g -DNDEBUG -Xcompiler=-fvisibility=hidden -Xcompiler=-Wall,-Wcast-align,-Wpointer-arith,-Wformat,-Wformat-security,-Wshadow,-fno-common,-Wunused,-Wno-unknown-pragmas,-Wno-unused-local-typedefs,-Wno-unused-function,-Wchar-subscripts,-Wfloat-conversion,-Wodr -Xcudafe=--display_error_number -Xcompiler=-ffunction-sections --expt-relaxed-constexpr -Xcompiler -pthread -std=c++14 -MD -MT vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o -MF vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o.d -x cu -c /gpfs/wolf/proj-shared/csc331/vtk-m/ci/runtime/vbolea/builds/KtZfCL_b/001/ecpcitest/vtk-m/vtkm/cont/testing/UnitTestArrayHandleConcatenate.cxx -o vtkm/cont/testing/CMakeFiles/UnitTests_vtkm_cont_testing.dir/UnitTestArrayHandleConcatenate.cxx.o In file included from ../vtkm/cont/internal/DeviceAdapterAlgorithmGeneral.h:16, from ../vtkm/cont/cuda/internal/DeviceAdapterAlgorithmCuda.h:27, from ../vtkm/cont/cuda/DeviceAdapterCuda.h:23, from ../vtkm/cont/DeviceAdapter.h:18, from ../vtkm/cont/AtomicArray.h:16, from ../vtkm/cont/arg/TransportTagAtomicArray.h:19, from ../vtkm/worklet/internal/WorkletBase.h:28, from ../vtkm/worklet/WorkletMapField.h:13, from ../vtkm/cont/testing/UnitTestArrayHandleConcatenate.cxx:15: ../vtkm/cont/ArrayHandleDiscard.h:15:10: fatal error: vtkm/internal/Unreachable.h: No such file or directory 15 | #include <vtkm/internal/Unreachable.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
But there are also other errors like:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory cc1plus: error: ../vtkm/thirdparty/optionparser: Not a directory cc1plus: error: ../vtkm/thirdparty/diy: Not a directory cc1plus: error: ../vtkm/thirdparty/lcl/vtkmlcl: Not a directory cc1plus: error: include: Not a directory
marked this merge request as draft from sujin.philip/vtk-m@0d76d6df
Errors:
- commit 0d76d6df cannot be merged; it is marked as a work-in-progress (WIP).
Warnings:
- the merge request is marked as a work-in-progress.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
Errors:
- commit 0d76d6df cannot be merged; it is marked as a work-in-progress (WIP).
Warnings:
- Eligible for the 2.0.x branch.
- the merge request is marked as a work-in-progress.
The warnings do not need to be fixed, but it is recommended to do so.
Please rewrite commits to fix the errors listed above (adding fixup commits will not resolve the errors) and force-push the branch again to update the merge request.
- Resolved by Vicente Bolea
I find that when I make changes to core classes that force a rebuild the CUDA code on
ascent
as yours does, it takes about 3 restarts to complete the compile.
mentioned in commit 48059d0d
mentioned in commit d05afa72
mentioned in issue #757 (closed)
@sujin.philip In updating one of my MRs, I noticed that this MR has introduced some warnings on the windows dashboard: https://open.cdash.org/viewBuildError.php?type=1&buildid=8454447. Please fix them quickly.
I have the fix in !2984 (merged)