Commit Graph

198 Commits

Author SHA1 Message Date
Kenneth Moreland
284774cf43 Turn on "no virtual" option on some CI builds
Make sure that the `VTKm_NO_DEPRECATED_VIRTUAL` CMake option is building
correctly by adding it to some of the CI builds.
2020-09-09 06:12:58 -06:00
Robert Maynard
d67ef5b3e6 CI: Tests that compile only work when run on the same host image
This limitation is caused by the fact that VTK-m caches compiler
location during the build stage for these tests, and this fails
on the test image as the compiler might not exist or is in a
different path
2020-08-26 09:10:56 -04:00
Robert Maynard
c73bc0a93f CI: add clang+cuda and correct missing cuda packages on centos 2020-08-21 08:31:27 -04:00
Robert Maynard
da1fec67b9 Kokkos CUDA builds now use sccache for CUDA compilation 2020-08-19 09:44:58 -04:00
Sujin Philip
0beb0f650b Merge topic 'add-kokkos-backend'
2d1b609b3 Use Ubuntu instead of rhel8 for cuda+kokkos
769248583 Make sure we use c++14 when using CUDA 11+
64efa6401 Kokkos: make sure we don't pass multiple rdc flags
b2f4c8e5e Switch -O3 to -O2 on Linux with Cuda 10
db57ed26a Fix warnings
452f61e29 Add Kokkos backend

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2164
2020-08-14 09:35:46 -04:00
Robert Maynard
2d1b609b34 Use Ubuntu instead of rhel8 for cuda+kokkos
The rhel8 image would never upload to gitlab-ci completed artifacts.
2020-08-13 16:02:45 -04:00
Sujin Philip
801d625276 Exclude a failing test until it is resolved
The `ContourTreeUniformAugmented` tests for Cuda consistently
times out while running on the `centos7_gcc48` and `rhel8_test_centos7`
configurations. Temporarily exclude it to improve the CI turn-around time
while this issue is being resolved.
2020-08-13 08:21:03 -05:00
Sujin Philip
452f61e290 Add Kokkos backend 2020-08-12 13:55:24 -04:00
Robert Maynard
6fa170ae60 Update gitlab ci to make sure CUDA builds occur with CUDA runtime
The CUDA runtime is required so that linking occurs correctly
2020-08-11 16:33:40 -04:00
Ben Boeckel
dcef167889 gitlab-ci: fix key file permissions 2020-08-03 07:28:41 -04:00
Ben Boeckel
ca91cdee44 gitlab-ci: upload doxygen docs to the public website
It had been copied to a runner-local directory and then dropped.
2020-07-16 09:30:43 -04:00
Ben Boeckel
09973e66f9 gitlab-ci: use the keyfile directly 2020-07-16 09:30:27 -04:00
Sujin Philip
e67fc619c9 Fix setting build type in gitlab ci 2020-07-08 15:08:04 -05:00
Robert Maynard
72006fc94c Gitlab-ci no has builds without rendering enabled
Fixes: 521
2020-06-11 10:00:26 -04:00
Sujin Philip
b7d0c94f1b Merge topic 'diy-mpi-nompi'
934f085e0 Build diy as a library
f0a37ac6a Merge branch 'upstream-diy' into diy-mpi-nompi
7687aabf8 diy 2020-06-05 (b62915aa)
6ca2b9f87 Point to new version of Diy

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2123
2020-06-08 21:25:54 -04:00
Sujin Philip
934f085e09 Build diy as a library
Support both mpi and nompi versions simultaneously.
2020-06-08 15:57:51 -05:00
Robert Maynard
71d9d4311e Doxygen is now generated by gitlab and done on each master merge 2020-06-03 09:55:21 -04:00
Robert Maynard
f7846f9013 Add openmpi library path to LD_LIBRARY_PATH 2020-06-01 15:17:22 -04:00
Robert Maynard
e7ca8be0b9 Update docker images to use cmake 3.17.3
The 3.17.3 release fixes a regression in ctest where NOT_RUN
tests didn't get reported to ctest or cdash
2020-06-01 11:51:39 -04:00
Robert Maynard
cdc1b7c256 Merge topic 'avoid_false_positive_ctest_failures'
f2b8cac0c gitlab-ci centos7 exclude tests causing rhel8 issues

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2098
2020-05-27 10:52:03 -04:00
Robert Maynard
f2b8cac0c9 gitlab-ci centos7 exclude tests causing rhel8 issues
The centos7 on rhel8 was not running the install tests
as the path to cmake/ctest wasn't valid. This causes
the causes the following issues:

1. NOT_RUN tests with REPEAT don't show up in CMake failed
output fixed by:
  https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4801

2. failed tests cause ctest_test to return an error code,
   which propagates to the script, which propagates to
   having ctest running the script return an error.
2020-05-27 10:22:33 -04:00
Kenneth Moreland
e9028f5fa5 Add dashboard using VTK types
When VTK compiles VTK-m for inclusion as an accelerator library, it sets
an option to compile filters and other components for a different (and
expanded) set of common types. We should test this configuration.
2020-05-21 09:01:17 -06:00
Robert Maynard
af5d363f42 Update sccache to latest master which now has full nvcc support 2020-05-18 17:06:25 -04:00
Robert Maynard
b59913fad3 Log CDash build ids from each step of the build process
This can help track down a weird CDash bugs caused by multiple
in-flight builds that get canceled and result in bad CDash
reporting
2020-05-13 15:58:34 -04:00
Robert Maynard
b033b28efd Add a windows10 vs2019 + shell builder
In a future merge request will test CUDA support on windows
2020-05-04 12:02:56 -04:00
Robert Maynard
33c1667904 Make sure merge request ci builds examples 2020-05-01 08:45:50 -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
d7eaf1be84 make ubuntu1804_gcc6 run for each merge request and not just nightly 2020-04-17 10:02:20 -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
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
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
e979736893 Update gitlab-ci to use a version of sccache that supports CUDA 2020-04-15 16:10:53 -04:00
Sujin Philip
c102ea556c Update cmake minimum required version to 3.12 2020-04-13 12:42:28 -05: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
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
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
Robert Maynard
0ea77c8df9 gitlab-ci nightly gcc 6 and 7 builders to improve coverage
This builds used to happen on renar
2020-03-30 12:49:05 -04:00
Robert Maynard
08a27bdcd8 gitlab-ci now has a clang-5 builder
This was once covered by the dejagore dashboard
2020-03-30 12:49:05 -04:00
Robert Maynard
16a295201b gitlab-ci options for docs, examples, and benchmarks 2020-03-30 12:49:05 -04:00
Robert Maynard
cbed21696d gitlab-ci won't trigger when just pushing remote branches
At the same time I have added the controls to allow for master only
builders which is required for nightly ubsan/asan testing
2020-03-30 09:51:45 -04:00
Robert Maynard
5bc09b976e Add gitlab-ci infrastructure 2020-03-26 13:40:47 -04:00
Robert Maynard
ef7ef5fb22 Add documentation for the what/why of using Gitlab ci 2020-03-26 08:27:58 -04:00
Robert Maynard
36d1a2d6ae Add dockerfiles to be used by VTK-m Gitlab ci 2020-03-26 08:27:58 -04:00
Robert Maynard
b16e4fc17b Add ECP CI support to vtk-m
VTK-m now can be tested on ECP CI ( https://ecp.osti.gov/nmc )
resources. This is done via the `.gitlab-ci-ecp.yml` file
2020-03-26 08:27:58 -04:00