fix linking with -lcudart, should also include -lrt#882
fix linking with -lcudart, should also include -lrt#882boegel merged 1 commit intoeasybuilders:developfrom
Conversation
|
confirmed on my end that this fixes the problem I would like to hear from @ajdecon why this is required though... |
|
My impression was that this shouldn't be required, but my information might be wrong. Following up internally at NVIDIA to make sure I understand this. :) |
|
@ajdecon: any updates? For future reference: these are the error message you run into when building gzip with a |
|
Still waiting on feedback from another engineer at NVIDIA. Sorry for the delays, we're all a little crazy right now due to our conference GTC next week. :) I do suggest you check to see if a CUDA app such as Gromacs still builds correctly with this fix in place. If there are symbol conflicts between libcudart and librt, then I'd be concerned that this fix for non-CUDA builds might break CUDA apps. |
|
I've tested a GROMACS build with the Thanks @ajdecon for the responses! |
fix linking with -lcudart, should also include -lrt
@pescobar: this should fix the problem of building
gzipwith agoolfctoolchain@ajdecon: does this make sense to you, i.e. is
-lrtrequires when linking with-lcudart, even for non-CUDA apps likegzip?