-
Notifications
You must be signed in to change notification settings - Fork 16
XTB updates #250
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
Merged
Merged
XTB updates #250
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b6f6454
toml-f: init at 0.3.1
sheepforce 38b860d
mctc-lib: 0.3.0 -> 0.3.1
sheepforce ff2a859
mstore: init at 0.2.0
sheepforce 8e54e00
dftd4: init at 3.5.0
sheepforce a1a3485
multicharge: init at 0.2.0
sheepforce 9a2593b
simple-dftd3: init at 0.7.0
sheepforce 22d9d1c
tblite: init at 0.3.0
sheepforce 2798e01
xtb: 6.5.1 -> 6.6.0
sheepforce 1de30d3
xtb: include patch for Hessian calculation
sheepforce 1c883c9
xtb-python: 20.2 -> 22.1
sheepforce 9b7f5b5
tblite: build python bindings
sheepforce cc98ff0
fypp: init at 3.1
sheepforce 9ceceb2
mpifx: init at 1.3.1
sheepforce cd04bbf
scalapackfx: init at 1.1
sheepforce 195d856
dftbplus: init at 22.2
sheepforce b6c3b9f
pysisyphus: 0.7.6post3 -> 0.8.0a0, remove --acc flag from xtb
sheepforce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| { buildPythonPackage | ||
| , lib | ||
| , gfortran | ||
| , fetchFromGitHub | ||
| , cmake | ||
| , blas | ||
| , lapack | ||
| , mpi | ||
| , scalapack | ||
| , test-drive | ||
| , mctc-lib | ||
| , mstore | ||
| , toml-f | ||
| , tblite | ||
| , mpifx | ||
| , scalapackfx | ||
| , simple-dftd3 | ||
| , multicharge | ||
| , dftd4 | ||
| , numpy | ||
| }: | ||
|
|
||
| assert !blas.isILP64 && !lapack.isILP64; | ||
|
|
||
| buildPythonPackage rec { | ||
| pname = "dftbplus"; | ||
| version = "22.2"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "dftbplus"; | ||
| repo = pname; | ||
| rev = version; | ||
| hash = "sha256-bADKCee5vBH3aIhuo0Ce/GrZ//nd8j4AcWDSWYoLRY4="; | ||
| }; | ||
|
|
||
| postPatch = '' | ||
| patchShebangs . | ||
|
|
||
| substituteInPlace tools/dptools/CMakeLists.txt \ | ||
| --replace '$DESTDIR/' "" | ||
| ''; | ||
|
|
||
| nativeBuildInputs = [ | ||
| gfortran | ||
| cmake | ||
| ]; | ||
|
|
||
| buildInputs = [ | ||
| blas | ||
| lapack | ||
| scalapack | ||
| test-drive | ||
| mctc-lib | ||
| mstore | ||
| toml-f | ||
| tblite | ||
| mpifx | ||
| scalapackfx | ||
| simple-dftd3 | ||
| multicharge | ||
| dftd4 | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ numpy ]; | ||
|
|
||
| format = "other"; | ||
|
|
||
| cmakeFlags = [ | ||
| "-DWITH_API=ON" | ||
| "-DWITH_OMP=ON" | ||
| "-DWITH_MPI=ON" | ||
| "-DWITH_TBLITE=ON" | ||
| "-DWITH=SDFTD3=ON" | ||
| "-DWITH_PYTHON=ON" | ||
| "-DSCALAPACK_LIBRARY=${scalapack}/lib/libscalapack.so" | ||
| ]; | ||
|
|
||
| pythonImportsCheck = [ "dptools" ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "DFTB+ general package for performing fast atomistic simulations"; | ||
| homepage = "https://github.com/dftbplus/dftbplus"; | ||
| license = with licenses; [ gpl3Plus lgpl3Plus ]; | ||
| platforms = platforms.linux; | ||
| maintainers = [ maintainers.sheepforce ]; | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { lib, stdenv, fetchFromGitHub, buildPythonApplication }: | ||
|
|
||
| buildPythonApplication rec { | ||
| pname = "fypp"; | ||
| version = "3.1"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "aradi"; | ||
| repo = pname; | ||
| rev = version; | ||
| hash = "sha256-iog5Gdcd1F230Nl4JDrKoyYr8JualVgNZQzHLzd4xe8="; | ||
| }; | ||
|
|
||
| meta = with lib; { | ||
| description = " Python powered Fortran preprocessor "; | ||
| homepage = "https://github.com/gator-program/gator"; | ||
| license = licenses.gpl3Only; | ||
| maintainers = [ maintainers.markuskowa ]; | ||
| }; | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { stdenv | ||
| , lib | ||
| , fetchFromGitHub | ||
| , cmake | ||
| , gfortran | ||
| , blas | ||
| , lapack | ||
| , mctc-lib | ||
| , mstore | ||
| , multicharge | ||
| }: | ||
|
|
||
| assert !blas.isILP64 && !lapack.isILP64; | ||
|
|
||
|
sheepforce marked this conversation as resolved.
Outdated
|
||
| stdenv.mkDerivation rec { | ||
| pname = "dftd4"; | ||
| version = "3.5.0"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "dftd4"; | ||
| repo = pname; | ||
| rev = "v${version}"; | ||
| hash = "sha256-ZCoFbjTNQD7slq5sKwPRPkrHSHofsxU9C9h/bF5jmZI="; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ cmake gfortran ]; | ||
|
|
||
| buildInputs = [ blas lapack mctc-lib mstore multicharge ]; | ||
|
|
||
| postInstall = '' | ||
| substituteInPlace $out/lib/pkgconfig/${pname}.pc \ | ||
| --replace "''${prefix}" "" | ||
| ''; | ||
|
|
||
| doCheck = true; | ||
| preCheck = '' | ||
| export OMP_NUM_THREADS=2 | ||
| ''; | ||
|
|
||
| meta = with lib; { | ||
| description = "Generally Applicable Atomic-Charge Dependent London Dispersion Correction"; | ||
| license = with licenses; [ lgpl3Plus gpl3Plus ]; | ||
| homepage = "https://github.com/grimme-lab/dftd4"; | ||
| platforms = platforms.linux; | ||
| maintainers = [ maintainers.sheepforce ]; | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.