Skip to content
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

Build ppconvert executable when configured #2904

Merged
merged 4 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/additional_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,9 @@ wavefunctions suitable for qmcpack calculations with spin-orbit coupling.
ppconvert
~~~~~~~~~

``ppconvert`` is a utility to convert PPs between different commonly used formats.
It is a stand-alone C++ executable that is not built by default but that is accessible via adding
``-DBUILD_PPCONVERT=1`` to CMake and then typing ``make ppconvert``.
``ppconvert`` is a utility to convert PPs between different commonly used formats. As with all operations on pseudopotentials, great care should be exercised when using this tool.
It is a stand-alone executable that is not built by default but that is accessible via adding
``-DBUILD_PPCONVERT=1`` to CMake.
Currently it converts CASINO, FHI, UPF (generated by OPIUM), BFD, and GAMESS formats to several other formats
including XML (QMCPACK) and UPF (QE). See all the formats via ``ppconvert -h``.
For output formats requiring Kleinman-Bylander projectors, the atom will be solved with DFT
Expand Down
3 changes: 2 additions & 1 deletion src/QMCTools/ppconvert/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
add_executable(ppconvert EXCLUDE_FROM_ALL "")
#add_executable(ppconvert EXCLUDE_FROM_ALL "") # Requires "make ppconvert" to generate executable
add_executable(ppconvert) # Build ppconvert with standard make invocation

add_subdirectory(common)

Expand Down