Page 1 of 1

cant build abinit 7.4.3+openmpi

Posted: Sun Jan 05, 2014 8:14 am
by zwe32
Dear users, could you please hint me what could be a solution for the following problem.
my OS Opensuse 13.1 (32 bit)
Configure - no problems:

Code: Select all

export LD_LIBRARY_PATH=/usr/lib/mpi/gcc/openmpi/lib:$LD_LIBRARY_PATH
./configure --enable-mpi --with-mpi-level=2 --enable-mpi-io --with-mpi-prefix="/usr/lib/mpi/gcc/openmpi" \
           --with-dft-flavor=libxc+atompaw+bigdft+wannier90 \
      --with-trio-flavor=netcdf+etsf_io

make stops with the following message:

Code: Select all

make[3]: Entering directory `/home/zwe/rpmbuild/BUILD/abinit-7.4.3/src/12_hide_mpi'
/usr/lib/mpi/gcc/openmpi/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/zwe/rpmbuild/BUILD/abinit-7.4.3/fallbacks/exports/include   -ffree-form -J/home/zwe/rpmbuild/BUILD/abinit-7.4.3/src/mods  -O2 -mtune=native -march=native -g -ffree-line-length-none   -c -o m_xmpi.o m_xmpi.F90
xexch_mpi.F90:579.91:
    Included at m_xmpi.F90:2172:

(vrecv,n1*n2*n3*n4*n5,MPI_DOUBLE_PRECISION,sender,tag,spaceComm,statux,ier)
                                                                           1
Error: There is no specific subroutine for the generic 'mpi_recv' at (1)
xexch_mpi.F90:582.85:
    Included at m_xmpi.F90:2172:

I_SEND(vsend,n1*n2*n3*n4*n5,MPI_DOUBLE_PRECISION,recever,tag,spaceComm,ier)
                                                                           1
Error: There is no specific subroutine for the generic 'mpi_send' at (1)
make[3]: *** [m_xmpi.o] Error 1
make[3]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.4.3/src/12_hide_mpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.4.3'
make: *** [all] Error 2

There was a message with a similar problem on this forum: viewtopic.php?f=3&t=224
I tried --enable-mpi-io=yes and --enable-mpi-io=no with no changes.
The advice given on that page was also:
Then the problem comes from the MPI implementation you're using. It might be related to the way it has been compiled.

You should ask your system administrator.

While I am my system administrator on my laptop, could anyone please clear what could be wrong with the used implementation of openmpi? One can see how it's configured on:
https://build.opensuse.org/package/show ... ge=openmpi
Thank you in advance.
Dmitry.

Re: cant build abinit 7.4.3+openmpi

Posted: Fri Jan 17, 2014 12:17 pm
by pouillon
There are portability issues with GCC 4.8 in version 7.4.3. Thank you for trying 7.6.1 and letting us know whether everything is fine now.

Re: cant build abinit 7.4.3+openmpi

Posted: Sat Jan 18, 2014 7:04 pm
by zwe32
Hello Yann. The problem remains for me in 7.6.1:

Code: Select all

Making all in 12_hide_mpi
make[3]: Entering directory `/home/zwe/rpmbuild/BUILD/abinit-7.6.1/src/12_hide_mpi'
/usr/lib/mpi/gcc/openmpi/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/zwe/rpmbuild/BUILD/abinit-7.6.1/fallbacks/exports/include   -ffree-form -J/home/zwe/rpmbuild/BUILD/abinit-7.6.1/src/mods  -O2 -mtune=native -march=native -g -ffree-line-length-none   -c -o m_xmpi.o m_xmpi.F90
xexch_mpi.F90:572.91:
    Included at m_xmpi.F90:2176:

(vrecv,n1*n2*n3*n4*n5,MPI_DOUBLE_PRECISION,sender,tag,spaceComm,statux,ier)
                                                                           1
Error: There is no specific subroutine for the generic 'mpi_recv' at (1)
xexch_mpi.F90:575.85:
    Included at m_xmpi.F90:2176:

I_SEND(vsend,n1*n2*n3*n4*n5,MPI_DOUBLE_PRECISION,recever,tag,spaceComm,ier)
                                                                           1
Error: There is no specific subroutine for the generic 'mpi_send' at (1)
make[3]: *** [m_xmpi.o] Error 1
make[3]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.6.1/src/12_hide_mpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zwe/rpmbuild/BUILD/abinit-7.6.1'
make: *** [all] Error 2

openmpi version:

Code: Select all

>rpm -q openmpi
openmpi-1.7.2-2.3.12.i586

I tried to compile the simplest program to test mpi (found somewhere in internet), it works as expected.