-
Notifications
You must be signed in to change notification settings - Fork 436
EAMxx: Update Dev Docs #7163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EAMxx: Update Dev Docs #7163
Conversation
|
############################################################################### | ||
``` | ||
|
||
#### Selected Useful Testing Options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like I want this to be a bigger header so it doesn't get lost, my reaction was to ignore it since I wasn't running locally... Maybe that means adjusting the wording in L57 as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call--moved it upward and like it better!
by modifying: environment variables, `PATH` or `[LD_]LIBRARY_PATH` | ||
entries, configuration arguments, and compiler arguments as required. | ||
As long as you do ***all of that*** perfectly, you should be just fine. | ||
:sunglasses: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't render 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add the emoji specs to the mkdocs.yaml in root
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not only in components/eamxx/mkdocs.yml
(Also note the yaml vs yml 🤷)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, and thanks for the tip! I hadn't noticed since I'd only been building from the EAMxx-root mkdocs.yml
🙄
- Hence, the final `configure [...]` command (calling autoconf) is run | ||
one directory above the directory in which it resides. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that ${TPL_ROOT}/<lib-name>/
then? or are you saying from the library's build dir, run ../configure
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes. I reworded in an attempt to clarify--let me know if it reads more clearly!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks!!!
If you want 😎 to render, you've got to add the emoji lines to the root mkdocs.yaml file, but maybe you're extra cool and wanted the :sunglasses:
only? 😉
(mostly) more information is better than less. | ||
|
||
```{.shell .copy title="${eamxx_root}/scripts/machine_specs.py:[L58-L88]"} | ||
from machines_specs import Machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import line belongs only in scream_mach_specs.py
, not in the machine_specs.py
file.
concrete = True | ||
@classmethod | ||
def setup(cls): | ||
super().setup_base("local") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be useful to remind that the name HAS to be "local", since test-all-eamxx -l
looks for a machine called local
.
Got the changes in--let me know if you'd like to see any further changes. Otherwise, I'll squash that final "PR comments" commit and then should be good to go! |
address linter error respond to PR comments
a14f563
to
af658cf
Compare
@mjschmidt271 are you planning more work or should I integrate? |
@bartgol I'm all set--go right ahead! |
Adds TPLs page to Developer Guide and reorganizes Dev Quick-start. [BFB]
Adds TPLs page to Developer Guide and reorganizes Dev Quick-start.
[BFB]
This PR adds a page to the Developer Guide that describes the TPLs that are required for building and running EAMxx on a non-supported machine. It also provides some high-level instructions for what may be required to configure and install/build these TPLs.
Additionally, this PR reorganizes the Developer Quick-start Guide to first present information about target machines, before describing the build and test process.