Page 1 of 1

[Solved] Compilation error for abinit 6.12.3 on m_xmpi.F90

Posted: Thu May 24, 2012 3:40 pm
by lumbrius
Hello!
I get following error message as result of compilation:

Code: Select all

Making all in 12_hide_mpi
make[3]: Entering directory `/home2/fian1/tikhonov/abinit-6.12.3/src/12_hide_mpi'
mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home2/fian1/tikhonov/abinit-6.12.3/fallbacks/exports/include   -free -module /home2/fian1/tikhonov/abinit-6.12.3/src/mods -O2 -xHost -g -extend-source -vec-report0 -noaltparam -nofpscomp  -c -o m_xmpi.o m_xmpi.F90
m_xmpi.F90(1674): error #6633: The type of the actual argument differs from the type of the dummy argument.   [BLOCK_DISPL]
 call MPI_TYPE_STRUCT(ncount,block_length,block_displ,block_type,new_type,mpi_err)
------------------------------------------^
compilation aborted for m_xmpi.F90 (code 1)
make[3]: *** [m_xmpi.o] Error 1
make[3]: Leaving directory `/home2/fian1/tikhonov/abinit-6.12.3/src/12_hide_mpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home2/fian1/tikhonov/abinit-6.12.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/fian1/tikhonov/abinit-6.12.3'
make: *** [all] Error 2


MPI version is

MPICH Version: 1.2.7
MPICH Release date: $Date: 2005/06/22 16:33:49$
MPICH Patches applied: none
MPICH configure: --with-device=ch_gen2 --with-arch=LINUX -prefix=/opt/mvapich-1.2rc1 --with-romio --enable-sharedlib --without-mpe -lib=-L/usr/lib64 -Wl,-rpath=/usr/lib64 -libverbs -libumad -lpthread
MPICH Device: ch_gen2


configure parameters are

CXX=mpicxx CC=mpicc FC=mpif90 ./configure --enable-mpi --with-mpi-libs="-L/usr/lib64 -libverbs -libumad -lpthread"


I guess that problem is that configure tells me

checking whether the MPI library supports MPI_CREATE_TYPE_STRUCT... no


But I have no idea how to solve it... please help :)

Re: [Solved] Compilation error for abinit 6.12.3 on m_xmpi.F

Posted: Thu May 24, 2012 8:49 pm
by lumbrius
Solved by adding --disable-mpi-io to configure options