-
Notifications
You must be signed in to change notification settings - Fork 27
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
Problem building QE (total energy module) #559
Comments
TL;DRI think Full answerSorry to hear of that experience @elect86. The total energy module can be a bit tricky to build, most notably because we have to manually update it when something in QE changes. Here's my guess on what is/was happening.
My best guess is that your To confirm - which version does Now for a solution: First I would advise checking out whether the |
Thanks for the elaborate investigation. Regarding f2py and meson, I ran into the same issue with one of my packages. Starting with Python 3.12, numpy enforces meson over distutils. |
Good to know that it is not only a MALA specific thing and indeed just an update in the entire toolchain. |
Agreed. As it stands, we support up to Python 3.11. |
I fixed this in the package above, which may serve as a reference, see these commits: build and CI. This works for Python >= 3.9 . |
So, I've been trying to tackle this for a while now and I got so close, but I was stopped by one damn last issue, nonetheless
I'm on Ubuntu
I've been trying to follow the docs here:
apt install openmpi-bin
I had these issues, which I managed to fix by getting OpenMPI using these packages here
sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev
I need to install, in addition,
gfortran
otherwise./configure
won't see any compilerOne difference is that
gfortran
will install the last one, that isgfortran-13
, while @RandomDefaultUser has a working scenario with 11, I tried to install that, but./configure
doesn't detect it as wellAlso,
gfortran
will actually installgfortran-13 gfortran-13-x86-64-linux-gnu libgfortran-13-dev
So, in order to match Lenz specs, I tried the same for 11, but
Interesting, the very same error with 12
So, I gave up on that front and went forward with 13, which is fine under this point of view
Then, trying to compile, these problems
I managed to fix them by adding these flags into make.inc
as
Then this, which I managed to fix by installing
meson
Then this, which I noticed that running the very same command in terminal after having copy/pasted
force_mod.mod
into the upper directory was returning the next.mod
missing, I solved by adding a-I$root_dir/PW/src
to theproject_inc_folders
inbuild_total_energy_module.sh
Then I had to add the directory to my Python path, I did as they said here
Then I hope this to be over, but when I run
ex05_run_predictions.py
I gotAnd here I'm stuck so far..
The text was updated successfully, but these errors were encountered: