On Mon, Oct 25, 2021, Thomas Zeiser wrote:
>
>gcc-11.2.0 fails to compile src/pmemd/src/cuda/gpu.cpp line 2852
>with "error: ordered comparison of pointer with integer zero".
>
>That line 2852 also look suspicious:
>if (nmrat[i][0] >= 0 && nmrat[i][1] >= 0 && nmrat[i][2] >= 0 && nmrat[3] >= 0) {
It seems quite clear that one should replace "nmrat[3]" above with
"nmrat[i][3]". Can you give that a try?
Thanks for the report.....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Oct 25 2021 - 14:00:02 PDT