Page 1 of 1

Configuration error on 7.4.3.

Posted: Mon Jan 13, 2014 12:42 pm
by schopra1980
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.

Re: Configuration error on 7.4.3.

Posted: Fri Jan 17, 2014 12:23 pm
by pouillon
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.

Re: Configuration error on 7.4.3.

Posted: Tue Jan 28, 2014 8:41 am
by schopra1980
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.

Re: Configuration error on 7.4.3.

Posted: Thu Jan 30, 2014 1:34 pm
by pouillon
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.

Re: Configuration error on 7.4.3.

Posted: Thu Jan 30, 2014 2:18 pm
by gmatteo
./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?

Re: Configuration error on 7.4.3.

Posted: Mon Feb 03, 2014 5:11 pm
by pouillon
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.

Re: Configuration error on 7.4.3.  [SOLVED]

Posted: Tue Feb 04, 2014 11:46 am
by schopra1980
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.

Re: Configuration error on 7.4.3.

Posted: Tue Feb 04, 2014 11:47 am
by schopra1980
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.

Re: Configuration error on 7.4.3.

Posted: Tue Feb 04, 2014 5:38 pm
by pouillon
For the manual and more: http://www.abinit.org/documentation