[gmx-developers] Makefile for template.c

Berk Hess hessb at mpip-mainz.mpg.de
Mon Sep 29 16:49:20 CEST 2008


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.

Berk




More information about the gromacs.org_gmx-developers mailing list