Closed maxwell-gisborne closed 6 months ago
Thanks for working on the nix flake. 1) If the first set of tests work, there is probably no issue with openmp linking, so I wouldn't worry about it. In fact, cmake is set to search for openmp itself if the flag is not provided (you might see some useful output about this during the cmake configure step). 2) For nix, is the build done in a docker container? The error sounds something like this one: (https://github.com/open-mpi/ompi/issues/3625). Maybe it can be fixed by install ssh in the container.
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
At line 7 of file dense_includes/CheckMemoryPoolValidity.f90
Fortran runtime error: Allocatable argument 'this' is not allocated
repeated a few times followed by
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborte
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 _bigdft
version was a prerelease so I could test out some new features.
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