atompaw configure test command line ordering
Posted: Sat Mar 05, 2011 12:11 pm
in the present 6.7.1 inclusion of atompaw, there is a test for libxc presence. With my sequential compiler (still xlf 12.1 suse linux 64 bits), the test fails although the libxc is present, because the conftest_cpp.f90 is at the end of the command line, after the -L/path -lxc
for the parallel compiler, for some reason, this doesn't happen: the -lxc is in the LDFLAGS, instead of the LIBS environment variable (which is the only one placed after the source file in atompaw configure).
The order should somehow be forced - the libs should come afterwards of course...
Matthieu
for the parallel compiler, for some reason, this doesn't happen: the -lxc is in the LDFLAGS, instead of the LIBS environment variable (which is the only one placed after the source file in atompaw configure).
The order should somehow be forced - the libs should come afterwards of course...
Matthieu