Jed Brown

Results 531 comments of Jed Brown

@mscroggs Following up on this, we get build failures on MacOS without the `runtime` feature. It works everywhere else. Do you know of a way to fix this? ``` dyld[4270]:...

I feel it. FWIW, it was once `Chop` and changed to `Filter` in https://gitlab.com/petsc/petsc/-/merge_requests/6699. A closely related name is the ["shrink" operation](https://en.wikipedia.org/wiki/Bregman_method#Linearized_Bregman).

Are you using static or shared libraries? Does it work from C when you make the same choice? I suspect it's a linker interaction with weak symbols, but would like...

Can you build with `make V=1 STATIC=1` and paste the link line? It should look something like this with the two `ceed-*-weak.o` coming at the end. ``` ar crD lib/libceed.a...

Hmm, seems the weak attribute is being lost. Do you know how to make those by a `W` as they should be? ```console $ nm lib/libceed.a |rg CeedRegister_ U CeedRegister_Avx_Blocked...

Does that end up requiring `DYLD_LIBRARY_PATH`? Ideally the features (`static` and `system`) would really be orthogonal, though I see that's not the case currently. Are you having cargo build a...

I'm concerned there may be another libceed.dylib in your search path, but maybe that has been handled automatically for MacOS. This is a way to automate that on Linux. https://gitlab.com/petsc/petsc-rs/-/blob/main/examples/snes/build.rs?ref_type=heads...

Okay, thanks. Would you mind putting what you're thinking in a branch? I still wonder if there is some mixing of Apple and gcc/clang upstream linking tools that is interfering...

Hi, thanks for the question. We haven't added `cuda`/`hip`/`sycl` features to the `libceed-sys` package, but you can build `libceed.so` any way you like and then use the `system` feature to...

Sorry about the delays on my end. I have fixed CI (had broken due to bug in the Ubuntu package). Could you please rebase?