Skip to content

Commit

Permalink
Merge pull request #193 from markuskowa/ups-molcas
Browse files Browse the repository at this point in the history
molcas: use upstream version
  • Loading branch information
markuskowa authored May 16, 2022
2 parents 175598e + 4b0f816 commit f3d6d28
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 185 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,23 @@ let
gfortran = final.gfortran9;
};

molcas = callPackage ./pkgs/apps/openmolcas/default.nix {
stdenv = aggressiveStdenv;
blas = final.blas-ilp64;
};
molcas = let
molcasOpt = prev.openmolcas.override {
stdenv = aggressiveStdenv;
hdf5-cpp = self.hdf5-full;
};
in molcasOpt.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [ self.chemps2 ];
cmakeFlags = oldAttrs.cmakeFlags ++ [
"-DWFA=ON"
"-DCHEMPS2=ON" "-DCHEMPS2_DIR=${self.chemps2}/bin"
];
prePatch = ''
rm -r External/libwfa
cp -r ${self.libwfa.src} External/libwfa
chmod -R u+w External/
'';
});

moltemplate = super.python3.pkgs.toPythonApplication self.python3.pkgs.moltemplate;

Expand Down
24 changes: 0 additions & 24 deletions pkgs/apps/openmolcas/MKL-MPICH.patch

This file was deleted.

154 changes: 0 additions & 154 deletions pkgs/apps/openmolcas/default.nix

This file was deleted.

0 comments on commit f3d6d28

Please sign in to comment.