Skip to content

Conversation

@zachcran
Copy link
Collaborator

@zachcran zachcran commented Oct 7, 2025

Description

Python bindings are not currently working properly with Spack packaging. This PR works on solving that issue.

TODOs

  • Figure out how to propagate +python flag correctly down the stack, since nwchemex-tensorwrapper+python was depending on nwchemex-parallelzone~python for some reason.
    • This may be resolved with a lot of manual dependencies, like depends_on("nwchemex-parallelzone+python", when="+python").
  • Ensure bindings and unit tests are working all the way up the stack.
    • ParallelZone
    • PluginPlay
    • TensorWrapper
    • Chemist
    • SimDE
    • Integrals
    • SCF
    • ChemCache
    • FriendZone
    • NUX
    • NWChemEx

- NWX_MODULE_DIRECTORY is set correctly for all NWChemExBasePybindings-based packages
- ParallelZone and PluginPlay bindings appear to be working
- TensorWrapper and above are in-progress
- The value of NWX_MODULE_DIRECTORY needs to be generalized to any Python version. It currently only works for Python 3.13.
Comment on lines 77 to 82
args.append(
self.define(
"FETCHCONTENT_SOURCE_DIR_NWX_CMAKE",
"/home/zachcran/workspaces/nwchemex/repos_dev/nwxcmake",
)
)
Copy link
Member

@jwaldrop107 jwaldrop107 Oct 8, 2025

Choose a reason for hiding this comment

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

This'll need to be removed. This comment is to increase visibility, since it's already called out in the comment above it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants