[gmx-users] gromacs on SGI with gcc?
David van der Spoel
spoel at xray.bmc.uu.se
Wed Sep 5 16:47:55 CEST 2001
On Wed, 5 Sep 2001 nicolis at guideo.fr wrote:
>
>I try to install gromacs 3.03 on a SGI without the standard SGI cc compiler. Instead I use gcc. The problem is that sqrt is builtin in gcc but configure tries to find it in libm. So configure stops with "No math library" message.
>Is there a workaround?
>Thank you,
>Yiannis Nicolis
It is unlikely that the sqrt is in gcc, but it could be in a library that
comes with gcc. Try to find where these are, and use an environment
variables to change the linking as in :
setenv LDFLAGS "-L/directory -lm"
if directory is your gcc library-directory and libm.a (or libm.so) is the
math library.
Groeten, David.
________________________________________________________________________
Dr. David van der Spoel, Biomedical center, Dept. of Biochemistry
Husargatan 3, Box 576, 75123 Uppsala, Sweden
phone: 46 18 471 4205 fax: 46 18 511 755
spoel at xray.bmc.uu.se spoel at gromacs.org http://zorn.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the gromacs.org_gmx-users
mailing list