[gmx-users] Using flags to debug gromacs
mark.j.abraham at gmail.com
Wed Sep 28 15:56:13 CEST 2016
The debug build type works perfectly for this case in the way you've done
it, and it works with DDT. You need to make sure you point DDT at the
correct binary from the build.
On Tue, Sep 27, 2016 at 9:31 PM Marcela Madrid <mmadrid at psc.edu> wrote:
> I would like to know how to pass debugging flags when I build gromacs
> so that I can see the variables that are been passed when the run gets
> by using a debugger such as DDT. Can one use DDT with gromacs?
> I tried in the build directory:
> cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_FFT_LIBRARY=fftw3 \
> -DREGRESSIONTEST_DOWNLOAD=ON -DGMX_MPI=on \
> -DCMAKE_BUILD_TYPE=Debug \
> This does not seem to pass any variables to the compilers.
> I also tried
> export CFLAGS="-g -traceback"
> export CXXFLAGS="-g -traceback"
> but also I do not see that flags are been passed. Can someone tell me how
> to add the flags
> for debugging?
> Thank you very much, Marcela
> Gromacs Users mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users