configure error on 7.3.3 [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.
configure error on 7.3.3
Dear everybody,
I've just downloaded the last 7.3.3 branch and with respect to the 7.3.2 I have the following error on .configure:
==============================================================================
=== Multicore architecture support ===
==============================================================================
checking whether to enable OpenMP support... no
checking whether to build MPI code... yes
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
checking whether the Fortran Compiler supports MPI... yes
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation
Everything looks fine with my openmpi config since the 7.3.2 and 7.2.2 compile without any problem.
What has changed wrt the previous 7.3.2 version such as the configure is now more "nervous"?
I'm running on ubuntu 13.04 and compiling with the gfortran and opempi coming from a lazy apt-get installation...
Thanks,
Eric
I've just downloaded the last 7.3.3 branch and with respect to the 7.3.2 I have the following error on .configure:
==============================================================================
=== Multicore architecture support ===
==============================================================================
checking whether to enable OpenMP support... no
checking whether to build MPI code... yes
checking whether the C compiler supports MPI... no
checking whether the C++ compiler supports MPI... no
checking whether the Fortran Compiler supports MPI... yes
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation
Everything looks fine with my openmpi config since the 7.3.2 and 7.2.2 compile without any problem.
What has changed wrt the previous 7.3.2 version such as the configure is now more "nervous"?
I'm running on ubuntu 13.04 and compiling with the gfortran and opempi coming from a lazy apt-get installation...
Thanks,
Eric
- Alain_Jacques
- Posts: 279
- Joined: Sat Aug 15, 2009 9:34 pm
- Location: Université catholique de Louvain - Belgium
Re: configure error on 7.3.3
Hi Eric,
Add config.log otherwise we are in the dark.
Kind regards,
Alain
Add config.log otherwise we are in the dark.
Kind regards,
Alain
Re: configure error on 7.3.3
Oups, sorry, here is the config.log file,
Eric
Eric
- Attachments
-
- config.log
- (92.36 KiB) Downloaded 934 times
Re: configure error on 7.3.3
Can you attach the following file as well?
Thank you in advance.
Code: Select all
/home/ebousq/.abinit/build/mater20.ac
Thank you in advance.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: configure error on 7.3.3
Here is what I have in the .ac file:
enable_64bit_flags="yes"
enable_optim="aggressive"
enable_mpi="yes"
enable_mpi_io="yes"
FC=mpif90
I've noticed that even with mpi_prefix there is the same problem.
I noticed that from the apt-get install the prefix location might sounds hill defined, i.e. executable in /usr/bin and libraries in /usr/lib/openmpi/.
Can it be a problem?
Note that only the 7.3.3 crashes with this .ac file.
Thanks,
Eric
enable_64bit_flags="yes"
enable_optim="aggressive"
enable_mpi="yes"
enable_mpi_io="yes"
FC=mpif90
I've noticed that even with mpi_prefix there is the same problem.
I noticed that from the apt-get install the prefix location might sounds hill defined, i.e. executable in /usr/bin and libraries in /usr/lib/openmpi/.
Can it be a problem?
Note that only the 7.3.3 crashes with this .ac file.
Thanks,
Eric
Re: configure error on 7.3.3 [SOLVED]
MPI support in Abinit will work only if both the C and Fortran compilers support it.
Try adding CC=mpicc and CXX=mpic++ (or whatever) in your config file.
Try adding CC=mpicc and CXX=mpic++ (or whatever) in your config file.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: configure error on 7.3.3
OK, now it works by defining consistently FC, CC and CXX all together in the .ac file.
Thanks a lot,
Eric
Thanks a lot,
Eric
-
- Posts: 13
- Joined: Thu Jun 16, 2016 8:47 am
- Location: Bruxelles, Be
- Contact:
Re: configure error on 7.3.3
Dear everybody,
I keep having the same problem over and over again, as I try to install abinit on different machines (large clusters mainly).
Generally, is there a command to know which compiler a machine prefers?
Specifically I am installing ver8 on Zenobe with the following characteristic (copy and paste from previous versions/other machines/other posts)
CC=mpicc #"mpiicc -m64"
CXX=mpiicc #mpic++
FC=mpiF90 #mpiifort
are these three all and only the complier needed?
I attach my config.log file
thanks in advance
marco
I keep having the same problem over and over again, as I try to install abinit on different machines (large clusters mainly).
Generally, is there a command to know which compiler a machine prefers?
Specifically I am installing ver8 on Zenobe with the following characteristic (copy and paste from previous versions/other machines/other posts)
CC=mpicc #"mpiicc -m64"
CXX=mpiicc #mpic++
FC=mpiF90 #mpiifort
are these three all and only the complier needed?
I attach my config.log file
thanks in advance
marco
- Attachments
-
- config.log
- (100.45 KiB) Downloaded 591 times
Marco Di Gennaro
Toyota Motor Europe (Be)
Toyota Motor Europe (Be)
Re: configure error on 7.3.3
Dear Marco,
You should use at least intel15 on zenobe, the lastest version.
Use mpicc mpic++ and mpif90 (without caps). This should work just fine.
If you're still at ULG, ask Alex for my config file or his or even Eric.
BTW there is already several versions we compiled on Zenobe that you could use.
If you still have problems, wait for my visit next week
Cheers
Jordan
You should use at least intel15 on zenobe, the lastest version.
Use mpicc mpic++ and mpif90 (without caps). This should work just fine.
If you're still at ULG, ask Alex for my config file or his or even Eric.
BTW there is already several versions we compiled on Zenobe that you could use.
If you still have problems, wait for my visit next week
Cheers
Jordan
-
- Posts: 13
- Joined: Thu Jun 16, 2016 8:47 am
- Location: Bruxelles, Be
- Contact:
Re: configure error on 7.3.3
Dear everybody,
different machine, same problem. This is my file.ac:
====
prefix="/usr/lib/gcc"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib/x86-64-linux-gnu/ -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib64 -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+libxc"
enable_64bit_flags="yes"
enable_optim="aggressive"
FC=mpif90
CC=mpicc
CXX=mpiicc
===
In order to understand what I do, can you answer the following naive questions regarding the configure.ac file?
1)prefix=what should it be? is /usr/lib/ enough?
2) `module av` returns (for the mpi part):
impi/5.1.3.181-iccifort-2016.2.181-GCC-4.9.3-2.25
OpenMPI/1.8.8-iccifort-2016.2.181-GCC-4.9.3-2.25
I tried FC=mpiF90, FC=impi, FC=OpenMPI (don't know if the last 2 make sense)
3) Generally, is there a command to know which compiler a machine prefers? (same as in a previous post)
as usual, you can find my config.log attached.
It is abinit v8
sincerely yours
different machine, same problem. This is my file.ac:
====
prefix="/usr/lib/gcc"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib/x86-64-linux-gnu/ -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib64 -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+libxc"
enable_64bit_flags="yes"
enable_optim="aggressive"
FC=mpif90
CC=mpicc
CXX=mpiicc
===
In order to understand what I do, can you answer the following naive questions regarding the configure.ac file?
1)prefix=what should it be? is /usr/lib/ enough?
2) `module av` returns (for the mpi part):
impi/5.1.3.181-iccifort-2016.2.181-GCC-4.9.3-2.25
OpenMPI/1.8.8-iccifort-2016.2.181-GCC-4.9.3-2.25
I tried FC=mpiF90, FC=impi, FC=OpenMPI (don't know if the last 2 make sense)
3) Generally, is there a command to know which compiler a machine prefers? (same as in a previous post)
as usual, you can find my config.log attached.
It is abinit v8
sincerely yours
- Attachments
-
- config.log
- (104.74 KiB) Downloaded 553 times
Marco Di Gennaro
Toyota Motor Europe (Be)
Toyota Motor Europe (Be)
Re: configure error on 7.3.3
I have a similar error when I install abinit 8.2.2
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation
Here is my config.log. However I don't have build/mater20.ac file.
Here is the command I used to configure:
./configure -enable-mpi -with-mpi-prefix=/usr -with-dft-flavor=libxc FC=/opt/rh/devtoolset-2/root/usr/bin/gfortran
Thanks, Wenge
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation
Here is my config.log. However I don't have build/mater20.ac file.
Here is the command I used to configure:
./configure -enable-mpi -with-mpi-prefix=/usr -with-dft-flavor=libxc FC=/opt/rh/devtoolset-2/root/usr/bin/gfortran
Thanks, Wenge
- Attachments
-
- config.log
- (87.26 KiB) Downloaded 526 times
Re: configure error on 7.3.3
Sorry, I fixed the problem. Wenge