Re: [AMBER-Developers] Deprecated messages in CUDA compilations.... STOP!

From: Jamie Smith <>
Date: Fri, 22 Jun 2018 21:08:30 +0000

The CMake build system gives a somewhat different error message, many many times (almost 50MB of logs per build):

/iscratch/jenkins/home/workspace/Amber/AmberLinux/src/pmemd/src/cuda/kNLCINE.h(528): warning: function "__shfl(unsigned int, int, int)"
/opt/cuda/9.0/include/sm_30_intrinsics.hpp(167): here was declared deprecated ("__shfl() is deprecated in favor of __shfl_sync() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")

It looks like kNLCLINE.h uses __shfl() all over the place. Is this something we're able to fix? Because it would certainly be nice. I had to buy one of those momentum-scrolling mice just so I could scroll through Jenkins logs more quickly.

-----Original Message-----
From: David Cerutti []
Sent: Friday, June 22, 2018 12:20 PM
To: AMBER Developers Mailing List <>
Subject: [AMBER-Developers] Deprecated messages in CUDA compilations.... STOP!

Is anyone else seeing a plethora of messages like this one?

line 204535; w\
arning : Instruction 'shfl' without '.sync' is deprecated since PTX ISA version 6.0 and will be\ discontinued in a future PTX ISA version

This is happening even though there compilation flags include -Wno-deprecated-declarations. It is literally finding a needle in the haystack to figure out what line of code is wrong having to sift through these mountains of deprecation warnings. Yes, shfl is deprecated.
But how do I shut that warning off, for real?

AMBER-Developers mailing list
AMBER-Developers mailing list
Received on Fri Jun 22 2018 - 14:30:03 PDT
Custom Search