[gmx-developers] Link to system BLAS and LAPACK
David van der Spoel
spoel at xray.bmc.uu.se
Wed Apr 20 13:12:40 CEST 2005
On Wed, 2005-04-20 at 18:56 +0800, Yang Ye wrote:
> Hi,
>
> When I was compiling CVS code on Alpha Linux, I found that the lapack code
> included in Gromacs was not compiled properly (with some constants in
> ssterf.c, safmin and safmax). I found the configure flag --with-system-blas
> and --with-system-lapack, but setting them did not work:
>
> In the Makefile,
>
> GMX_SYSTEM_BLAS_FALSE =
> GMX_SYSTEM_BLAS_TRUE = #
>
> does NOT change between NOT setting --with and setting --with.
>
> First question: Is this --with working now?
>
> Second, Alpha has a Math library, CXML, which contains LAPACK and BLAS
> implementations. According to the manual, I shall do compiling as
>
> cc -migrate program.c /usr/lib/libdxml.a -lfor -lm
>
> Can I do this when linking gmxlib? Thanks.
you want to set in your environment
setenv LDFLAGS "-lcxml"
then
configure --with-system-blas --with-system-lapack
>
> Yang Ye
>
>
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
--
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596, 75124 Uppsala, Sweden
phone: 46 18 471 4205 fax: 46 18 511 755
spoel at xray.bmc.uu.se spoel at gromacs.org http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the gromacs.org_gmx-developers
mailing list