Skip to content

Render fails with slice on GPU #1669

@aroccaPrediqtt

Description

@aroccaPrediqtt

Hello,

I'm testing Ascent on an HPC cluster and I noticed that the execution fails when a pipeline is added to the actions

The same issue seems related to the previously reported issue:
#1119
which has been solved with an updated version of VTKm if I correctly understand

However, in my case the behavior is slightly different:

On my laptop, the same code runs without problems.

On the HPC cluster, the execution fails as soon as a pipeline is present.

This makes me suspect that on the laptop there may be some kind of fallback to host execution, while on the HPC system the pipeline tries to run fully on the device runtime and fails.

Minimal Example

The following works:

- action: add_scenes
  scenes:
    s1:
      plots:
        p1:
          type: pseudocolor
          field: velocity-x
          color_table:
            #name: "Rainbow Uniform"
            name: "Blue to Orange"

      renders:
        r1:
          # white background
          bg_color: [1.0, 1.0, 1.0]

          # black foreground (text, axes, etc.)
          fg_color: [0.0, 0.0, 0.0]

          # show the background color in the image (instead of transparent)
          render_bg: "true"

          # eliminate annotations (axes, legends, etc.)
          #annotations: "true"
          #world_annotations: "false"
          image_name: velocity-x
          # camera:
          #   azimuth: 0

But when adding a pipeline:

###############################################################################
# PIPELINE: SLICE Z
###############################################################################

- action: add_pipelines
  pipelines:
    slice_z:
      f1:
        type: slice
        params:
          point:
            x: 0
            y: 0
            z: 0.05    
          normal:
            x: 0
            y: 0
            z: 1

###############################################################################
# SCENE
###############################################################################

- action: add_scenes
  scenes:
    s1:
      plots:
        p1:
          type: pseudocolor
          field: velocity-x
          pipeline: slice_z
          color_table:
            name: "Rainbow Uniform"

      renders:
        r1:
          # white background
          bg_color: [1.0, 1.0, 1.0]

          # black foreground (text, axes, etc.)
          fg_color: [0.0, 0.0, 0.0]

          # show the background color in the image (instead of transparent)
          render_bg: "true"

          # eliminate annotations (axes, legends, etc.)
          annotations: "true"
          world_annotations: "false"
          image_name: slice_z

          camera:
            azimuth: 0

**the execution fails on the HPC system but not on the laptop (I guess the slice might be handle by Host?)

Environment**

HPC system

GPU: NVIDIA H100, L40S]

CUDA: 12 and 13

Ascent: 0.9.5

Output: s1/p1 pseudocolor plot yielded no data, i.e., no cells remains2/p1 pseudocolor plot yielded no data, i.e., no cells remaincycle=1465 time=2.6308698410348811e+03 dt=1.7657586286923035e+00 zone-cycles/wsec_step=4.56e+05 wsec_total=1.23e+03 wsec_step=1.15e+00

Laptop

GPU: nvidia rtx pro 1000 blackwell

CUDA: 13

Ascent: 0.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions