Commit Graph

7536 Commits

Author SHA1 Message Date
Robert Maynard
098c50b382 Merge topic 'encode_png'
1d4ebaec9 Image was upside down; flip it over, demo usage.
4e76c00a4 Fix linker error and multiply defined symbols.
eb36a07ab Use logging framework [CI SKIP]
104e7bd9c Halting first steps towards encoding .pngs.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2048
2020-04-21 08:05:03 -04:00
Robert Maynard
18a8e91ecd Merge topic 'add_asan_to_ci'
1bf808c47 Add OpenMP to our asan dashboard
07f37c814 Add lsan suppression file
b3924ef30 Add an asan to our gitlab ci suite

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Acked-by: Nick <nathompson7@protonmail.com>
Merge-request: !2051
2020-04-20 16:17:27 -04:00
Robert Maynard
1bf808c479 Add OpenMP to our asan dashboard 2020-04-20 15:22:34 -04:00
Robert Maynard
07f37c814b Add lsan suppression file 2020-04-20 14:16:52 -04:00
Robert Maynard
b3924ef302 Add an asan to our gitlab ci suite 2020-04-20 11:26:26 -04:00
Robert Maynard
e28b80649e Merge topic 'add_another_openmp_ci_builder'
d7eaf1be8 make ubuntu1804_gcc6 run for each merge request and not just nightly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2050
2020-04-17 11:05:12 -04:00
Vicente Bolea
a0e7838b87 Merge topic 'refactor-meshquality-use-errorcodes'
026fd14ba CellMetrics return vtkm::ErrorCode instead of raising errors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2041
2020-04-17 10:43:48 -04:00
Ben Boeckel
51e9d10fa6 Merge topic 'findtbb-gcc48'
e890a9802 FindTBB: synchronize with VTK

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2049
2020-04-17 10:40:30 -04:00
Robert Maynard
d7eaf1be84 make ubuntu1804_gcc6 run for each merge request and not just nightly 2020-04-17 10:02:20 -04:00
Ben Boeckel
e890a98023 FindTBB: synchronize with VTK 2020-04-17 08:30:02 -04:00
Nick
1d4ebaec9f Image was upside down; flip it over, demo usage. 2020-04-17 07:56:03 -04:00
Nick
4e76c00a42 Fix linker error and multiply defined symbols. 2020-04-17 07:32:01 -04:00
Nick
eb36a07ab7 Use logging framework [CI SKIP] 2020-04-17 06:53:32 -04:00
Nick
104e7bd9c2 Halting first steps towards encoding .pngs. 2020-04-17 06:22:30 -04:00
Kenneth Moreland
415c11ee18 Merge topic 'reduce-fancy-output'
6dc0b394a Fix reduce-by-key with a fancy output array

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2047
2020-04-16 20:25:41 -04:00
Vicente Adolfo Bolea Sanchez
026fd14ba6 CellMetrics return vtkm::ErrorCode instead of raising errors
- MeshQuality now throws ErrorCode messages

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-16 17:27:42 -04:00
Robert Maynard
1d807a08eb Merge topic 'reduce_openmp_num_threads_on_ci'
314a30ff1 Restrict the OpenMP threads # gitlab-ci tests uses

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !2046
2020-04-16 16:49:04 -04:00
Kenneth Moreland
6dc0b394a9 Fix reduce-by-key with a fancy output array
If you gave ReduceByKey a fancy output array that decorated another
array, you could get a runtime error for using an invalid array (if the
device adapter used the generic algorithm). The problem was that
ReduceByKey creates a temporary array, and that array was given the same
storage as the output array. That might not be valid for fancy arrays,
so instead use the default storage for the temporary array.
2020-04-16 14:19:44 -06:00
Kenneth Moreland
ae0fc3885b Merge topic 'scan-fancy-output'
52f157e42 Fix scan-by-key with a fancy output array

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2045
2020-04-16 16:15:13 -04:00
Robert Maynard
314a30ff19 Restrict the OpenMP threads # gitlab-ci tests uses
A single gitlab-runner can run multiple test stages
concurrently on the same hardware. When we have 3
jobs asking for 100% of the cpu's we get a 300%
reduction in performance caused by task switching
2020-04-16 15:45:59 -04:00
Robert Maynard
2aa4928f7a Merge topic 'correct_ubuntu1604_gcc48_test_failures'
5c16b3be2 ubuntu1604 builders now use the correct c && c++ compilers
3c80b35b8 ubuntu1604 test step needs to know where MPI install location is
889cb33dd gitlab-ci test jobs better handle false positive failures
b2823d79a ubuntu1604 gcc48 builder install test now pass
93cbea2d7 Update README with update CMake and compiler tested versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2042
2020-04-16 14:58:47 -04:00
Robert Maynard
5c16b3be26 ubuntu1604 builders now use the correct c && c++ compilers 2020-04-16 13:25:55 -04:00
Robert Maynard
3c80b35b89 ubuntu1604 test step needs to know where MPI install location is
It needs the MPI location so that it can properly compile
users of VTK-m with MPI as part of `*_built_against_test_install`
tests
2020-04-16 13:25:55 -04:00
Robert Maynard
889cb33dde gitlab-ci test jobs better handle false positive failures
If ctest had to re-run failed tests and those test pass we
now consider it a successful run
2020-04-16 13:25:55 -04:00
Kenneth Moreland
52f157e420 Fix scan-by-key with a fancy output array
If you gave ScanInclusiveByKey a fancy output array that decorated
another array, you would get a runtime error for using an invalid array.
The problem was that ScanInclusiveByKey creates a temporary output array
and then copies the result to the actual output array. The problem was
that the temporary output array was given the same storage as the output
array, which won't work if the output array is fancy. Instead, make the
storage for the temporary array default.
2020-04-16 10:37:48 -06:00
Robert Maynard
b2823d79aa ubuntu1604 gcc48 builder install test now pass
Problem was that CMake 3.12 was the CMake version used in the
build image, and test image was using 3.13. This was a problem
as the install test invocation aren't backwards convertible and
therefore failed.
2020-04-16 08:43:28 -04:00
Robert Maynard
93cbea2d72 Update README with update CMake and compiler tested versions 2020-04-16 08:43:28 -04:00
Robert Maynard
d9c14e2818 Merge topic 'use_sccache_for_cuda_v3'
e97973689 Update gitlab-ci to use a version of sccache that supports CUDA

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2044
2020-04-15 22:25:31 -04:00
Robert Maynard
e979736893 Update gitlab-ci to use a version of sccache that supports CUDA 2020-04-15 16:10:53 -04:00
Robert Maynard
f9a35b7c80 Merge topic 'allow_tests_to_run_longer'
507e87c01 gitlab ci tests jobs now timeout after 50min

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2043
2020-04-15 15:58:50 -04:00
Robert Maynard
507e87c017 gitlab ci tests jobs now timeout after 50min
When load is high on machines it can take that long for debug
builds to complete
2020-04-15 15:08:57 -04:00
Robert Maynard
fdffaac2d2 Merge topic 'flying_edges_support_multi_contour'
243425421 Flying Edges now works with multiple contours

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !2039
2020-04-15 13:46:27 -04:00
Vicente Bolea
a2c51a3dc7 Merge topic 'refactor-workletinvokerfunctordetail-generalize-returntypes'
6c7855aed relax ThreadIndicesType requirements for WorkletInvokeFunctorDetail

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2035
2020-04-15 13:27:08 -04:00
Sujin Philip
c59a203b97 Merge topic 'update-cmake-version'
c102ea556 Update cmake minimum required version to 3.12

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2037
2020-04-14 09:42:03 -04:00
Robert Maynard
2434254218 Flying Edges now works with multiple contours 2020-04-14 09:21:27 -04:00
Sujin Philip
c102ea556c Update cmake minimum required version to 3.12 2020-04-13 12:42:28 -05:00
Robert Maynard
6b46bfc54b Merge topic 'revert_sccache_changes'
f6ed4060e Revert "Update gitlab-ci to use a version of sccache that supports CUDA"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2038
2020-04-10 16:39:56 -04:00
Robert Maynard
f6ed4060ef Revert "Update gitlab-ci to use a version of sccache that supports CUDA"
This reverts commit 5b469b75a191874abeb8c5cc694fcfba5f0b90c9.
2020-04-10 16:37:05 -04:00
Vicente Adolfo Bolea Sanchez
6c7855aed8 relax ThreadIndicesType requirements for WorkletInvokeFunctorDetail
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2020-04-10 13:13:35 -04:00
Robert Maynard
b605c3bd8a Merge topic 'update_sccache_to_nvcc_supported_version'
5b469b75a Update gitlab-ci to use a version of sccache that supports CUDA

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2033
2020-04-10 12:50:18 -04:00
Robert Maynard
5b469b75a1 Update gitlab-ci to use a version of sccache that supports CUDA 2020-04-10 09:15:35 -04:00
Robert Maynard
c48a8bcc2e Merge topic 'replicate_gitlab-ci_env_script'
24a264fce Add scripts to allow developers to replicate CI environments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !2030
2020-04-09 13:59:40 -04:00
Robert Maynard
24a264fce8 Add scripts to allow developers to replicate CI environments
To simplify reproducing docker based CI workers locally, VTK-m has python program that handles all the
work automatically for you.

