Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] problems with parallel compilation of 5.8.3

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] problems with parallel compilation of 5.8.3


Chronological Thread 
  • From: matthieu verstraete <matthieu.jean.verstraete@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] problems with parallel compilation of 5.8.3
  • Date: Mon, 29 Jun 2009 12:57:38 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TYBEB0vn+H9/n/1Fs3EpIXCIeRkIq98cMO18kOTZBopp5JaHeEaNL4mXv/2Rb4os3n qq2l0Q8AE+ShkGSOipLcBUSGjXbZNexpU+tY2q+qHw7yVjZV6WO87vqMM+3MLmkOla2D jWNMY8BVlVLPVp7gkvbjvoVjRaoezFvmBksVk=

It looks like your installation of mpich is incomplete. You might try
to find where (if anywhere) the mpif.h file was put (find / -name
mpif.h) and copy it to /opt/mpich/ch-p4/include If you have a copy of
mpif90 you should have the rest - you compiled mpich yourself? And
with the same fortran compiler to be used for abinit?

Matthieu



On Mon, Jun 29, 2009 at 12:31 PM, Ludwig, Christian<ludwigc@uni-mainz.de>
wrote:
> There is not even an include directory in /opt/mpich/ch-p4
> ________________________________________
> Von: matthieu verstraete [matthieu.jean.verstraete@gmail.com]
> Gesendet: Montag, 29. Juni 2009 12:18
> An: forum@abinit.org
> Betreff: Re: [abinit-forum] problems with parallel compilation of 5.8.3
>
> Is there an mpif.h in the directory:
>
> /opt/mpich/ch-p4/include
>
> ?
>
> Matthieu
>
> On Mon, Jun 29, 2009 at 11:24 AM, Ludwig, Christian<ludwigc@uni-mainz.de>
> wrote:
>> Hi,
>>
>> I am still struggeling with the compilation of a parallel version of
>> abinit 5.8.3. My test platform is a normal PC with SuSE 10.3, mpich, gcc,
>> gfortran. My configure command is
>>
>> ../configure --disable-all-plugins --enable-mpi=yes
>> --with-mpi-prefix=/opt/mpich/ch-p4 --with-fc-optflags="-O2"
>>
>> which gives no error message, everything seems fine. But after typing make
>> I get the following:
>>
>>
>> _______/opt/mpich/ch-p4/bin/mpif90 -DHAVE_CONFIG_H -I.
>> -I../../../src/12_hide_mpi -I../
>> .. -I../../src/10_defs -I../../../src/10_defs -DMPI=1 -DMPI1=1       -O2  
>> -g  -f
>> free-line-length-none  -g  -ffree-line-length-none -c -o
>> lib12_hide_mpip_a-xallg
>> ather_mpi.o `test -f 'xallgather_mpi.F90' || echo
>> '../../../src/12_hide_mpi/'`xa
>> llgather_mpi.F90
>> Error: Can't open included file 'mpif.h'
>> Error: Can't open included file 'mpif.h'
>> Error: Can't open included file 'mpif.h'
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:48.47:
>>
>>                if (spaceComm /=  MPI_COMM_SELF) then
>>                                              1
>> Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:50.53:
>>
>>                call
>> MPI_ALLGATHER(xval,1,MPI_INTEGER,recvcounts,1,MPI_INTEGER,&
>>                                                    1
>> Error: Symbol 'mpi_integer' at (1) has no IMPLICIT type
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:81.47:
>>
>>                if (spaceComm /=  MPI_COMM_SELF) then
>>                                              1
>> Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:83.66:
>>
>>                call
>> MPI_ALLGATHER(xval,nelem,MPI_DOUBLE_PRECISION,recvcounts,n
>>                                                                 1
>> Error: Symbol 'mpi_double_precision' at (1) has no IMPLICIT type
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:114.47:
>>
>>                if (spaceComm /=  MPI_COMM_SELF) then
>>                                              1
>> Error: Symbol 'mpi_comm_self' at (1) has no IMPLICIT type
>> ../../../src/12_hide_mpi/xallgather_mpi.F90:116.66:
>>
>>                call
>> MPI_ALLGATHER(xval,nelem,MPI_DOUBLE_PRECISION,recvcounts,n
>>                                                                 1
>> Error: Symbol 'mpi_double_precision' at (1) has no IMPLICIT type
>> make[3]: *** [lib12_hide_mpip_a-xallgather_mpi.o] Fehler 1
>> make[3]: Leaving directory
>> `/home/ludwigc/ABINIT/abinit-5.8.3/build/src/12_hide_                      
>>                                                                          
>>       mpi'
>> make[2]: *** [all-recursive] Fehler 1
>> make[2]: Leaving directory `/home/ludwigc/ABINIT/abinit-5.8.3/build/src'
>> make[1]: *** [all-recursive] Fehler 1
>> make[1]: Leaving directory `/home/ludwigc/ABINIT/abinit-5.8.3/build'
>> make: *** [all] Fehler 2
>>
>>
>> Can someone please tell me how to solve this? Is mpi always so stubborn? I
>> had no problem with the serial version of abinit on 2 different platforms,
>> but on both I cannot get the parallel version to run.
>>
>> All the best,
>> Christian
>>
>>
>>
>>
>>
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dr. Matthieu Verstraete
>
> European Theoretical Spectroscopy Facility (ETSF)
> Dpto. Fisica de Materiales,
> U. del Pais Vasco,
> Centro Joxe Mari Korta, Av. de Tolosa, 72,   Phone: +34-943018393
> E-20018 Donostia-San Sebastian, Spain        Fax  : +34-943018390
>
> Mail : matthieu.jean.verstraete@gmail.com
> http://www-users.york.ac.uk/~mjv500
>
>
>



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Matthieu Verstraete

European Theoretical Spectroscopy Facility (ETSF)
Dpto. Fisica de Materiales,
U. del Pais Vasco,
Centro Joxe Mari Korta, Av. de Tolosa, 72, Phone: +34-943018393
E-20018 Donostia-San Sebastian, Spain Fax  : +34-943018390

Mail : matthieu.jean.verstraete@gmail.com
http://www-users.york.ac.uk/~mjv500




Archive powered by MHonArc 2.6.16.

Top of Page