Re: [AMBER-Developers] CMake in Amber

From: Scott Le Grand <varelse2005.gmail.com>
Date: Mon, 5 Apr 2021 10:20:28 -0700

Oops, my failing AARP cataracted corneal crapified eyes strike again, but I
can still code like Billy Joel can still play piano so all is good.

On Mon, Apr 5, 2021 at 10:17 AM Adrian Roitberg <roitberg.ufl.edu> wrote:

> Yes, David wrote in his email:
>
> "p.s. the links above are printed out at the very beginning of every CMake
> run. See also Section 2.2 of the Amber Reference Manual."
>
> Adrian
>
>
> On 4/5/21 1:13 PM, Scott Le Grand wrote:
> > [External Email]
> >
> > Maybe print out the link to the wiki during cmake?
> >
> > On Mon, Apr 5, 2021 at 9:50 AM David A Case <david.case.rutgers.edu>
> wrote:
> >
> >> On Mon, Apr 05, 2021, Adrian Roitberg wrote:
> >>
> >>> What would be really good to have is something like the old configure
> -h
> >>> or --help, but for Cmake, so one can have a simple list of options for
> >>> building some things but not others, etc.
> >> We are using the wiki rather than a --help option for this purpose. Two
> >> pages are good starting points:
> >>
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__ambermd.org_pmwiki_pmwiki.php_Main_CMake-2DQuick-2DStart&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=Hy8rovsFvIKmrfvIcSCBkQWyB4BnnM4NkLkrYJMfk8w&e=
> >>
> >> is a good overview. It has an FAQ with answers to questions such as
> >> "How can I build only one specific program?" or "I want to see what
> >> commands
> >> make is actually executing!"
> >>
> >> Also very helpful is this one:
> >>
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__ambermd.org_pmwiki_pmwiki.php_Main_CMake-2DCommon-2DOptions&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=z9qXCLM0idv4EG9e8ly2GzBrW1nzinOSFCiw5X1xAgg&e=
> >>
> >> This shows you how to ask for the most common changes, such as how to
> skip
> >> certain builds, change what libraries are used, change compiler flags,
> etc.
> >>
> >> If you look at the table of contents at the left of any of these pages,
> you
> >> will see several other CMake related pages.
> >>
> >> For everyone: please note that these are wiki pages! If there is
> something
> >> that is unclear, or is missing, please edit things to make them better.
> >>
> >> ...hope this helps....dac
> >>
> >> p.s. the links above are printed out at the very beginning of every
> CMake
> >> run. See also Section 2.2 of the Amber Reference Manual.
> >>
> >> p.p.s. Note that the current output of configure --help is 54 lines
> long,
> >> and that of configure --full-help (which is needed to get help for any
> but
> >> the most elementary subjects) is 154 lines. Also note that things like
> >> compiler info in the help output are 4-5 years out of date, and other
> >> pieces
> >> of information in the current help output are also wrong or misleading.
> >> So,
> >> in my view, using a wiki is a better way to make things easy to read,
> and
> >> to keep them up to date.
> >>
> >> Finally, the current configure help doesn't even try to answer Adrian's
> >> question about "building some things but not others". The answer for
> the
> >> legacy configure system is this "find the relevant Makefile, and edit
> it."
> >> For CMake, you add an option to your run_cmake script.
> >>
> >> _______________________________________________
> >> AMBER-Developers mailing list
> >> AMBER-Developers.ambermd.org
> >>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ambermd.org_mailman_listinfo_amber-2Ddevelopers&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=xs-r6vwoK9VsKK-ieReMmGdGZYwV9I8VKbTkPj4Xrz4&e=
> >>
> > _______________________________________________
> > AMBER-Developers mailing list
> > AMBER-Developers.ambermd.org
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ambermd.org_mailman_listinfo_amber-2Ddevelopers&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=dl7Zd5Rzbdvo14I2ndQf4w&m=sft1OHe_xX-GDM4uHPVPEHsvLe7e2Lq8-nbjtfnJ0WU&s=xs-r6vwoK9VsKK-ieReMmGdGZYwV9I8VKbTkPj4Xrz4&e=
>
> --
> Dr. Adrian E. Roitberg
> V.T. and Louise Jackson Professor in Chemistry
> Department of Chemistry
> University of Florida
> roitberg.ufl.edu
> 352-392-6972
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Apr 05 2021 - 10:30:02 PDT
Custom Search