The program is located in `[Utilities/CI/reproduce_ci_env.py ]` and requires python3 and pyyaml.

To use the program is really easy! The following two commands will create the `build:rhel8` gitlab-ci
worker as a docker image and setup a container just as how gitlab-ci would be before the actual
compilation of VTK-m. Instead of doing the compilation, instead you will be given an interactive shell.

```
./reproduce_ci_env.py create rhel8
./reproduce_ci_env.py run rhel8
```

To compile VTK-m from the the interactive shell you would do the following:
```
> src]# cd build/
> build]# cmake --build .
```
2020-04-09 13:54:20 -04:00
Matt Larsen
450d76d914 Merge topic 'detect_2d_mesh'
0a6f66986 add whitespace
ecd1512dd render 2d mesh lines

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2031
2020-04-08 11:53:14 -04:00
Matt Larsen
0a6f66986c add whitespace 2020-04-07 18:08:02 -07:00
Matt Larsen
ecd1512dd6 render 2d mesh lines 2020-04-07 13:13:10 -07:00
Robert Maynard
e7754ca854 Merge topic 'Fix-MapperGL-PrepForExec-DispatcherMapField'
4416f8554 Fixing ColorTable::PrepareForExecution and DispatcherMapField

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2028
2020-04-03 09:57:59 -04:00
Jérôme Dubois
4416f85543 Fixing ColorTable::PrepareForExecution and DispatcherMapField 2020-04-03 14:14:29 +02:00
Kenneth Moreland
48e4446f7d Merge topic 'fix-git-lfs-test'
e6f86c2ad Only check sentinel-data if testing is enabled
9ad4ad721 Add content to sentinel-data

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2022
2020-04-02 15:22:50 -04:00
Kenneth Moreland
e6f86c2adb Only check sentinel-data if testing is enabled
If testing is not enabled, then we don't need the files in data.
2020-04-02 13:20:29 -06:00