[AMBER] Error for installing the GPU version of Amber20

From: jinfeng liu <jinfengliu1119.gmail.com>
Date: Wed, 8 Dec 2021 11:54:24 +0800

Dear Amber developers,

I come across another problem when I make install the GPU version of
Amber20. The error message is in the following,

/usr/local/cuda-11.3/include/thrust/detail/cpp11_required.h:23:6: 错误:#error
C++11 is required for this Thrust feature; please upgrade your compiler or
pass the appropriate -std=c++XX flag to it.
 # error C++11 is required for this Thrust feature; please upgrade your
compiler or pass the appropriate -std=c++XX flag to it
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: 错误:#error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

It seems like the compiler's problem. I use gcc version 4.8.5 20150623 (Red
Hat 4.8.5-44) (GCC). What should I do? or how to enable the -std=c++11
option?

Thanks again for your help !

Jinfeng
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Dec 07 2021 - 20:00:02 PST
Custom Search