Skip to content

Add amg2023 package, remove amg package#39105

Merged
scheibelp merged 5 commits intodevelopfrom
packages/amg2023
Aug 23, 2023
Merged

Add amg2023 package, remove amg package#39105
scheibelp merged 5 commits intodevelopfrom
packages/amg2023

Conversation

@becker33
Copy link
Copy Markdown
Member

Add amg2023 package

Consolidate existing amg and amg2013 packages (they reference the same code) under the amg2013 name to minimize confusion between amg2023 and amg2013.

@spackbot-app

This comment was marked as off-topic.

becker33 and others added 2 commits July 26, 2023 16:34
Co-authored-by: Riyaz Haque <[email protected]>
replace outdated amg2013 package with the current code from the amg package
rename the combined package to amg2013 to avoid confusion with amg2023
rename all (1) dependency
@becker33
Copy link
Copy Markdown
Member Author

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jul 26, 2023

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jul 26, 2023

I was able to run spack style --fix for you!

spack style --fix
==> Running style checks on spack
  selected: isort, black, flake8, mypy
==> Modified files
  var/spack/repos/builtin/packages/amg2013/package.py
  var/spack/repos/builtin/packages/amg2023/package.py
  var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
==> Running isort checks
  isort checks were clean
==> Running black checks
reformatted var/spack/repos/builtin/packages/amg2023/package.py
All done! ✨ 🍰 ✨
1 file reformatted, 2 files left unchanged.
  black checks were clean
==> Running flake8 checks
var/spack/repos/builtin/packages/amg2023/package.py:59: [W605] invalid escape sequence '\s'
  flake8 found errors
==> Running mypy checks
Success: no issues found in 578 source files
  mypy checks were clean
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I've updated the branch with style fixes.

@becker33
Copy link
Copy Markdown
Member Author

@ulrikeyang would you want to be the maintainer for this in the long term (after we get it working and into CI) or would you want someone else to manage changes to the Spack package for this?

@tldahlgren tldahlgren changed the title Add amg2023 package Add amg2023 package, remove amg package Jul 27, 2023
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed the homepage, branch existence, and version tags though have questions about the branch naming scheme.

sha256="b03771d84a04e3dbbbe32ba5648cd7b789e5853b938dd501e17d23d43f13c50f",
url="https://computing.llnl.gov/projects/co-design/download/amg2013.tgz",
)
version("develop", branch="master")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we prefer the version name to match the branch name given the comparison fix some time ago.

an installation of hypre-2.27.0 or higher.
"""

tags = ["benchmark"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So no longer a proxy-app even though the description is the same?

homepage = "https://github.com/LLNL/AMG2023"
git = "https://github.com/LLNL/AMG2023.git"

version("develop", branch="main")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question here about the version-branch mismatch.

@tldahlgren
Copy link
Copy Markdown
Contributor

Would like to hear from @rspavel about the ecp-proxy-apps now depending on amg2013.

@tldahlgren tldahlgren self-assigned this Jul 27, 2023
junghans
junghans previously approved these changes Aug 21, 2023
@junghans
Copy link
Copy Markdown
Contributor

@tldahlgren @rspavel left @lanl, so we should drop him as maintainer of the proxy packages.

Copy link
Copy Markdown
Member

@scheibelp scheibelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reapproving after minor copyright change

@scheibelp scheibelp enabled auto-merge (squash) August 23, 2023 22:57
@scheibelp scheibelp merged commit 53d2ffa into develop Aug 23, 2023
@scheibelp scheibelp deleted the packages/amg2023 branch August 23, 2023 23:48
mpokorny pushed a commit to mpokorny/spack that referenced this pull request Sep 18, 2023
Add amg2023 package

Consolidate existing amg and amg2013 packages (they reference the
same code) under the amg2013 name to minimize confusion between
amg2023 and amg2013.

Co-authored-by: Riyaz Haque <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants