> -----原始邮件-----
> 发件人: "David A Case" <david.case.rutgers.edu>
> 发送时间: 2020-12-07 21:45:45 (星期一)
> 收件人: "AMBER Mailing List" <amber.ambermd.org>
> 抄送:
> 主题: Re: [AMBER] Unsupported CUDA version 11.1 detected during the installation of AMBER20.CUDA
>
> On Mon, Dec 07, 2020, 贺俊宏 wrote:
> When did this error appear? During the build, or a subsequent run?
> Have you run the test suite?
>
> Basically, we need as much context as we can get.
>
> ...thanks...dac
>
> sorry for my Insufficient Error infomation,it appears at the test of cuda.
my modification of $AMBERHOME/AmberTools/src/configure2 are below:
cudaversion=`$nvcc --version | grep 'release' | cut -d' ' -f5 | cut -d',' -f1`
if [ "$cudaversion" = "11.0" -o "$cudaversion" = "11.1" ]; then
# Implement the standard, not warp synchronous, compilation
sm75flags='-gencode arch=compute_75,code=sm_75'
sm70flags='-gencode arch=compute_70,code=sm_70'
echo "CUDA Version $cudaversion detected"
echo "Configuring for SM5.0, SM5.2, SM5.3, SM6.0, SM6.1, SM7.0, SM7.5 and SM8.0"
nvccflags="$sm50flags $sm52flags $sm53flags $sm60flags $sm61flags $sm70flags $sm75flags $sm80flags -Wno-deprecated-declarations"
elif [ "$cudaversion" = "10.0" -o "$cudaversion" = "10.1" -o "$cudaversion" = "10.2" ]; then
echo "CUDA Version $cudaversion detected"
echo "Configuring for SM3.0, SM3.5, SM3.7, SM5.0, SM5.2, SM5.3, SM6.0, SM6.1, SM7.0 and SM7.5"
nvccflags="$sm30flags $sm35flags $sm37flags $sm50flags $sm52flags $sm53flags $sm60flags $sm61flags $sm70flags $sm75flags -Wno-deprecated-declarations"
elif [ "$cudaversion" = "9.0" -o "$cudaversion" = "9.1" -o "$cudaversion" = "9.2" ]; then
echo "CUDA Version $cudaversion detected"
echo "Configuring for SM3.0, SM3.5, SM3.7, SM5.0, SM5.2, SM5.3, SM6.0, SM6.1 and SM7.0"
nvccflags="$sm30flags $sm35flags $sm37flags $sm50flags $sm52flags $sm53flags $sm60flags $sm61flags $sm70flags -Wno-deprecated-declarations"
elif [ "$cudaversion" = "8.0" ]; then
echo "CUDA Version $cudaversion detected"
echo "Configuring for SM3.0, SM3.5, SM3.7, SM5.0, SM5.2, SM5.3, SM6.0 and SM6.1"
echo "BE AWARE: CUDA 8.0 does not support V100, GV100, Titan-V or later GPUs."
nvccflags="$sm30flags $sm35flags $sm37flags $sm50flags $sm52flags $sm53flags $sm60flags $sm61flags"
elif [ "$cudaversion" = "7.5" ]; then
echo "CUDA Version $cudaversion detected"
echo "Configuring for SM3.0, SM3.5, SM3.7, SM5.0, SM5.2 and SM5.3"
echo "BE AWARE: CUDA 7.5 does not support GTX-1080, Titan-XP, DGX-1, V100 or other Pascal/Volta based or later GPUs."
nvccflags="$sm30flags $sm35flags $sm37flags $sm50flags $sm52flags $sm53flags"
else
echo "Error: Unsupported CUDA version $cudaversion detected."
echo " Amber requires CUDA version 7.5, 8.0, 9.0-9.2, or 10.0-10.2"
exit 1
fi
nvcc="$nvcc $nvccflags"
maybe there are some problems of my modification? thanks for your help again.
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Dec 07 2020 - 19:00:02 PST