[gmx-users] Compiling GROMACS

James O'Dell jodell at ad.brown.edu
Wed Mar 12 20:00:12 CET 2003


Thanks for the info. I'll give it a try.

Jim

On Tue, 2003-03-11 at 18:35, Erik Lindahl wrote:
> On Tuesday, Mar 11, 2003, at 13:39 US/Pacific, James O'Dell wrote:
> 
> > What is the recommended way to configure GROMACS so that I can compile
> > it with minimal optimization and with symbols, i.i. -g -O2.
> >
> > I was looking for a configure option but I don't seem to see it.
> >
> > I'm trying to9 debug a nasty crash.
> >
> 
> Hi Jim,
> 
> "-g -O2" are reasonable options. You can select them in two ways:
> 
> 1. Set the environment variable CFLAGS to "-g -O2" before running the 
> configure script. If you have already built Gromacs you should issue a 
> "make distclean" first (before rerunning configure).
> 
> or
> 
> 2. Run "make clean" if you already built gromacs. Then issue the 
> command:  make CFLAGS="-g -O2".
> 
> 
> Cheers,
> 
> Erik
> 
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.



More information about the gromacs.org_gmx-users mailing list