-
Notifications
You must be signed in to change notification settings - Fork 10
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
Nix Package for NTPoly #231
Comments
Thanks for working on the nix flake.
|
Thank you for replying. (1) it is tests from 1 to 11 that the ones that are failing, and tests 12 to 26 that are passing. So i suppose that means it's the first set which is failing. (2) I am not using a docker container. Nix containerizes its build environments. So perhaps its the same problem |
After adding openssh to the build enviroment, the same tests are failing, but now with a different error message. They now bear
repeated a few times followed by
|
Great. Installing openssh seems to have helped, because now we're actually getting into the code. It seems like there is actually a bug in the 2.7.1 version, I can reproduce this on my machine. Fortunately the bug doesn't exist in the 3.0 series. My guess is that #188 fixed it. I will backport whatever fix was needed and release a v2.7.2 for you. Sorry for the trouble and thanks for finding this. |
Okay, thanks. I would like to package a version compatible with bigdft. Should I chose 3.0.0 or 3.1.0_bigdft. What is the difference? |
Ive installed v3.0.0 with all tests passed :) Thankyou for your help. |
For the latest release of BigDFT (1.9.4) it is using NTPoly 3.0.0, so I recommend that you start with that. The Thank you for your contributions! I'm looking forward to there being a BigDFT nix package! |
Hi,
I am trying to package
ntpoly-v2.3.1
into a nix flake, and I am having some difficulty.I hope it is okay for me to make an issue here about the topic, I apologies if its not.
I have managed to get it to compile now, but it's failing tests 1-11.
I used the
Linux.cmake
config, but in order to get it to compile I had to remove the-openmp
CXX_FLAG
option as it seemed to be confusingcc1plus
. The compiler is provided by thempicxx
so I suppose it already knows it should link to mpi. But maybe this is causing problems.As seen later, I belive the errors are a failure to link properly with mpi.
since adding a -openmp flag seems to break the c++ compiler, I'm not sure how this is supposed to be done.
The
CMAKE_TOOLCHAIN_FILE
I am using is thisWhen I run
make test
test 1-11 fail, while the rest succeed.the output of the failed tests are
Any help would be greatly
The text was updated successfully, but these errors were encountered: