-
Notifications
You must be signed in to change notification settings - Fork 139
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
Add CMake installation for QMCPACK and NEXUS #1020
Comments
Happy to do the Nexus part, though not sure what is desired in the "make install" context. |
For reference, this is what I do in the Spack package for install. I install all binaries in bin, I copy over the entire Nexus directory, and I "install" the manual. |
For Python, there are usually two options:
|
Thanks Nick. I've generally taken the second option to "install" Nexus. |
Regarding NEXUS perhaps copying to $INSTALL_DIR/nexus/... will suffice. It would be good if qmca would work out of the box. |
(We'll have to discuss who can handle the QMCPACK side. @PDoakORNL ?) |
qmca is fully standalone (no install required). All that is needed is python, numpy, and (optionally) matplotlib. |
I can work on the QMCPACK side, unless @PDoakORNL is already working on it. |
The bin directory contains
|
We may add or remove files over time. So copy bin/* over. |
Should we adopt some sort of standard for the names of the executables? (add qmc_ prefix, or at least have qmc in the name, as in convert4qmc) In the case where someone installs into a common directory (like /usr/local/bin), so the qmcpack-derived executables can be easily identified. |
Good suggestion. At least qmc in the name. These are mentioned but not described in the manual, so a small update will be needed. |
@markdewing are we moving forward with this or are other developments priority at the moment? |
As discussed in QMCPACK#1020, include a 'qmc' in the executable names. Also change getSupercell to lowercase-with-dashes style to be more consistent.
I can get some changes in - rename (#1208) and install should be straightforward. |
A prefix for nexus related utilities needs to be chosen carefully. e.g. nx is NoMachine's technology. |
I'll have to think more about that. |
For the QMCPACK related ones, is this desired?
|
On the Nexus side, is "nxs-" or "nexus-" better for a prefix? Googling seems to point toward "nxs-" as a better route ("nexus-" prefixed executables are associated with Nexus Wallet), though this is also a file extension. |
Should I move the NEXUS part of this to v3.7.0 or is something in the works? |
Looking into it. I think installing the Nexus executables this way (a la #1215) should be straightforward. Less sure if there is a good way to modify the PYTHONPATH environment variable for the user from within CMake to complete the install. |
Based on the request in #1017 , we need to arrange "make install" to work for both QMCPACK and NEXUS. CMake has many options to support this.
I suggest we just focus on the default real cpu build. In later versions we can handle Quantum Espresso, ideally after our converter is in QE, and then complex.
What needs to be installed?
build/bin/*
nexus/executables/*
nexus/library
Although NEXUS is not a python package, there must be some standards to follow.
The text was updated successfully, but these errors were encountered: