X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgmxpre-config.h.cmakein;h=2f840259d01080427afd3a322a9dfdc4b83577cb;hb=c10a038ffc471ca47f65ef844e31b8ba26535344;hp=3317938db01cd94690c6c99d3a8d8afae61c204d;hpb=e8b8107c93c32c1ec4c6b6921ed2f8d46f5b2dc7;p=alexxy%2Fgromacs.git diff --git a/src/gmxpre-config.h.cmakein b/src/gmxpre-config.h.cmakein index 3317938db0..2f840259d0 100644 --- a/src/gmxpre-config.h.cmakein +++ b/src/gmxpre-config.h.cmakein @@ -54,3 +54,14 @@ /* Build special-purpose mdrun library */ #cmakedefine GMX_FAHCORE +/* This is here for simplicity, since the layout for some thread-MPI structs + * declared in headers depend on this being consistently defined. + * But thread-MPI itself does not include gmxpre.h, so the same define is also + * set in config.h (which gets included by thread-MPI, but only in the source + * files). There are some other config.h defines that appear in thread-MPI + * headers, but currently Gromacs does not use any code that would depend on + * those, and for thread-MPI, config.h provides the definitions wherever + * required. */ +/* Define for busy wait option */ +#cmakedefine TMPI_WAIT_FOR_NO_ONE +