[Octopus-devel] changes in libxc

Miguel Marques Miguel.Marques at tddft.org
Fri Mar 5 09:52:57 WET 2010


  Hi Alberto David,


> I am sure there is a way to hack it around to make it work with the
> two libtool versions (putting a check in configure.ac, whatever), but
> to be honest, I don't like the idea. Facilitating things to the users
> at the cost of clogging the code in that way, which complicates life
> to us, I don't like it too much.

Even if I do not say that it impossible, I was unable to find out how to
do it... the configure.ac does not behave like a normal programming
language, and I found no way to do

if defined(LT_MAIN)
  LT_MAIN
else
  AC_PROG_LIBTOOL
fi

> Regarding Miguel's suggestion of moving libxc out of octopus, I agree,
> it should be independent sooner or later. But doesn't this just
> transfer the problem from compiling octopus to compiling libxc?

Yes, but remember that I am the only person developing libxc, so only I
would have the problem. You would download the .tar.gz, which does not
require libtool installed (it is contained in the .tar.gz)

> One question: for the user that does not need autoreconf, but just
> needs to do "configure", is there a problem? It seems that libtool is
> needed at compilation time, but maybe then it doesn't matter what
> version it is. So it could be that libtool version 2 is only needed
> for autoreconfing, and then it is not too much a problem asking for
> this version (this can be done in any computer, and then the source
> tree moved to whatever supercomputer).

As I said before, for the users there is no problem, and in principle
they do not need to have installed libtool, as it is included in the
.tar.gz.

So, I think I decided that I move out libxc from octopus and start
requiring libtool2 in libxc. I will try to do so in the next days...

  cheers,
  Miguel

-- 
Dr. Miguel A. L. Marques
marques at tddft.org

Laboratoire de Physique de la Matière Condensée et Nanostructures
(LPMCN) - Université Lyon I
Bâtiment Brillouin, Domaine scientifique de la DOUA
69622 Villeurbanne Cedex
Tel +33 (0)4 72448187
Fax +33 (0)4 72432648


More information about the Octopus-devel mailing list