Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C++20 bug in axis constructor #746

Merged
merged 1 commit into from
May 31, 2024

Fix C++20 bug in axis constructor

74d86a1
Select commit
Loading
Failed to load commit list.
Merged

Fix C++20 bug in axis constructor #746

Fix C++20 bug in axis constructor
74d86a1
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / test_cuda succeeded May 31, 2024 in 3m 32s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/39529640
in pipeline acts/ci-bridge/18733
Status: SUCCESS
Created at: 2024-05-31T10:28:07.290+02:00
Started at: 2024-05-31T11:25:18.035+02:00
Finished at: 2024-05-31T11:28:50.645+02:00

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1717147518:resolve_secrets
Resolving secrets
section_end:1717147518:resolve_secrets
section_start:1717147518:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2004_cuda:v30 ...
Pulling docker image ghcr.io/acts-project/ubuntu2004_cuda:v30 ...
Using docker image sha256:704c7cf05a822e35c7990a05da7b957eb14422538ac78f7bbff297813ecbdf00 for ghcr.io/acts-project/ubuntu2004_cuda:v30 with digest
ghcr.io/acts-project/ubuntu2004_cuda@sha256:d3a820b09c3353db5db130d8fae29bb47fce7501f150b4e65f2381f9982f2ba9 ...
section_end:1717147519:prepare_executor
section_start:1717147519:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1717147520:prepare_script
section_start:1717147520:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/acts/ci-bridge/.git/
Checking out 12b1957a as detached HEAD (ref is main)...
Removing build/
Removing src/

Skipping Git submodules setup
section_end:1717147521:get_sources
section_start:1717147521:download_artifacts
Downloading artifacts
Downloading artifacts for build_cuda (39529638)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=39529638 responseStatus=200 OK token=glcbt-64
WARNING: build/_deps/thrust-src/dependencies/libcudacxx/libcxx/test/std/input.output/filesystems/Inputs/static_test_env/bad_symlink: chmod
build/_deps/thrust-src/dependencies/libcudacxx/libcxx/test/std/input.output/filesystems/Inputs/static_test_env/bad_symlink: no such file or directory
(suppressing repeats)
section_end:1717147529:download_artifacts
section_start:1717147529:step_script
Executing "step_script" stage of the job script
Using docker image sha256:704c7cf05a822e35c7990a05da7b957eb14422538ac78f7bbff297813ecbdf00 for ghcr.io/acts-project/ubuntu2004_cuda:v30 with digest
ghcr.io/acts-project/ubuntu2004_cuda@sha256:d3a820b09c3353db5db130d8fae29bb47fce7501f150b4e65f2381f9982f2ba9 ...
$ git clone $CLONE_URL src
Cloning into 'src'...
$ git -C src checkout $HEAD_SHA
Note: switching to '74d86a169a9a2390fedb9a645f5e0afaaa0f4f4a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 74d86a16 Fix C++20 bug in axis constructor
$ src/data/detray_data_get_files.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 100 37.2M  100 37.2M    0     0   104M      0 --:--:-- --:--:--
--:--:--  104M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 100    56  100    56    0     0   1555      0 --:--:-- --:--:--
--:--:--  1555
Files from detray-data-v2 unpacked under 'src/data/'
$ cd build
$ nvidia-smi
Fri May 31 09:25:34 2024       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.13    Driver Version: 525.60.13    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA RTX A4000    On   | 00000000:21:00.0 Off |                  Off |
| 41%   48C    P8    17W / 140W |     15MiB / 16376MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+
$ ctest --output-on-failure -R ".*cuda.*"
Test project /builds/acts/ci-bridge/build
    Start 21: detray_unit_test_cuda
1/9 Test #21: detray_unit_test_cuda .............................   Passed    0.26 sec
    Start 23: detray_unit_test_cuda_array
