[gmx-users] Re: Compiling problem

Erik Lindahl lindahl at stanford.edu
Thu Apr 4 19:13:32 CEST 2002


Gustavo Henrique Neves Moreira wrote:

>Dear Erik Lindahl,
>
>  Thanks for your help, I solved my problem using the flag "setenv CFLAGS
>"-g""!!!
>
>  Best wishes,
>
>  Gustavo.
>
Aha. Smart - but you don't want to compile all of gromacs without 
optimization, so I'd suggest either

1) Use it for now, and update to 3.1.3 when it's out
2) Compile with normal flags, but when it fails for e.g. file.c, go to 
that directory and type

    make file.lo CFLAGS="-g"

    And then continue with just 'make'. This way you only use the -g 
flag where it's necessary!


Cheers,

Erik





More information about the gromacs.org_gmx-users mailing list