[gmx-developers] Makefile for template.c

David van der Spoel spoel at xray.bmc.uu.se
Mon Sep 29 19:04:01 CEST 2008

Berk Hess wrote:
> David van der Spoel wrote:
>> Carsten Kutzner wrote:
>>> Hi,
>>> I have seen a small inconsistency with the template project. If
>>> I "make install" gromacs 4.0 rc2 and then want to do a
>>> make -f Makefile.x86_64-unknown-linux-gnu to build the template,
>>> I get lots of errors. The reason is a wrong include path in the
>>> CFLAGS variable: it points to
>>> /path/where/gmx40/is/installed/include/
>>> but the header files are actually in a subdirectory include/gromacs.
>>> So CFLAGS needs to point to
>>> /path/where/gmx40/is/installed/include/gromacs/
>>> Probably something needs to be changed in the build process of the
>>> makefile then.
>>> Carsten
>> I am about to fork off the contrib directory, and maybe the template 
>> should move there. That will incorporate a separate configure step etc.
> I think it is ok where it is now.
> template.c should be in the distribution.
OK, why don't we put it in the src/tools directory then? Many people may 
not even find it.

The advantage with having it in contrib is that you can meddle with all 
the code without breaking the normal gromacs tools. The only 
disadvantage is that one would have to download another tarball.

David van der Spoel, Ph.D., Professor of Biology
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205. Fax: +4618511755.
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se

More information about the gromacs.org_gmx-developers mailing list