2/9 Test #23: detray_unit_test_cuda_array .......................   Passed    9.18 sec
    Start  8: detray_integration_test_cuda_array
3/9 Test  #8: detray_integration_test_cuda_array ................   Passed   31.50 sec
    Start 24: detray_unit_test_cuda_eigen
4/9 Test #24: detray_unit_test_cuda_eigen .......................   Passed    8.32 sec
    Start  9: detray_integration_test_cuda_eigen
5/9 Test  #9: detray_integration_test_cuda_eigen ................   Passed   31.49 sec
    Start 10: detray_integration_test_telescope_detector_cuda
6/9 Test #10: detray_integration_test_telescope_detector_cuda ...   Passed   62.85 sec
    Start 11: detray_integration_test_toy_detector_cuda
7/9 Test #11: detray_integration_test_toy_detector_cuda .........   Passed   15.61 sec
    Start 12: detray_integration_test_wire_chamber_cuda
8/9 Test #12: detray_integration_test_wire_chamber_cuda .........   Passed    1.18 sec
    Start 22: detray_unit_test_cuda_grid2_array
9/9 Test #22: detray_unit_test_cuda_grid2_array .................   Passed    0.16 sec

100% tests passed, 0 tests failed out of 9

Total Test time (real) = 160.56 sec
$ find bin -type f -name "*cuda" -not -name "*text*" -exec {} \;
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from detray_validation
[ RUN      ] detray_validation.telescope_detector_ray_scan_for_cuda

INFO: Running scan on: telescope_detector

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.telescope_detector_ray_scan_for_cuda (16 ms)
[ RUN      ] detray_validation.telescope_detector_straight_line_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: telescope_detector...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.telescope_detector_straight_line_navigation_cuda (145 ms)
[ RUN      ] detray_validation.telescope_detector_helix_scan_for_cuda

