Commit Graph

39 Commits

Author SHA1 Message Date
Vicente Adolfo Bolea Sanchez
a5aeda7240 CI: move from only to rules 2021-10-18 14:36:16 -04:00
Vicente Adolfo Bolea Sanchez
9ea26d9372 CI: fix dependencies in CI jobs 2021-10-15 15:37:27 -04:00
Vicente Adolfo Bolea Sanchez
98a1cc7514 CI: add HIP builing build
- It also adds CTEST_MAX_PARALLELISM to further control the number of
  parallelism level while building vtk-m.

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-10-13 15:40:52 -04:00
Vicente Adolfo Bolea Sanchez
46b0268825 CI: add ubuntu2004 with tbb 2020 build 2021-09-28 19:46:11 +00:00
Vicente Adolfo Bolea Sanchez
11bf684f3c CI: updates kokkos version 2021-09-20 18:23:16 -04:00
Vicente Adolfo Bolea Sanchez
d348b11183 Enable shared CUDA builds when not compiling virtuals
The reason why we did not support shared libraries when CUDA compiles
were on is that virtual methods require a special linking step to pull
together all virtual methods that might be called. I other words, you
cannot call a virtual CUDA method defined inside a library. This
requirement goes away when virtuals are removed.

Also removed the necessity of using seprable compilation with cuda.
Again, this is only needed when a CUDA function is defined in one
translation unit and used in another. Now we can enforce that all
translation units define their own CUDA functions.

Also, suppress warnings in cuda/internal/ExecutionPolicy.h

This is where we call the thrust algorithms. There must be some loop
where it, on some code path, calls back a host function. This must be in
an execution path that never happens. The thrust version has its own
suppress, but that does not seem to actually suppress the warning (it
just means that the warning does not tell you where the actual call is).

Get around the problem by suppressing the warnings in VTK-m.

Co-authored-by: Kenneth Moreland <morelandkd@ornl.gov>
Co-authored-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>

Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-08-24 13:14:58 -04:00
Vicente Adolfo Bolea Sanchez
5353934e6b CI: Add Junit support
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-08-12 19:35:39 -04:00
Vicente Adolfo Bolea Sanchez
4b6175980c CI: download/install cmake in each build
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-08-12 19:19:17 -04:00
Li-Ta Lo
a5f40f7a74 add build/config to the list of file to be packed 2021-07-26 21:04:56 -06:00
Vicente Adolfo Bolea Sanchez
6a041f6c61 CI: Fetch main repo tags from forks
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-04-23 20:25:18 -04:00
nadavi
78e3cbb501 Move regression test images into subdirs, implement io library support 2021-03-24 22:57:32 +00:00
Vicente Adolfo Bolea Sanchez
d4cfe34009 CI: adds ubuntu1804 build with benchmarks
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-02-24 20:29:28 +01:00
Vicente Adolfo Bolea Sanchez
bbe36d8c33 cmake: set c++14 as minimum c++ rev
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-02-08 17:13:05 +01:00
Robert Maynard
7c94ebf2ed Add HDF5 to Ubuntu 18.04/base image 2021-01-07 12:00:52 -05:00
nadavi
b883b2d92b support adding images to the gitlab ci archive for regression tests 2020-12-02 16:24:08 +00:00
Robert Maynard
d5d91c61d3 Update ubuntu1804+cuda from 10.1 to 11.1
The image was previously using 10.1 which has issues generating
ptx for numerous filters. Moving to a newer CUDA version corrects
these issues
2020-10-19 15:32:10 -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
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
452f61e290 Add Kokkos backend 2020-08-12 13:55:24 -04:00
Robert Maynard
d9d8608137 Make sure only master and tag updates on main repo cause ci to run 2020-07-01 08:18:31 -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
Ben Boeckel
0488aab201 docs: update gitlab links to include /-/ component 2020-05-26 14:48:49 -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
b3924ef302 Add an asan to our gitlab ci suite 2020-04-20 11:26:26 -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
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
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
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