argonne-lcf / THAPI

A tracing infrastructure for heterogeneous computing applications.
Other
22 stars 9 forks source link

Build experience on Ubuntu 22.04 #70

Closed markdewing closed 1 year ago

markdewing commented 1 year ago

I built on Ubuntu 22.04.02

TApplencourt commented 1 year ago

We recommend to use spack to install iprof (we bult the correct patcher version of babeltrace)

babeltrace2 version is 2.0.4. It appears that version does not have the mentioned patch. However, I could not get babeltrace2 to configure (autoconf errors), so I went with the system version (2.0.4). I'm not sure what sort of errors the unpatched version might cause?

I think segfault :) . I will let Brice response on this topic and others with more in-depth responses when he is back from his well-deserved vacation.

Kerilk commented 1 year ago

Yes, this will cause binary values (structures and kernel arguments) to be incompletely read from the trace and in the worst case lead to segfaults.

The list of dependencies is a bit long, did you try using sudo apt build-dep babeltrace2 to install the required dependencies? This should solve most of your issues.

I build it on 22.04 and have nothing on the configure line except the prefix I want to install it to.

Edit, the spack packaging should work on ubuntu as well