-
Notifications
You must be signed in to change notification settings - Fork 19
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
ref: remove b-field from detector #566
ref: remove b-field from detector #566
Conversation
8a818a3
to
8e37a0f
Compare
154f0ad
to
405ad1e
Compare
I tried to solve the warning of |
No, I also tried to find it and failed. Additionally, it is complaining about some variables that are set but not referenced in the toy geometry creation, which is clearly incorrect. I am thinking that I have redo the whole thing, but starting with replacing the bfield before removing the template and trying to go step by step (as much as that is possible with this change) |
That's possibly a nvcc bug or at least a warning that can be ignored. |
Ok, thanks for having a look. The warning about the unreferenced variables should vanish, too, since it was in |
Odd, that these warnings did not come up before... |
That's odd indeed. I also don't know what triggered this error. |
I could not fix the narrowing conversion warning and ended up with disabling detray propagation tutorial for the moment. Because I need to update detray version and move on to traccc work - @niermann999 Could you kindly accept this? |
546d630
to
0e2a257
Compare
d43e8fd
to
e5f2314
Compare
Reverted back to using a const field in the tutorials, that fixed the issue for me (at least locally). Then let's go with this |
e5f2314
to
8b5dbdc
Compare
Yeah but let's not spend too much time for something we don't fully understand. We don't know if the |
It seems to come from covfie, it happens during the compilation of the detray bfield header, even if the inhomogeneous type and the bfield reader are not used. But OK, if you need this asap, I will fix it in the next PR |
8b5dbdc
to
263d79b
Compare
I cannot do anything without this. so yes I need this ASAP. |
BTW you will also need to disable detector construction. I forgot to mention that the compilation fails even without |
9e0d28e
to
842a31d
Compare
@niermann999 I removed the covfie library from detector construction |
Ok, I am trying to finish the rest in #568 . Let's merge this |
I think you need to remove the bfield header in the detector construction, but let's just comment the tutorial out for now |
I commented them now. |
This PR removes the bfield from the detector and decouples detray core from covfie. The management of the bfield (building/moving to device) is done in the client code (e.g. the detray unittests etc).
Note: this does not remove the templating/need for explicit template instantiation on the propagation kernels in detray, it simply allows to find a different solution in traccc