[Octopus-devel] changes in libxc

David Strubbe dstrubbe at berkeley.edu
Wed Mar 3 19:22:10 WET 2010


Can't we detect which version is present in the configuration step, or
provide alternate versions of some file such that both can work? All the
supercomputers I use seem to have only libtool 1.5.22 and it will take some
time and harassment to get them to upgrade.

David

On Wed, Mar 3, 2010 at 6:01 AM, Alberto Castro <acastro at bifi.es> wrote:

> Hi,
>
> Well, if we have to choose, then I'd say we require libtool version 2,
> it does not make much sense to ask people to downgrade to libtool 1.
>
> Cheers,
>
> Alberto.
>
> 2010/3/3 Miguel Marques <Miguel.Marques at tddft.org>:
> >  Hi all,
> >
> >  After a lot of poking around, I believe that there is only one sane
> > solution. I propose that we require libtool version 2 in order to
> > compile octopus. I was unable to put libxc working with both versions,
> > so we have to make a choice! What do you think?
> >
> >  cheers,
> >  Miguel
> >
> > Alberto Castro wrote:
> >> Hi Miguel,
> >>
> >> I have libtool version 2.2.6, and also trouble. If it is of any help,
> >> the initial problem (some complain about _LT_DECL causing a syntax
> >> error that was reported also by Nicole,  I think) can be fixed adding
> >> the "LT_INIT" macro to both configure.ac in the root and in the libxc
> >> directories. Reading the documentation, it seems that it should be
> >> added? Maybe this macro was non existing in libtool 1.x, or it was not
> >> mandatory?
> >>
> >> But then "configure" passes, and I get the error:
> >>
> >> /bin/bash ../libtool  --tag=CC --tag=F77  --mode=compile gcc
> >> -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT libxc_la-lda.lo -MD -MP -MF
> >> .deps/libxc_la-lda.Tpo -c -o libxc_la-lda.lo `test -f 'lda.c' || echo
> >> './'`lda.c
> >> libtool: ignoring unknown tag F77
> >> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT
> >> libxc_la-lda.lo -MD -MP -MF .deps/libxc_la-lda.Tpo -c lda.c  -fPIC
> >> -DPIC -o .libs/libxc_la-lda.o
> >> In file included from util.h:74,
> >>                  from lda.c:24:
> >> xc.h:100:22: error: xc_funcs.h: No such file or directory
> >> lda.c:25:23: error: funcs_lda.c: No such file or directory
> >> make[4]: *** [libxc_la-lda.lo] Error 1
> >>
> >> when doing make. It seems that the dependency of xc_funcs.h got
> >> screwed up with the latest changes.
> >>
> >> Cheers, Alberto.
> >>
> >>
> >>
> >> 2010/3/2 Roberto Olivares-Amaya <robolivares at gmail.com>:
> >>> Hi Miguel:
> >>> Thanks for the reply! The only machine where I have libtool version 1
> seems
> >>> to work fine, while that is not the case in the couple of others (as
> per
> >>> ./configure output below)
> >>>> ./configure: line 2853: syntax error near unexpected token
> >>>> `build_libtool_libs,'
> >>>> ./configure: line 2853: `    _LT_DECL(build_libtool_libs,
> enable_shared,
> >>>> 0,'
> >>> I'll try to get a fresh install of libtool version 1 (while
> uninstalling
> >>> version 2, which I got from synaptic) to see if this fixes the problem.
> >>>
> >>> Thanks for the help.
> >>>
> >>> Roberto
> >>>
> >>>
> >>> On Tue, Mar 2, 2010 at 9:13 AM, Miguel Marques <
> Miguel.Marques at tddft.org>
> >>> wrote:
> >>>>  Hi Roberto,
> >>>>
> >>>>  For the moment most machines have libtool 1, not 2! I haven't tried
> >>>> with 2, but it should work. However, there is a big problem when there
> >>>> is version 1 and 2 installed at the same time in the same computer. Is
> >>>> this your case?
> >>>>
> >>>>> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
> configure.ac
> >>>>> <http://configure.ac> and
> >>>>> libtoolize: rerunning libtoolize, to keep the correct libtool macros
> >>>>> in-tree.
> >>>> This is just a warning that does not cause problems... the real error
> >>>> should come afterwards.
> >>>>
> >>>>  cheers,
> >>>>  m.
> >>>>
> >>>>
> >>>>> I'm not sure if this is helpful at all.
> >>>>>
> >>>>> Roberto
> >>>>>
> >>>>> On Tue, Mar 2, 2010 at 5:09 AM, Nicole Helbig <nehelbig at gmail.com
> >>>>> <mailto:nehelbig at gmail.com>> wrote:
> >>>>>
> >>>>>     Hi everyone,
> >>>>>
> >>>>>     as Matthieu guessed correctly, there were no libtools installed
> on
> >>>>> my
> >>>>>     computer. I did as he suggested and got version 1.5.26, and now
> the
> >>>>>     autoconfig -i goes through (it seems), configure works but the
> make
> >>>>>     quits with
> >>>>>
> >>>>>     libtool: link: unable to infer tagged configuration
> >>>>>     libtool: link: specify a tag with `--tag'
> >>>>>     make[4]: *** [libxc.la <http://libxc.la>] Error 1
> >>>>>     make[4]: Leaving directory
> >>>>> `/home/helbig/Octopus_svn/trunk/libxc/src'
> >>>>>     make[3]: *** [all-recursive] Error 1
> >>>>>     make[3]: Leaving directory `/home/helbig/Octopus_svn/trunk/libxc'
> >>>>>     make[2]: *** [all] Error 2
> >>>>>     make[2]: Leaving directory `/home/helbig/Octopus_svn/trunk/libxc'
> >>>>>     make[1]: *** [all-recursive] Error 1
> >>>>>     make[1]: Leaving directory `/home/helbig/Octopus_svn/trunk'
> >>>>>     make: *** [all] Error 2
> >>>>>
> >>>>>     Cheers,
> >>>>>
> >>>>>     Nicole
> >>>>>     _______________________________________________
> >>>>>     Octopus-devel mailing list
> >>>>>     Octopus-devel at tddft.org <mailto:Octopus-devel at tddft.org>
> >>>>>     http://www.tddft.org/mailman/listinfo/octopus-devel
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Roberto Olivares-Amaya
> >>>>> Aspuru-Guzik Group
> >>>>> Dept. of Chemistry and Chemical Biology
> >>>>> Harvard University
> >>>>> http://aspuru.chem.harvard.edu
> >>>>>
> >>>>>
> >>>>>
> ------------------------------------------------------------------------
> >>>>>
> >>>>> _______________________________________________
> >>>>> Octopus-devel mailing list
> >>>>> Octopus-devel at tddft.org
> >>>>> http://www.tddft.org/mailman/listinfo/octopus-devel
> >>>>
> >>>> --
> >>>> 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
> >>>
> >>>
> >>> --
> >>> Roberto Olivares-Amaya
> >>> Aspuru-Guzik Group
> >>> Dept. of Chemistry and Chemical Biology
> >>> Harvard University
> >>> http://aspuru.chem.harvard.edu
> >>>
> >>> _______________________________________________
> >>> Octopus-devel mailing list
> >>> Octopus-devel at tddft.org
> >>> http://www.tddft.org/mailman/listinfo/octopus-devel
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> > --
> > 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
> >
>
>
>
> --
> ===============================
> Dr. Alberto Castro
>
> Instituto de Biocomputación y Física de Sistemas Complejos (BIFI),
> Corona de Aragón 42,
> 50009 Zaragoza, España.
>
> Temporarily at:
>
> Departamento de Física Teórica, Facultad de Ciencias,
> Universidad de Zaragoza,
> Pedro Cerbuna 12,
> 50009 Zaragoza, España.
>
> Tel:   +34 976761000 3332
> Fax:  +34 976761264
> skype: alberto_c_barrigon
> email: acastro at bifi.es
> ===============================
>
> _______________________________________________
> Octopus-devel mailing list
> Octopus-devel at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tddft.org/pipermail/octopus-devel/attachments/20100303/b6db5a83/attachment.html 


More information about the Octopus-devel mailing list