Page 1 of 1

m_xmpi.f90 failure?

Posted: Mon Aug 08, 2011 8:08 pm
by gjenness
I'm working on compiling v.6.8.1 in parallel, and I keep getting this error:

Code: Select all

mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs   -free -module /home/gjenness/programs/abinit-6.8.1/src/mods -O2 -arch pn4 -tune pn4 -ip -mcmodel=large -xT -g -extend-source -vec-report0  -c -o m_xmpi.o m_xmpi.F90
fpp: warning: macro redefined: __INTEL_COMPILER
fortcom: Error: m_xmpi.F90, line 1523: 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 `/home/gjenness/programs/abinit-6.8.1/src/12_hide_mpi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gjenness/programs/abinit-6.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gjenness/programs/abinit-6.8.1'
make: *** [all] Error 2


I'm on a LINUX x86_64 machine, and I have as my configure options:

Code: Select all

./configure --prefix=/home/gjenness/programs/abinit-6.8.1 FC=mpif90 CC=mpicc XPP=mpicc --enable-mpi --with-mpi-level=2


I'm attaching my config.log.

Re: m_xmpi.f90 failure?

Posted: Thu Aug 25, 2011 5:39 pm
by gjenness
I want to give this a bump as I'm still struggling with this problem and I've gotten no response in over 2 weeks. I can build it in serial just fine, but when I try to compile it with MPI support I get the error shown in my original post. Any help would be welcomed.

Re: m_xmpi.f90 failure?

Posted: Thu Aug 25, 2011 6:55 pm
by pouillon
Try with:

Code: Select all

--with-mpi-level=1