-
Notifications
You must be signed in to change notification settings - Fork 148
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
test suite of a source build fails for 6.7.0 #981
Comments
Hello, |
Hi,
CMake generates standard Makefiles without additional arguments, so plain Make :) EDIT: I've just tested with Ninja as CMake generator, it doesn't change the result, unfortunately. |
I see, I tested this with meson/ninja/ifort combination. |
All right, I can reproduce this, but it will probably take some time to debug |
I've switched over to a meson+ninja build for all packages and can confirm that the test suite passes for this build type but otherwise the same dependencies. |
This issue should be fixed via #1121. @sheepforce, could you please recheck? |
Uhm partially yes! 😄 We've switched over the build system of all the Fortran packages that xTB requires to Meson in Nixpkgs and it would be quite some work to rewind everything (mctc-lib, tblite, test-drive, toml-f, simple-dftd3, dftd4, multicharge, cpcm-x) to a CMake build. What I can provide is a check at the state of all packages, when I've opened the issue (beginning of March) and everything was still using CMake in Nixpkgs; i.e. GFortran 11.4.0 and GCC 11.4.0. I'm building xTB commit 10c8a31. Unfortunately does not build at all with type errors:
|
This issue is due to an API change in tblite, it looks like xtb is not pinning the version of tblite but using the latest git commit and therefore the incompatible change got pulled in already (meaning it is unrelated to meson / CMake as build system). |
Very good point! I've updated the tblite version pinning to commit ba9c91e8708b332fad67bcb021c7054b544ef7fb. In that commit, the Tblite test suite fails one test, but if I ignore that failure, the xTB test suite now passes completely. |
Describe the bug
xTB 6.7.0 fails 4 test cases (
10 - xtb/gfn1
,11 - xtb-gfn2
,13 - xtb/hessian
and17 - xtb/oniom
) with large numerical deviations.Building with:
To Reproduce
Steps to reproduce the behaviour:
happens with input (include input files)ctest test suite fails. Full build log is here: xtb-build.txtstartxtb
with (all the options here)runxtb
with your options and the--verbose
flagoutput showing the error(see 1)You can exactly reproduce this build by running
nix build github:nix-qchem/nixos-qchem/xtb#xtb -L
Expected behaviour
The test suite should pass.
Additional context
I'm maintaining the xTB + tblite ecosystem for the Nix package manager and require reproducible builds from source for all packages.
The text was updated successfully, but these errors were encountered: