-
Notifications
You must be signed in to change notification settings - Fork 40
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
Build problems -- libxc detection, error message, linker problems #160
Comments
And, in addition, executing:
and if one of the steps fails, the return value is still a success, i.e. there is no way to detect whether Changing the |
MODIFIED * Makefile configure include/version/version.m4 Bugs: - [compilation] Following user suggestion from #160 Patch sent by: Davide Sangalli <[email protected]>
MODIFIED * Makefile configure include/version/version.m4 Bugs: - [yambo] Impporting fix to Makefile (suggestion in #160 ) Patch sent by: Davide Sangalli <[email protected]>
Dear @zerothi , thanks for the feedback. I try to address the points you raised one by one.
Good point. There is a pre-compiler check.
We coded the interface with libxc 5, then libxc 6 come out and none so far had time to check it they work. Other point on the todo list.
Ok, I never experienced this. I just tried and I was not able to reproduce the issue Anyway, the file to change is
Good suggestion. Coded, it will enter in the future releases. P.S.: welcome on the list of people complaining about the yambo compilation. |
Hmm, I don't really know, because you seem to be using FPP/CPP to create make files... ?
Just had a look, there the order seems fine,
Yeah, sorry... ;) |
Yeah ... We have, inside each folder, a I've been fighting for 2 years to change this. I got that approved at the last dev-meeting. But it will take some time to be implemented
I do not think so.
You can check the content of log/compile_a2y. This is mine
Nothing to sorry about .. I can use this in support to my battle "let's change the compilation scheme" ;-) |
Thanks for sharing, I'll dig a bit further. I would recommend you go the Sorry for the blurp ;) |
Yeah, this is a point we discussed. On the long term our plan is also to switch to cmake. |
I have just tried to compile yambo 5.2.4. Here are some observations:
The error message when passing wrong
CPP
/FPP
flags is very confusing,I found the solution in #11, which is to provide something that
yambo
likes. However, couldn't this be checked atconfigure
time instead at compile time?$ ./configure ... --with-libxc-path=/opt/gnu/12.3.0/libxc/6.1.0 ... checking for libxc... Found external LibXC version=5, (should be 5)
Huh ?
Config log says that everything succeeds, but it actually only checks whether it has some of the same API as in LibXC 5.
Is yambo able to compile+run with libxc6?
a2y
programs, the problem was:The log says this:
which suggests a wrong ordering of libraries, i.e. the reference exists in
libYio.a
, butlibcommunicate.a
is after.I can trace this to this file:
config/mk/local/static_variables.mk
where the wrong ordering occurs.I tried changing the order, but this file seems to be created at every invocation... So I really have a hard time fixing this...
The text was updated successfully, but these errors were encountered: