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

ascent slices do not work on GPU (likely ascent bug) #39

Closed
BenWibking opened this issue Mar 17, 2023 · 4 comments
Closed

ascent slices do not work on GPU (likely ascent bug) #39

BenWibking opened this issue Mar 17, 2023 · 4 comments

Comments

@BenWibking
Copy link
Contributor

BenWibking commented Mar 17, 2023

The Ascent outputs do not work on GPU for the precipitator pgen. It works fine on host runs.

On GPU runs, we instead get:

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

and

dens00000

@BenWibking BenWibking changed the title ascent outputs do not work on GPU some ascent graphs do not work on GPU (likely ascent issue) Mar 20, 2023
@BenWibking
Copy link
Contributor Author

This works:

-
  action: "add_scenes"
  scenes:
    s1:
      plots:
        p1:
          type: "pseudocolor"
          field: "Density"
          color_table:
            name: "Viridis"
      renders:
        r1:
          image_prefix: "dens%05d"
          annotations: "true"
          camera:
            look_at: [0.0, 0.0, 0.0]
            position: [0.0, -200.0, 0.0]
            up: [0.0, 0.0, 1.0]

while this does not:

-
  action: "add_pipelines"
  pipelines:
    pl1:
      f2:
        type: "slice"
        params:
          point:
            x: 0.0
            y: 0.0
            z: 0.0
          normal:
            x: 0.0
            y: 1.0
            z: 0.0
-
  action: "add_scenes"
  scenes:
    s1:
      plots:
        p1:
          type: "pseudocolor"
          field: "Density"
          pipeline: "pl1"
          color_table:
            name: "Viridis"
      renders:
        r1:
          image_prefix: "dens%05d"
          annotations: "true"
          camera:
            look_at: [0.0, 0.0, 0.0]
            position: [0.0, -200.0, 0.0]
            up: [0.0, 0.0, 1.0]

@BenWibking
Copy link
Contributor Author

The mesh is

<parthenon/mesh>
refinement  = static
nghost = 4

nx1        = 256       # Number of zones in X1-direction
x1min      = -50.       # minimum value of X1
x1max      = 50.0       # maximum value of X1
ix1_bc     = periodic   # inner-X1 boundary flag
ox1_bc     = periodic   # outer-X1 boundary flag

nx2        = 256       # Number of zones in X2-direction
x2min      = -50.0       # minimum value of X2
x2max      = 50.0       # maximum value of X2
ix2_bc     = periodic   # inner-X2 boundary flag
ox2_bc     = periodic   # outer-X2 boundary flag

nx3        = 512       # Number of zones in X3-direction
x3min      = -100.       # minimum value of X3
x3max      = 100.       # maximum value of X3
ix3_bc     = user   # inner-X3 boundary flag
ox3_bc     = user   # outer-X3 boundary flag

@BenWibking BenWibking changed the title some ascent graphs do not work on GPU (likely ascent issue) ascent slices do not work on GPU (likely ascent bug) Mar 20, 2023
@BenWibking
Copy link
Contributor Author

I've opened an Ascent issue here: Alpine-DAV/ascent#1119

@BenWibking
Copy link
Contributor Author

Fixed in VTKm-2.1rc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant