Re: [AMBER] Compile Python error

From: Jason Swails <jason.swails.gmail.com>
Date: Tue, 14 Jun 2011 08:04:18 -0600

Try adding -lsvml to the end of the LDFLAGS line in your config.h file.

HTH,
Jason

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

>
> Dear Jason,
>
> I followed as your suggestion. However, the installation failed at further
> step (see message below).
> Any suggestion please.
>
> Thank you very much.
> Xioling
>
>
> ========
> ...
> ranlib libXtal.a
> mv libXtal.a /softwares/amber11/lib
> make[1]: Leaving directory
> `/softwares/amber11/AmberTools/src/xtalutil/Clibs'
> (cd xtalutil/CPrograms/ && make install )
> make[1]: Entering directory
> `/softwares/amber11/AmberTools/src/xtalutil/CPrograms'
> icc -c -ip -O3 -axSTPW -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -DBINTRAJ -o AddToBox.o AddToBox.c -I../Clibs/
> AddToBox.c(122): (col. 3) remark: BLOCK WAS VECTORIZED.
> AddToBox.c(275): (col. 3) remark: LOOP WAS VECTORIZED.
> AddToBox.c(75): (col. 1) remark: main has been targeted for automatic cpu
> dispatch.
> AddToBox.c(56): (col. 4) remark: LOOP WAS VECTORIZED.
> AddToBox.c(45): (col. 1) remark: RunBGrid has been targeted for automatic
> cpu dispatch.
> AddToBox.c(20): (col. 1) remark: PFrac has been targeted for automatic cpu
> dispatch.
> icc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o AddToBox
> AddToBox.o /softwares/amber11/lib/libXtal.a -lm
> /softwares/amber11/lib/libXtal.a(crdmanip.o)(.text+0x840): In function
> `ReImage.J':
> : undefined reference to `__svml_floor2_mask'
> /softwares/amber11/lib/libXtal.a(crdmanip.o)(.text+0x878): In function
> `ReImage.J':
> : undefined reference to `__svml_ceil2_mask'
> /softwares/amber11/lib/libXtal.a(crdmanip.o)(.text+0x8ba): In function
> `ReImage.J':
> : undefined reference to `__svml_floor2'
> /softwares/amber11/lib/libXtal.a(crdmanip.o)(.text+0x8e3): In function
> `ReImage.J':
> : undefined reference to `__svml_ceil2'
> make[1]: *** [AddToBox] Error 1
> make[1]: Leaving directory
> `/softwares/amber11/AmberTools/src/xtalutil/CPrograms'
> make: *** [serial] Error 2
>
>
> >
> > 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
>
> _______________________________________________
> 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 - 07:30:03 PDT
Custom Search