m_xmpi.f90 failure?

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
gjenness
Posts: 2
Joined: Mon Aug 08, 2011 7:58 pm

m_xmpi.f90 failure?

Post by gjenness » Mon Aug 08, 2011 8:08 pm

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.
Attachments
config.log
(154.58 KiB) Downloaded 262 times

gjenness
Posts: 2
Joined: Mon Aug 08, 2011 7:58 pm

Re: m_xmpi.f90 failure?

Post by gjenness » Thu Aug 25, 2011 5:39 pm

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.

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: m_xmpi.f90 failure?

Post by pouillon » Thu Aug 25, 2011 6:55 pm

Try with:

Code: Select all

--with-mpi-level=1
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked