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

Add DFTB+ as variant #99

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add DFTB+ as variant #99

wants to merge 4 commits into from

Conversation

fangohr
Copy link
Owner

@fangohr fangohr commented Oct 27, 2023

Addresses: #98

without MPI (input from Franco)

without MPI (input from Franco)
@fangohr fangohr requested a review from iamashwin99 October 27, 2023 09:45
@iamashwin99
Copy link
Collaborator

iamashwin99 commented Oct 27, 2023

the upstream dftb+ doesnt compile, should we not wait for that to be fixed before setting it here?

Co-authored-by: Ashwin Kumar Karnad <[email protected]>
@fangohr
Copy link
Owner Author

fangohr commented Oct 27, 2023

Thanks, Ashwin. Why do we choose ~openmp?

spack info dftbplus:

...

Variants:
    Name [Default]             When    Allowed values    Description
    =======================    ====    ==============    ===================================================================================================

    arpack [off]               --      on, off           Use ARPACK for excited state DFTB functionality
    build_system [makefile]    --      makefile          Build systems supported by the package
    dftd3 [off]                --      on, off           Use DftD3 dispersion library (if you need this dispersion model)
    elsi [off]                 --      on, off           Use the ELSI library for large scale systems. Only has any effect if you build with '+mpi'
    gpu [off]                  --      on, off           Use the MAGMA library for GPU accelerated computation
    mpi [on]                   --      on, off           Build an MPI-paralelised version of the code.
    sockets [off]              --      on, off           Whether the socket library (external control) should be linked
    transport [off]            --      on, off           Whether transport via libNEGF should be included. Only affects parallel build. (serial version is
...
(might get a failure, see Ashwin's earlier comment)
@fangohr
Copy link
Owner Author

fangohr commented Oct 27, 2023

the upstream dftb+ doesnt compile, should we not wait for that to be fixed before setting it here?

Ah - I wasn't aware of that. Is there a MR (upstream in spack) to fix dftb+? (With my latest commit we should see the build failing: that would be my other question: what is the problem with dftb+ building in spack.)

@iamashwin99
Copy link
Collaborator

the upstream dftb+ doesnt compile, should we not wait for that to be fixed before setting it here?

Ah - I wasn't aware of that. Is there a MR (upstream in spack) to fix dftb+? (With my latest commit we should see the build failing: that would be my other question: what is the problem with dftb+ building in spack.)

spack/spack#23086
spack/spack#39608

@fangohr
Copy link
Owner Author

fangohr commented Oct 28, 2023

Okay, let's put this on hold until the DFTB+ changes are merged upstream (either spack/spack#23086 would be good spack/spack#39608). The one from Ashwin would probably be 'better' for us as these changes are already in our local MPSD-spack fork, and the buildbot uses them.

@lang-m
Copy link
Collaborator

lang-m commented Nov 20, 2024

@fangohr Should we maybe just close this and add DFTB+ support once we have finished the transition to CMake?

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