Skip to content

Conversation

@loriab
Copy link
Member

@loriab loriab commented Dec 1, 2021

Description

Basic can-get-it-in-psi for Rob Shaw's https://github.com/robashaw/libecpint .

Todos

  • Feature1
  • Feature2

Questions

  • Question1

Checklist

Status

  • Ready for review
  • Ready for merge

@JonathonMisiewicz
Copy link
Contributor

Is this PR just one fragment of what will be needed for Psi to use ecpint, split across multiple PRs for ease of reviewing / diagnosing Windows problems? Otherwise, I'm not sure what the point of this PR is.

@hokru
Copy link
Member

hokru commented Dec 1, 2021

Seems to need the MSVC cmath fix https://github.com/psi4/psi4/blob/master/psi4/CMakeLists.txt#L224

@loriab
Copy link
Member Author

loriab commented Dec 1, 2021

Thanks, @hokru, I've verified that the Windows build works. Then turned off building ecpint by default since it shouldn't have been in the first place.

Right, @JonathonMisiewicz, this is just the buildsys piece. This'll help Andy's #2135

@loriab loriab added this to the Psi4 1.6 milestone Dec 1, 2021
@loriab loriab added build ecpint-needed For ECP issues that won't see much attention into ECPInt comes in. external-interface For issues about interfaces with external programs: ADCC, CheMPS2, GDMA, MRCC... labels Dec 1, 2021
Copy link
Contributor

@PeterKraus PeterKraus left a comment

Choose a reason for hiding this comment

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

A couple minor clarifications that we better address now rather than risking forgetting about them.

# - SPHINX_ROOT "Root directory for Sphinx: 'bin/sphinx-build' (or similar) should be in this dir."
#
# For any ${AddOn} of: ambit, CheMPS2, dkh, libefp, erd, gau2grid, gdma, Libint2, PCMSolver, pybind11, pylibefp,
# For any ${AddOn} of: ambit, CheMPS2, dkh, ecpint, libefp, erd, gau2grid, gdma, Libint2, PCMSolver, pybind11, pylibefp,
Copy link
Contributor

Choose a reason for hiding this comment

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

Confused about the nomenclature here. ecpint as opposed to libecpint, but then there's libefp, libint2...

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, it's largely determined by what ppl define for project(my_Name) in cmake. after that, cmake is highly patterned on that word (including the capitalization). The libecpint project isn't entirely consistent on this, but if I can get away with "ecpint" (and I seem to be able to so far), I think that's preferable. other opinions?

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer libecpint purely because that's the name of the repo. I'm not sure @robashaw has an opinion?

Copy link
Member Author

Choose a reason for hiding this comment

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

he's using ecpint for the find_package name and the namespace
https://github.com/robashaw/libecpint/blob/master/src/CMakeLists.txt#L81-L92 so sticking with that for now. can still be rejiggered after merge if Shaw wants to make a ruling.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is my fault for making a dumb decision early on (back when I didn't understand CMake at all), but yes I think it's safest keeping everything as "ecpint" to be consistent. Also I've seen the PR on libecpint and I'll hopefully get a chance to check and merge it soon.

@loriab loriab mentioned this pull request Dec 2, 2021
13 tasks
@loriab loriab merged commit c1626a1 into psi4:master Dec 2, 2021
@loriab loriab deleted the ecpintcmake branch December 2, 2021 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build ecpint-needed For ECP issues that won't see much attention into ECPInt comes in. external-interface For issues about interfaces with external programs: ADCC, CheMPS2, GDMA, MRCC...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants