Re: [AMBER] Compile Python error

From: Jason Swails <jason.swails.gmail.com>
Date: Tue, 14 Jun 2011 00:53:27 -0600

This sounds like a patch has been applied twice (an error that shouldn't
crop up, really).

Try extracting a fresh copy of AmberTools 1.5, reapplying the bugfix
(once!), and compiling then.

HTH,
Jason

On Tue, Jun 14, 2011 at 12:40 AM, Xioling Chuang <xioling_c.hotmail.com>wrote:

>
> Dear Jason,
> My information for previous mail was incorrect.The system is Intel Xeon
> (32-bit) with SUSE Linux Enterprise Server 9.0, and Intel compiler
> 9.0.However, now I switch to use Intel compiler 10.1.015 (both fc and cc),
> and I can install some module. The installation was failed at "cpptraj"The
> error message as below
> Suggestion please.
> Thank you very much,Xioling
> ===================icpc -c -I/softwares/amber11/include -ip -O3 -axSTPW
> -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -DBINTRAJ -o TrajFile.o TrajFile.cppTrajFile.cpp(399): (col. 3) remark:
> LOOP WAS VECTORIZED.TrajFile.cpp(401): (col. 3) remark: LOOP WAS
> VECTORIZED.TrajFile.cpp(382): (col. 30) remark: _ZN8TrajFile11progressBarEv
> has been targeted for automatic cpu dispatch.TrajFile.cpp(345): (col. 27)
> remark: LOOP WAS VECTORIZED.TrajFile.cpp(345): (col. 27) remark: LOOP WAS
> VECTORIZED.TrajFile.cpp(341): (col. 42) remark: _ZN8TrajFile9NextFrameEPi
> has been targeted for automatic cpu dispatch.icpc -c
> -I/softwares/amber11/include -ip -O3 -axSTPW -DBINTRAJ -DHASGZ -DHASBZ2
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o Frame.o
> Frame.cppFrame.cpp(101): error: function "Frame::ZeroCoords" has already
> been defined void Frame::ZeroCoords() { ^
> Frame.cpp(111): error: function "Frame::AddCoord" has already been defined
> void Frame::AddCoord(Frame *FrameIn) { ^
> Frame.cpp(125): error: function "Frame::Divide" has already been defined
> void Frame::Divide(double divisor) { ^
> Frame.cpp(135): error: function "Frame::ZeroCoords" has already been
> defined void Frame::ZeroCoords() { ^
> Frame.cpp(145): error: function "Frame::AddCoord" has already been defined
> void Frame::AddCoord(Frame *FrameIn) { ^
> Frame.cpp(159): error: function "Frame::Divide" has already been defined
> void Frame::Divide(double divisor) { ^
> compilation aborted for Frame.cpp (code 2)make[2]: *** [Frame.o] Error
> 2make[2]: Leaving directory
> `/softwares/amber11/AmberTools/src/cpptraj/src'make[1]: *** [yes] Error
> 2make[1]: Leaving directory `/softwares/amber11/AmberTools/src/cpptraj'make:
> *** [serial] Error 2
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Jun 14 2011 - 00:00:05 PDT
Custom Search