Skip to content

Commit

Permalink
psi4: fix chemps2 cmake, update libint commit, reenable adcc
Browse files Browse the repository at this point in the history
psi4: reset libint commit
  • Loading branch information
sheepforce committed Aug 3, 2023
1 parent 10e3ca3 commit 2adea6b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/apps/psi4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
, pkg-config
, writeTextFile
, cmake
, ninja
, perl
, gfortran
, python
Expand Down Expand Up @@ -61,6 +60,11 @@ let
cmake -Bbuild ${toString specialInstallCmakeFlags}
cd build
'';

postFixup = ''
substituteInPlace $out/share/cmake/CheMPS2/CheMPS2Config.cmake \
--replace "1.14.1-2" "1.14.1"
'';
});

dkh_ = dkh.overrideAttrs (oldAttrs: rec {
Expand Down Expand Up @@ -230,10 +234,11 @@ buildPythonPackage rec {
"-DENABLE_libefp=ON"
# CheMPS2
"-DENABLE_CheMPS2=ON"
# Prefix path for all external packages
"-DCMAKE_PREFIX_PATH=\"${gau2grid};${libxc};${qcelemental};${pcmsolver_};${dkh_};${libefp};${chemps2_};${libecpint};${cppe}\""
"-DCheMPS2_DIR=${chemps2_}"
# ADCC
#"-DENABLE_adcc=ON"
"-DENABLE_adcc=ON"
# Prefix path for all external packages
"-DCMAKE_PREFIX_PATH=\"${gau2grid};${libxc};${qcelemental};${pcmsolver_};${dkh_};${libefp};${chemps2_};${libecpint};${cppe};${adcc}\""
];

format = "other";
Expand Down

0 comments on commit 2adea6b

Please sign in to comment.