siesta-project/buds

Gen-basis compilation error in siesta 4.1.5

Closed this issue · 1 comments

Sorry for the inconvenience, but when i try to compile the "Gen-basis" utility, i get the following error:

Fatal Error: Cannot open module file ‘version_info.mod’ for reading at (1): No such file or directory

Siesta is installed and can run, together with a couple of other utilities in the "Util" directory.

BR Aleksander

(A preliminary comment: you should create issues for Siesta in https://gitlab.com/siesta-project/siesta, not in this GitHub repo, which deals with something else)

There is indeed a problem in the compilation of gen-basis in Siesta-4.1.5. You can apply a fix by dowloading this patch file, going to the top Siesta distribution directory and typing

  patch -p1 < /path/to/gen-basis-patch.txt

Recompile Siesta and then recompile Gen-basis.