I cannot configure abinit 6.7.1 [SOLVED]
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
I cannot configure abinit 6.7.1
Hello everybody,
I'm trying to build the newest development branches and I badly fail.
I just downloaded my 6.7.1-private.
makemake works fine and then
./configure gives
configure: error: cannot build Abinit - aborting
I did the same operations with my 6.7.0-private and it works.
Note that I did not code anything in my branches. They are genuine!
No matter if I'm using FC=ifort or FC=gfortran.
What did change between 6.7.0 and 6.7.1?
Please help.
Fabien
I'm trying to build the newest development branches and I badly fail.
I just downloaded my 6.7.1-private.
makemake works fine and then
./configure gives
configure: error: cannot build Abinit - aborting
I did the same operations with my 6.7.0-private and it works.
Note that I did not code anything in my branches. They are genuine!
No matter if I'm using FC=ifort or FC=gfortran.
What did change between 6.7.0 and 6.7.1?
Please help.
Fabien
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: I cannot configure abinit 6.7.1
Hello Fabien,
Well the usual stuff ... nobody knows what's going wrong on -your- system without more info; at least provide a config.log file. For such a catastrophic error condition, a probable reason is that configure cannot produce an executable with the FC compiler. Sure of $PATH and $LD_CONFIG_PATH?
Considering that the build system now tries to fish for existing libraries on your computer, abinit is maybe balked of an essential library without an extra --with-xxx-libs. You may try to --disable-connectors (this looked a cute option to me to get rid of the lottery) but I'm aware of bugs preventing to build etsf-io in these conditions. And fallback is very chaotic.
AFAIK nothing has changed on the build system in the last couple of days; Yann is on vacation, he didn't have the opportunity to snafu everything
Kind regards,
Alain
Well the usual stuff ... nobody knows what's going wrong on -your- system without more info; at least provide a config.log file. For such a catastrophic error condition, a probable reason is that configure cannot produce an executable with the FC compiler. Sure of $PATH and $LD_CONFIG_PATH?
Considering that the build system now tries to fish for existing libraries on your computer, abinit is maybe balked of an essential library without an extra --with-xxx-libs. You may try to --disable-connectors (this looked a cute option to me to get rid of the lottery) but I'm aware of bugs preventing to build etsf-io in these conditions. And fallback is very chaotic.
AFAIK nothing has changed on the build system in the last couple of days; Yann is on vacation, he didn't have the opportunity to snafu everything
Kind regards,
Alain
Re: I cannot configure abinit 6.7.1
Hi - I agree something is probably wrong, but we can't tell what is the matter with Fabien's copy yet.
In my case, there are a bunch of --enable-XXX options which have been removed. I hope I understand correctly: if the corresponding XXX_libs and XXX_incs are set, then it implies XXX should be used...
On my side, it seems that if lib_math_incs is set to something it is neglected (not used anywhere except in the configure tests). The problem seems to be general with the _incs variables. It appears on a clustervision (SLES 10 ifort 11.1 openmpi) platform, where the gsl includes are not in a standard directory. The build slaves probably avoid this by having standard locations for the headers (and so do not even need the -I/path/include directives).
I have no idea how to correct the makefiles to add the necessary inc variables to the compilation arguments...
Matthieu
In my case, there are a bunch of --enable-XXX options which have been removed. I hope I understand correctly: if the corresponding XXX_libs and XXX_incs are set, then it implies XXX should be used...
On my side, it seems that if lib_math_incs is set to something it is neglected (not used anywhere except in the configure tests). The problem seems to be general with the _incs variables. It appears on a clustervision (SLES 10 ifort 11.1 openmpi) platform, where the gsl includes are not in a standard directory. The build slaves probably avoid this by having standard locations for the headers (and so do not even need the -I/path/include directives).
I have no idea how to correct the makefiles to add the necessary inc variables to the compilation arguments...
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: I cannot configure abinit 6.7.1
PS: Fabien - send us you config.log
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: I cannot configure abinit 6.7.1
Hello guys,
Here is the config.log I obtained.
However, as I told you, I can see a lot of changes in the build system from 6.7.0 to 6.7.1. All the options have changed.
For instance, my favorite option doesn't work...
and the ./configure --help is not very enlightening.
When the code undergoes extensive changes, how can I/one figure out what to do?
Cheers,
Fabien
Here is the config.log I obtained.
However, as I told you, I can see a lot of changes in the build system from 6.7.0 to 6.7.1. All the options have changed.
For instance, my favorite option doesn't work...
Code: Select all
./configure --disable-all-plugins
configure: WARNING: unrecognized options: --disable-all-plugins
and the ./configure --help is not very enlightening.
When the code undergoes extensive changes, how can I/one figure out what to do?
Cheers,
Fabien
- Attachments
-
- config.log
- config.log after ./configure
- (19.17 KiB) Downloaded 516 times
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: I cannot configure abinit 6.7.1
Dear Fabien,
There is nothing useful in the attached config.log because it was produced with a bogus "configure --disable-all-plugins" option that doesn't work anymore and therefore configuration aborts immediately.
Would you be so kind to redo the operation with a plain configure.
I'll try to find out a recipe to get rid of (most of) the plugins.
Alain
There is nothing useful in the attached config.log because it was produced with a bogus "configure --disable-all-plugins" option that doesn't work anymore and therefore configuration aborts immediately.
Would you be so kind to redo the operation with a plain configure.
I'll try to find out a recipe to get rid of (most of) the plugins.
Alain
Re: I cannot configure abinit 6.7.1
then, perhaps something like that can work :Code: Select all
--with-math-flavor=gsl
--with-math-incs= -I/usr/local/gsl/include
--with-math-libs= -L/usr/local/gsl/lib -lgsl
yes, this is what I do - the internal variable is the one I cited, but it is not used in the makefiles
I have a bot with all external plugins ( woopy.ac ) and it works :Code: Select all
<snip>
with_dft_flavor = atompaw+bigdft+libxc+wannier90
with_trio_flavor = netcdf+etsf_io
with_linalg_flavor = netlib
with_linalg_libs = -L/usr/local/lib -llapack -lblas
with_netcdf_incs = -I/usr/local/netcdf/include
with_netcdf_libs = -L/usr/local/netcdf/lib -lnetcdf
with_atompaw_bins = /usr/local/atompaw/bin
with_atompaw_incs = -I/usr/local/atompaw/include
with_atompaw_libs = -L/usr/local/atompaw/lib -latompaw
with_libxc_incs = -I/usr/local/libxc/include
with_libxc_libs = -L/usr/local/libxc/lib -lxc
with_bigdft_incs = -I/usr/local/bigdft/include
with_bigdft_libs = -L/usr/local/bigdft/lib -lbigdft -lpoissonsolver
with_etsf_io_incs = -I/usr/local/etsf_io/include
with_etsf_io_libs = -L/usr/local/etsf_io/lib -letsf_io_low_level -letsf_io_utils -letsf_io
with_wannier90_bins = /usr/local/wannier90/bin
with_wannier90_incs = -I/usr/local/wannier90/include
with_wannier90_libs = -L/usr/local/wannier90/lib -lwannier
</snip>
yes, but I suspect it works without using the math_incs information, because in your linux distro the gsl header files are in standard locations... I just need to know where in the Makefile.am to insert the libs_math_incs variable...
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: I cannot configure abinit 6.7.1
Sorry Alain, I attached the wrong file.
Here it is!
Fabien
Here it is!
Fabien
- Attachments
-
- config.log
- (112.29 KiB) Downloaded 477 times
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: I cannot configure abinit 6.7.1
Fabien,
You have a broken netcdf distribution file on your system. Delete it - probably from /home/bruneval/.abinit/tarballs
If it cannot be downloaded properly, get it from http://archives.abinit.org/plugins/netcdf-4.1.1.tar.gz
I just checked it - the file is downloadable and the checksum is right.
Alain
configure:44753: checking for a source tarball of NETCDF
configure:44756: result: yes
configure:44834: WARNING: tarball MD5 check failed
configure:44845: downloading NETCDF - this may take a while
configure:44947: WARNING: tarball MD5 check failed
configure:44968: WARNING: could not download NETCDF fallback tarball
configure:44970: error: cannot build Abinit - aborting
You have a broken netcdf distribution file on your system. Delete it - probably from /home/bruneval/.abinit/tarballs
If it cannot be downloaded properly, get it from http://archives.abinit.org/plugins/netcdf-4.1.1.tar.gz
I just checked it - the file is downloadable and the checksum is right.
Alain
Re: I cannot configure abinit 6.7.1
It's difficult to follow two discussions in the same thread...
Alain, you were right. I erased the netcdf tarball and it worked again. Thank you very much!
Now comes the question: how do we disable the plugins nowadays? This option has simply disappeared from the './configure --help'
Bye.
Fabien
Alain, you were right. I erased the netcdf tarball and it worked again. Thank you very much!
Now comes the question: how do we disable the plugins nowadays? This option has simply disappeared from the './configure --help'
Bye.
Fabien
Re: I cannot configure abinit 6.7.1 [SOLVED]
Fabien,
to disable : atompaw libx wannier90 bigdft
--with-dft-flavor=none
to disable : netcdf fox etsf_io
--with-trio-flavor=none
and perhaps
--enable-connectors=no
good luck
jmb
to disable : atompaw libx wannier90 bigdft
--with-dft-flavor=none
to disable : netcdf fox etsf_io
--with-trio-flavor=none
and perhaps
--enable-connectors=no
good luck
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: I cannot configure abinit 6.7.1
Thank you all for your help.
Cheers,
Fabien
Cheers,
Fabien