Skip to content

test target=broadwell for babeltrace2#20

Draft
minghangli-uni wants to merge 12 commits intomainfrom
broadwell_target
Draft

test target=broadwell for babeltrace2#20
minghangli-uni wants to merge 12 commits intomainfrom
broadwell_target

Conversation

@minghangli-uni
Copy link
Collaborator

@minghangli-uni minghangli-uni commented Feb 9, 2026

babeltrace2 currently is built targeting x86_64_v4, which enables AVX-512 instructions. This causes an immediate Illegal instruction crash when importing bt2 on Broadwell nodes (e.g. Jupyter sessions on normalbw).

One example,

> import bt2
> from pathlib import Path
> trace = Path("/scratch/tm70/ml0072/access-om3/archive/Scaling_MC-100km-ryf-MC-100km-ryf_node_1_queue_normalsr_shared_13_ocn_91-e99079ca/output000/traceout").resolve()
> it = bt2.TraceCollectionMessageIterator(str(trace))
> print("iterator created ok")
> PY

With Jupyter notebook on normalbw (broadwell) queue

Illegal instruction

While on the login node normal (cascade lake) queue

iterator created ok

Since Broadwell is currently the only cpu type used for ARE Jupyter, babeltrace2 should be deployed targeting x86_64[_v3], which should be (?) compatible with Broadwell while remaining fully compatible with normal and normalsr queues.

For the vk83 release environment, I've tried

  • /g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64_v3, with @gcc-14.1.0
  • /g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64, with @intel-2021.10.0

🚀 The latest prerelease babeltrace2/pr20-2 at 1d49b31 is here: #20 (comment) 🚀


🚀 The latest prerelease babeltrace2/pr20-5 at 094941d is here: #20 (comment) 🚀


🚀 The latest prerelease babeltrace2/pr20-15 at 6acc9e8 is here: #20 (comment) 🚀

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

The model version in the babeltrace2/spack.yaml has not been updated.
You can update it manually.
Alternatively, comment the following to have it updated and committed automatically:

  • !bump major for feature releases
  • !bump minor for bugfixes

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-1 with commit 5ee046a

🖥️ Gadi Deployment ❌

@minghangli-uni
Copy link
Collaborator Author

!bump minor

@minghangli-uni minghangli-uni marked this pull request as draft February 9, 2026 10:58
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-1 with commit 5ee046a

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-2 with commit 1d49b31

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-3 with commit c85200e

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-4 with commit b8ce70d

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-5 with commit 094941d

🖥️ Gadi Deployment ❌

@minghangli-uni
Copy link
Collaborator Author

!redeploy

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-6 with commit 094941d

🖥️ Gadi Deployment ❌

@minghangli-uni
Copy link
Collaborator Author

!redeploy

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-7 with commit 094941d

🖥️ Gadi Deployment ❌

@minghangli-uni
Copy link
Collaborator Author

!redeploy

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🚀 Attempted to deploy babeltrace2 Prerelease pr20-8 with commit 094941d

🖥️ Gadi Deployment ❌

@aidanheerdegen
Copy link
Member

You are getting warnings that indicate the build is using gcc specific compiler options with the intel C compiler:

     65447    icpc: command line warning #10148: option '-Wduplicated-branches'
               not supported
     65448    icpc: command line warning #10148: option '-Wlogical-op' not supp
              orted
     65449    icpc: command line warning #10148: option '-Wsuggest-override' no
              t supported
     65450    icpc: command line warning #10148: option '-Wno-cast-function-typ
              e' not supported
     65451    icpc: command line warning #10148: option '-Wno-null-dereference'
               not supported
     65452    icpc: command line warning #10148: option '-Wno-redundant-decls' 
              not supported

Which is not causing a failure, but this is:

  >> 65453    bt2/native_bt.cpp(168): catastrophic error: cannot open source fi
              le "bt2/native_bt.cpp"
     65454      # include <Python.h>

It's probably worth specifying gcc as the compiler to see if that fixes it. They may have other gcc specific issues that are showing up this error.

@minghangli-uni
Copy link
Collaborator Author

It's probably worth specifying gcc as the compiler to see if that fixes it. They may have other gcc specific issues that are showing up this error.

Interesting, the intel build I tried last night didn't have this issue, but it failed due to the long build time. I'll try gcc now.

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-9 with commit e88037a

🖥️ Gadi Deployment ❌

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-10 with commit 8e4d015

🖥️ Gadi Deployment ❌

Copy link
Collaborator Author

@minghangli-uni minghangli-uni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove compiler specifier

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-11 with commit be1143a

🖥️ Gadi Deployment ❌

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-11 with commit be1143a

🖥️ Gadi Deployment ❌

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-13 with commit abd4e2b

🖥️ Gadi Deployment ❌

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-13 with commit abd4e2b

🖥️ Gadi Deployment ❌

@github-actions
Copy link

🚀 Attempted to deploy babeltrace2 Prerelease pr20-15 with commit 6acc9e8

🖥️ Gadi Deployment ❌

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

Successfully merging this pull request may close these issues.

2 participants