Closed willwheelera closed 4 years ago
/projects/wagner/wawheel2/code/pyWannier90/src/libwannier90.cpython-37m-x86_64-linux-gnu.so: undefined symbol: mpireduce
It looks to me you compiled wannier90 and pyWannier90 using MPI.
Note that the library mode of wannier90 is working only in serial so I don't think this is possible. that's why I didn't write libwannier90.cpp with the MPI in mind.
If you want to run wannier90 with MPI, then you can use the pyWannier90 to generate all the inputs file (.amn, . mmn, .eig, ...) then run it using wannier90.x
Thanks for noticing that! I didn't realize it only works in serial. I compiled wannier90 and pyWannier90 without MPI and was able to load libwannier90 in python successfully!
Also thanks for pointing out how to run it with MPI!
When I run
I get the following error:
I'm not sure where the problem is coming from. I've compiled wannier90 using the pyWannier90 version of wannier_lib.F90. The edited lines in the pyWannier90 Makefile are
Do you have any suggestions?