[gmx-developers] energy calculation (fwd)

David van der Spoel spoel at xray.bmc.uu.se
Tue Mar 12 14:38:05 CET 2002

On Tue, 12 Mar 2002, Vibin R wrote:

>  This mail is a continuation of earlier responses. The earlier mails are 
>also enclosed.
>	I am unable to locate the <arch> thing. There is a directory
>by the name gmxlib, but not really a file that can be included. When I try
>to include that directory, there is an error message like, cannot find
>-lgmxlib. there is an i686-pc-linux-gnu directory in the gromacs directory.
> This does have a directory by the name lib. But there is no file by the
>name gmxlib. And so the compiler is unable to locate the same. 
>Could you spread some light on the matter as to what probably could be
>missing here. Sir, I really need this routine working for successful
>working and testing of my algorithms. Hope it can be done. 

File should be called libgmx.a

You link to it by adding
-Lpath -lgmx

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-developers mailing list