Skip to content

namd: enabling support for intel-oneapi-compilers + CXXOPTS, COPTS fix#50656

Merged
tgamblin merged 8 commits intospack:developfrom
teabagk7:namd_oneapi
Jun 3, 2025
Merged

namd: enabling support for intel-oneapi-compilers + CXXOPTS, COPTS fix#50656
tgamblin merged 8 commits intospack:developfrom
teabagk7:namd_oneapi

Conversation

@teabagk7
Copy link
Copy Markdown
Contributor

  1. intel-oneapi-compilers added to optim_opts
  2. Transfer cflags, cxxflags from Spack to COPTS, CXXOPTS.

@spackbot-app spackbot-app bot requested a review from jcphill May 27, 2025 15:52
@teabagk7
Copy link
Copy Markdown
Contributor Author

@spackbot help

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented May 27, 2025

You can interact with me in many ways!

  • @spackbot hello: say hello and get a friendly response back!
  • @spackbot help or @spackbot commands: see this message
  • @spackbot run pipeline or @spackbot re-run pipeline: to request a new run of the GitLab CI pipeline
  • @spackbot rebuild everything: to run a pipeline rebuilding all specs from source.
  • @spackbot fix style if you have write and would like me to run spack style --fix for you.
  • @spackbot maintainers or @spackbot request review: to look for and assign reviewers for the pull request.

I'll also help to label your pull request and assign reviewers!
If you need help or see there might be an issue with me, open an issue here

@teabagk7
Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented May 27, 2025

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented May 27, 2025

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

spack style --fix
==> Running style checks on spack
  selected: import, isort, black, flake8, mypy
==> Modified files
  var/spack/repos/spack_repo/builtin/packages/namd/package.py
==> Running import checks
  import checks were clean
==> Running isort checks
  isort checks were clean
==> Running black checks
reformatted var/spack/repos/spack_repo/builtin/packages/namd/package.py
All done! ✨ 🍰 ✨
1 file reformatted.
  black checks were clean
==> Running flake8 checks
  flake8 checks were clean
==> Running mypy checks
Success: no issues found in 611 source files
  mypy checks were clean
==> spack style 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.

@teabagk7
Copy link
Copy Markdown
Contributor Author

teabagk7 commented Jun 2, 2025

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jun 2, 2025

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jun 2, 2025

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

spack style --fix
==> Running style checks on spack
  selected: import, isort, black, flake8, mypy
==> Modified files
  var/spack/repos/spack_repo/builtin/packages/namd/package.py
==> Running import checks
  import checks were clean
==> Running isort checks
  isort checks were clean
==> Running black checks
reformatted var/spack/repos/spack_repo/builtin/packages/namd/package.py
All done! ✨ 🍰 ✨
1 file reformatted.
  black checks were clean
==> Running flake8 checks
var/spack/repos/spack_repo/builtin/packages/namd/package.py:227: [F523] '...'.format(...) has unused arguments at position(s): 3
var/spack/repos/spack_repo/builtin/packages/namd/package.py:234: [F523] '...'.format(...) has unused arguments at position(s): 2
  flake8 found errors
==> Running mypy checks
Success: no issues found in 611 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.

@teabagk7 teabagk7 requested a review from jcphill June 2, 2025 11:14
@tgamblin tgamblin enabled auto-merge (squash) June 2, 2025 21:00
@tgamblin
Copy link
Copy Markdown
Member

tgamblin commented Jun 2, 2025

I enabled auto-merge -- if all the conversations are resolved, click resolve on them and the PR will squash and merge into Spack.

@tgamblin tgamblin merged commit 76d3bfe into spack:develop Jun 3, 2025
16 checks passed
kshea21 pushed a commit to kshea21/spack that referenced this pull request Jun 18, 2025
spack#50656)

intel-oneapi-compilers added to optim_opts
Transfer cflags, cxxflags from Spack to COPTS, CXXOPTS.

---------

Co-authored-by: teabagk7 <[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.

3 participants