[gmx-developers] innerc.c -- The Miracle of Birth
Axel Kohlmeyer
akohlmey at cmm.chem.upenn.edu
Wed May 24 20:52:25 CEST 2006
On 5/24/06, D. Ensign <densign at stanford.edu> wrote:
> > But anyhow, you can overwrite the innerloop .c file with your own
> > .c file.
> > The only issue is that any time the Makefile thinks that
> > the innerloop source needs to be updated your file is overwritten
> > and you will need to overwrite it again.
> > So edit a seperate copy with a different name.
>
> So in other words, I have to fool around with the Makefile.
but this is easy to do.
just replace:
# The inner loops are made with our program and not included in the dist.
innerf.f: mkinl
./mkinl fortran
innerc.c: mkinl
./mkinl c
with something like:
# inner loop is provided by a custom file.
innerc.c: mkinl
cp saved_innerc.c innerc.c
and it should work. just remember the typical makefile
quirkyness when it comes to whitespace, i.e. that you have
to put TABs in front of the cp and not spaces.
regards,
axel.
>
> Dan Ensign
> Stanford University
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
>
--
=======================================================================
Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu http://www.cmm.upenn.edu
Center for Molecular Modeling -- University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.
More information about the gromacs.org_gmx-developers
mailing list