Installing giotto-ph from source and compiling with clang (version 16.0.6) yields "ImportError: /stash/gtda/giotto-ph/gph/modules/gph_ripser_coeff.cpython-311-x86_64-linux-gnu.so: undefined symbol: __atomic_compare_exchange" when trying to import gph_ripser.
The solution for clang is to add the atomic library in the linked libraries, e.g. like this: https://gist.github.com/nwaniek/eeff24b4048e34948104059550df6520