Re: [AMBER-Developers] cpptraj compilation error

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Thu, 31 May 2012 14:56:06 -0400

Hi,

Compiler pgi 7.2-5 is really old. Even conservative compiler updaters
are at pgi 11.6. In addition, version 7 should have failed the compiler
version test in amber12 configure2 for RISM and PBSA FFT solver.

http://www.tacc.utexas.edu/user-services/user-guides/ranger-user-guide
According to this page ranger uses modules; follow the directions there
for listing pgi versions and then
module swap "7name" "recentname"

scott

On Thu, May 31, 2012 at 02:40:00PM -0400, InSuk Joung wrote:
> I just pulled a fresh copy from the git repository and tried compilation on
> TACC ranger but I got this error message below. Does anyone can help
> resolve the problem?
> The compiler was pgi 7.2-5.
>
> pgCC -c -I/work/01780/isjoung/AMBER/include -O2 -DBINTRAJ -DHASGZ -DHASBZ2
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ
> -I/work/01780/isjoung/AMBER/include -o ClusterList.o ClusterList.cpp
> "ClusterNode.h", line 24: warning: type qualifier on return type is
> meaningless
> inline const int Num() const { return num_; }
> ^
>
> "ClusterNode.h", line 25: warning: type qualifier on return type is
> meaningless
> inline const int Centroid() const { return centroid_; }
> ^
>
> "/share/apps/pgi/7.2-5/linux86-64/7.2-5/include/CC/stl/_function_base.h",
> line 76: error:
> no operator "<" matches these operands
> operand types are: const ClusterNode < const ClusterNode
> bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <
> __y; }
> ^
> detected during:
> instantiation of "bool std::less<_Tp>::operator()(const _Tp &,
> const _Tp &) const [with _Tp=ClusterNode]" at line 161
> of
>
> "/share/apps/pgi/7.2-5/linux86-64/7.2-5/include/CC/stl/_l
> ist.c"
> instantiation of "void std::_S_merge(std::list<_Tp, _Alloc> &,
> std::list<_Tp, _Alloc> &, _StrictWeakOrdering) [with
> _Tp=ClusterNode, _Alloc=std::allocator<ClusterNode>,
> _StrictWeakOrdering=std::less<ClusterNode>]" at line
> 187
> of
>
> "/share/apps/pgi/7.2-5/linux86-64/7.2-5/include/CC/stl/_l
> ist.c"
> instantiation of "void std::_S_sort(std::list<_Tp, _Alloc> &,
> _StrictWeakOrdering) [with _Tp=ClusterNode,
> _Alloc=std::allocator<ClusterNode>,
> _StrictWeakOrdering=std::less<ClusterNode>]" at line
> 499
> of
>
> "/share/apps/pgi/7.2-5/linux86-64/7.2-5/include/CC/stl/_l
> ist.h"
> instantiation of "void std::list<_Tp, _Alloc>::sort() [with
> _Tp=ClusterNode, _Alloc=std::allocator<ClusterNode>]"
>
> 1 error detected in the compilation of "ClusterList.cpp".
> make[3]: *** [ClusterList.o] Error 2
> make[3]: Leaving directory
> `/work/01780/isjoung/AMBER/AmberTools/src/cpptraj/src'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/work/01780/isjoung/AMBER/AmberTools/src/cpptraj'
> make[1]: *** [serial] Error 2
> make[1]: Leaving directory `/work/01780/isjoung/AMBER/AmberTools/src'
> make: *** [install] Error 2
>
>
> --
> Best,
> InSuk Joung
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu May 31 2012 - 12:00:02 PDT
Custom Search