Configuration error on 7.4.3.  [SOLVED]

option, parallelism,...

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.
Locked
schopra1980
Posts: 13
Joined: Mon Jan 13, 2014 7:41 am

Configuration error on 7.4.3.

Post by schopra1980 » Mon Jan 13, 2014 12:42 pm

Dear Sir,
I was installing Parallel (SMP) version of ABINIT-7.4.3. I finished the installation with the following error. I am providing the config.log file too. Please help me. I am new to ABINIT.

==============================================================================
=== 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... no
checking whether MPI is usable... no
configure: error: MPI support is broken - please fix your config parameters and/or MPI installation


Sir, I am not pretty much clear about the MPI concept. Please help me. I have i3 processor, 2.2GHz (4 cores), 500GB HDD and 2GB RAM.
Attachments
config.log
Configuration log file...
(102.21 KiB) Downloaded 440 times
Dr. Siddheshwar chopra,
M.Sc., Ph.D (Physics)
Assistant Professor (Physics),
Amity University, Noida, India.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Configuration error on 7.4.3.

Post by pouillon » Fri Jan 17, 2014 12:23 pm

Please install MPI (e.g. OpenMPI or MPICH) first, and then use the --with-mpi-prefix=/path/to/mpi/installation to tell the build system where MPI is. If you installed it through a package manager, usually --with-mpi-prefix=/usr will do.

For more information, please see the forum rules above which contain a link to a tutorial video.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

schopra1980
Posts: 13
Joined: Mon Jan 13, 2014 7:41 am

Re: Configuration error on 7.4.3.

Post by schopra1980 » Tue Jan 28, 2014 8:41 am

Dear Sir,
My system had crashed when I Was trying to enable GPU support for ABINIT.. I installed a wrong driver. Now I have started afresh and installing ABINIT 7.6.1. Please find the config.log file and also the MAKE ERROR file. Sir, as per your guidance I successfully passed over the configuration, BUT now facing problems with MAKE..
The following error creeps in:

required = MPI_THREAD_SINGLE
1
Error: Symbol 'mpi_thread_single' at (1) has no IMPLICIT type
make[3]: *** [m_xmpi.o] Error 1
make[3]: Leaving directory `/usr/local/lib/abinit-7.6.1/src/12_hide_mpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lib/abinit-7.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/lib/abinit-7.6.1'
make: *** [all] Error 2

Sir, I used the following configure command:
./configure --enable-mpi --enable-openmp --enable-mpi-fft --enable-mpi-io --enable-mpi-trace --with-mpi-prefix=/usr/lib/mpich

I hve installed all "OPENMPI", MPICH and MPICH2 through synaptic... I am unsure about openmpi version. I tried first with openmpi, but it gave some problems and so I moved onto MPICH. It worked/configured ABINIT very well. But during make gave me the above error.
Sir I have a i3 processor with 2.2 GHz, 2GB RAM, 500GB HDD, with 32 bit Linux mint 15. Can I enable 64 bit support on my 32 bit OS? Will it boost the computation speeds keeping in mind my laptop configuration? Also can I find I-V characteristics of a electrode-sample-electrode system using ABINTI 7.6.1? Sorry for asking this question here.
Thanks in advance.
Attachments
config.log
(108.29 KiB) Downloaded 387 times
Dr. Siddheshwar chopra,
M.Sc., Ph.D (Physics)
Assistant Professor (Physics),
Amity University, Noida, India.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Configuration error on 7.4.3.

Post by pouillon » Thu Jan 30, 2014 1:34 pm

A 64-bit system is interesting only if you have 4Gb or more of memory. In your case, a 32-bit system is thus fairly enough and is probably not the cause of your problem. Regarding the error you get at build time, the config.log did not give me any useful information to pinpoint the origin. You could retry without the --enable-openmp option, in order to see whether this is a MPI-specific issue or a problem in mixing different kinds of parallelism.

As far as GPU is concerned, the current implementation is limited to nVidia cards with Cuda, and is meant for developers with some experience in GPU debugging. In any case, even if you manage to have it working, you will probably not see a big difference over OpenMP / MPI.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

User avatar
gmatteo
Posts: 291
Joined: Sun Aug 16, 2009 5:40 pm

Re: Configuration error on 7.4.3.

Post by gmatteo » Thu Jan 30, 2014 2:18 pm

./configure --enable-mpi --enable-openmp --enable-mpi-fft --enable-mpi-io --enable-mpi-trace --with-mpi-prefix=/usr/lib/mpich


Remove --enable-openmp, you need a MPI library that implements the MPI2 specifications if you want to mix MPI and OpenMp

@Yann:
It seems that in v7.7.1, HAVE_MPI_TRACE is not used anymore! Do you know who introduced this CPP option?

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Configuration error on 7.4.3.

Post by pouillon » Mon Feb 03, 2014 5:11 pm

I introduced the --enable-mpi-trace option upon request from CEA in June 2009. If nobody use it anymore, I'll be happy to remove it.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

schopra1980
Posts: 13
Joined: Mon Jan 13, 2014 7:41 am

Re: Configuration error on 7.4.3.  [SOLVED]

Post by schopra1980 » Tue Feb 04, 2014 11:46 am

Dear Pouillon Sir,
I apologize for asking same question in two threads. Regarding my question, I am happy to inform you that I have succeeded in compiling the ABINIT-7.6.1 parallel build.
The problem seemed to be with the MPICH, OPENMPI installed using the Synaptic manager. I could not get them working. So I finally downloaded the source code of MPICH-3.0.4 from internet and compiled it myself. Then the ABINIT installed very well. Only one trick I did here was that I copied the mpi compiler files to a self made folder "bin" inside /usr/lib/mpich-3.0.4. Then the compilation finished successfully.
I would be gratful if you could provide me a PDF file to ABINIT commands or the full manual.
Dr. Siddheshwar chopra,
M.Sc., Ph.D (Physics)
Assistant Professor (Physics),
Amity University, Noida, India.

schopra1980
Posts: 13
Joined: Mon Jan 13, 2014 7:41 am

Re: Configuration error on 7.4.3.

Post by schopra1980 » Tue Feb 04, 2014 11:47 am

Dear Pouillon Sir,
I apologize for asking same question in two threads. Regarding my question, I am happy to inform you that I have succeeded in compiling the ABINIT-7.6.1 parallel build.
The problem seemed to be with the MPICH, OPENMPI installed using the Synaptic manager. I could not get them working. So I finally downloaded the source code of MPICH-3.0.4 from internet and compiled it myself. Then the ABINIT installed very well. Only one trick I did here was that I copied the mpi compiler files to a self made folder "bin" inside /usr/lib/mpich-3.0.4. Then the compilation finished successfully. I am attaching the config.log file.
I would be gratful if you could provide me a PDF file to ABINIT commands or the full manual.
Attachments
config.log
(106.81 KiB) Downloaded 436 times
Dr. Siddheshwar chopra,
M.Sc., Ph.D (Physics)
Assistant Professor (Physics),
Amity University, Noida, India.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Configuration error on 7.4.3.

Post by pouillon » Tue Feb 04, 2014 5:38 pm

For the manual and more: http://www.abinit.org/documentation
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked