[gmx-developers] Re: [gmx-users] Wasting too much time recompiling
David van der Spoel
spoel at xray.bmc.uu.se
Thu Jul 26 16:29:22 CEST 2007
Tsjerk Wassenaar wrote:
> Hi Lee-Ping,
>
> I think this mail is better off on the developers list.
> As a side note, please get your wording straight. I assume that with
> 'launch mdrun' you mean 'compile mdrun' rather than launching it as a
> program.
> You probably issue "make" in the top-level directory, which goes
> through the whole dependency tree. Since bondfree.c is part of the
> mdrun library (libmd.la), which is amongst the dependencies of all the
> tools, all the tools are updated too. If you only want to recompile
> mdrun, goto the directory src/kernel, or use 'make mdrun', rather than
> 'make'. This will avoid recompilation of the tools (and the rest of
> the programs).
>
> Hope it helps,
>
> Tsjerk
>
> On 7/26/07, Lee-Ping <leeping at mit.edu> wrote:
>> Hi there,
>>
>> I'm editing the bondfree.c source code in gromacs. The problem is, every
>> time I launch mdrun to see what my program does, it recompiles not only
>> bondfree.c, but every single tool in the src/tools directory! It
>> seems like
>> an unnecessary waste of time to recompile all of these tools, when
>> mdrun is
>> the only program I'm launching.
>>
>> I'm using the Eclipse SDK with the C++ development tool, if that helps at
>> all.
Brrr.
You want to go to the top of the source tree and type
make install-mdrun
>>
>> Thanks in advance,
>>
>> - Lee-Ping
>>
>> _______________________________________________
>> gmx-users mailing list gmx-users at gromacs.org
>> http://www.gromacs.org/mailman/listinfo/gmx-users
>> Please search the archive at http://www.gromacs.org/search before
>> posting!
>> Please don't post (un)subscribe requests to the list. Use the
>> www interface or send it to gmx-users-request at gromacs.org.
>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>>
>
>
--
David van der Spoel, Ph.D.
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