Re: [AMBER] Installing Amber14 and AmberTools15 Error

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Thu, 30 Mar 2017 03:00:27 -0400

Hi,

On Thu, Mar 30, 2017 at 10:59:11AM +0800, Erma Fatiha Muhammad wrote:
>
> I am installing Amber14 with AmberTools15 into normal CPU computer, however
> Whenever I type 'make install' it was finally caused this error:
>
> /usr/include/c++/6/bits/basic_string.h:5325:5: note: candidate:
> template<class _CharT, class _Traits, class _Alloc>
> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT,
> _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
> operator<<(basic_ostream<_CharT, _Traits>& __os,
> ^~~~~~~~
> /usr/include/c++/6/bits/basic_string.h:5325:5: note: template argument
> deduction/substitution failed:
> GraphToHoldScores.cpp:1153:7: note: ???std::ostream {aka
> std::basic_ostream<char>}??? is not derived from ???const
> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>???
> std::cerr << vertex_indices_[ 0 ] << ", " << vertex_indices_[ 1 ] << "]"
> << std::endl;
> ^~~~
> Makefile:33: recipe for target 'GraphToHoldScores.o' failed
> make[3]: *** [GraphToHoldScores.o] Error 1
> make[3]: Leaving directory '/home/cadd123/Documents/
> WORKSPACE/AMBER14/amber14/AmberTools/src/reduce/reduce_src'
> Makefile:19: recipe for target 'install' failed
> make[2]: *** [install] Error 2

Change line 1153 of
amber14/AmberTools/src/reduce/reduce_src/GraphToHoldScores.cpp
from
        std::cerr << vertex_indices_[ 0 ] << ", " << vertex_indices_[ 1 ] << "]" << std::endl;
to
                     vertex_indices_[ 0 ] << ", " << vertex_indices_[ 1 ] << "]" << std::endl;

Note that this is already corrected in AmberTools16.

scott


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Mar 30 2017 - 00:30:03 PDT
Custom Search