INFO: Running scan on: telescope_detector

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.telescope_detector_helix_scan_for_cuda (13 ms)
[ RUN      ] detray_validation.telescope_detector_helix_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: telescope_detector...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.telescope_detector_helix_navigation_cuda (28 ms)
[----------] 4 tests from detray_validation (204 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (204 ms total)
[  PASSED  ] 4 tests.
WARNING: No entries in volume finder

[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from detray_validation
[ RUN      ] detray_validation.toy_detector_ray_scan_for_cuda

INFO: Running scan on: toy_detector

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.toy_detector_ray_scan_for_cuda (99 ms)
[ RUN      ] detray_validation.toy_detector_straight_line_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: toy_detector...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.toy_detector_straight_line_navigation_cuda (349 ms)
[ RUN      ] detray_validation.toy_detector_helix_scan_for_cuda

INFO: Running scan on: toy_detector

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.toy_detector_helix_scan_for_cuda (14869 ms)
[ RUN      ] detray_validation.toy_detector_helix_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: toy_detector...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.toy_detector_helix_navigation_cuda (229 ms)
[----------] 4 tests from detray_validation (15547 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (15547 ms total)
[  PASSED  ] 4 tests.
WARNING: No entries in volume finder

Using CUDA unified memory:
Number of volumes: 22
Number of transforms: 3278
Number of rectangles: 4
Number of trapezoids: 12
Number of portal discs: 60
Number of portal cylinders: 56
Number of portal collections: 22
Number of disc grids: 6
Number of cylinder grids: 4
WARNING: No entries in volume finder


Synchronous copy, fixed size buffers:
Number of volumes: 22
Number of transforms: 3278
Number of rectangles: 4
Number of trapezoids: 12
Number of portal discs: 60
Number of portal cylinders: 56
Number of portal collections: 22
Number of disc grids: 6
Number of cylinder grids: 4

Synchronous copy, resizable buffers:
Number of volumes: 22
Number of transforms: 3278
Number of rectangles: 4
Number of trapezoids: 12
Number of portal discs: 60
Number of portal cylinders: 56
Number of portal collections: 22
Number of disc grids: 6
Number of cylinder grids: 4

Custom buffer setup:
Number of volumes: 22
Number of transforms: 3278
Number of rectangles: 4
Number of trapezoids: 12
Number of portal discs: 60
Number of portal cylinders: 56
Number of portal collections: 22
Number of disc grids: 6
Number of cylinder grids: 4
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from detray_validation
[ RUN      ] detray_validation.wire_chamber_ray_scan_for_cuda

INFO: Running scan on: wire_chamber

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.wire_chamber_ray_scan_for_cuda (100 ms)
[ RUN      ] detray_validation.wire_chamber_straight_line_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: wire_chamber...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.wire_chamber_straight_line_navigation_cuda (265 ms)
[ RUN      ] detray_validation.wire_chamber_helix_scan_for_cuda

INFO: Running scan on: wire_chamber

INFO: Generating trace data...
  ->Adding 1000 intersection traces to whiteboard

INFO: Checking trace data...

------------------------------------
Tested 1000 tracks: OK
------------------------------------

[       OK ] detray_validation.wire_chamber_helix_scan_for_cuda (581 ms)
[ RUN      ] detray_validation.wire_chamber_helix_navigation_cuda

INFO: Fetching data from white board...

INFO: Running device navigation validation on: wire_chamber...

-----------------------------------
Tested 1000 tracks: OK
-----------------------------------

[       OK ] detray_validation.wire_chamber_helix_navigation_cuda (215 ms)
[----------] 4 tests from detray_validation (1163 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (1163 ms total)
[  PASSED  ] 4 tests.
WARNING: No entries in volume finder

terminate called after throwing an instance of 'std::invalid_argument'
  what():  Please specify a geometry input file!


find: 'bin/detray_detector_validation_cuda' terminated by signal 6
Running main() from /builds/acts/ci-bridge/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 13 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 4 tests from container_cuda
[ RUN      ] container_cuda.single_store
[       OK ] container_cuda.single_store (82 ms)
[ RUN      ] container_cuda.tuple_container
[       OK ] container_cuda.tuple_container (0 ms)
[ RUN      ] container_cuda.regular_multi_store
[       OK ] container_cuda.regular_multi_store (0 ms)
[ RUN      ] container_cuda.multi_store
[       OK ] container_cuda.multi_store (0 ms)
[----------] 4 tests from container_cuda (84 ms total)

[----------] 9 tests from utils_ranges_cuda
[ RUN      ] utils_ranges_cuda.single
[       OK ] utils_ranges_cuda.single (0 ms)
[ RUN      ] utils_ranges_cuda.pointer
[       OK ] utils_ranges_cuda.pointer (0 ms)
[ RUN      ] utils_ranges_cuda.iota
[       OK ] utils_ranges_cuda.iota (0 ms)
[ RUN      ] utils_ranges_cuda.cartesian_product
[       OK ] utils_ranges_cuda.cartesian_product (0 ms)
[ RUN      ] utils_ranges_cuda.enumerate
[       OK ] utils_ranges_cuda.enumerate (0 ms)
[ RUN      ] utils_ranges_cuda.pick
[       OK ] utils_ranges_cuda.pick (0 ms)
[ RUN      ] utils_ranges_cuda.join
[       OK ] utils_ranges_cuda.join (0 ms)
[ RUN      ] utils_ranges_cuda.static_join
[       OK ] utils_ranges_cuda.static_join (0 ms)
[ RUN      ] utils_ranges_cuda.subrange
[       OK ] utils_ranges_cuda.subrange (0 ms)
[----------] 9 tests from utils_ranges_cuda (2 ms total)

[----------] Global test environment tear-down
[==========] 13 tests from 2 test suites ran. (87 ms total)
[  PASSED  ] 13 tests.
section_end:1717147728:step_script
section_start:1717147728:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1717147729:cleanup_file_variables
Job succeeded