【Solved】Compiling error in 12_hide_mpi by PathScale
Posted: Sat Apr 14, 2012 1:56 pm
I am using PathScale ( the nightly version which can be downloaded from http://www.pathscale.com/ekopath-compiler-suite ) for mpich2 and pathscale compiling.
The system is Red Hat Enterprise Linux 6.2 x86_64 Server, and mpich2 is the 1.4.1p version.
I have compiled MPICH2 by
Then, after add the {mpich_install}/bin to the environment variable, I began configurate Abinit 6.12.3 by
Then, I use to run the compile process, until the error happen:
Since my CPU is AMD Phenom II x6, I think PathScale should provide better speed and compatity than ifort does. How can I overcome this problem? Any suggestion will be welcome.
The system is Red Hat Enterprise Linux 6.2 x86_64 Server, and mpich2 is the 1.4.1p version.
I have compiled MPICH2 by
Code: Select all
./configure --preifx=xxx FC=pathf90 FCFLAGS=-O3 --with-romio --disable-weak-symbols --enable-f90modules
Then, after add the {mpich_install}/bin to the environment variable, I began configurate Abinit 6.12.3 by
Code: Select all
./configure --prefix=xxx --enable-mpi=yes FC=mpif90 --with-dft-flavor="libxc"
Then, I use
Code: Select all
make mj4
mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/home/vbox/Downloads/abinit-6.12.3/fallbacks/exports/include -freeform -module /home/vbox/Downloads/abinit-6.12.3/src/mods -O2 -g -extend-source -c -o interfaces_12_hide_mpi.o interfaces_12_hide_mpi.F90
MODULE m_xmpi
^
pathf95-855 pathf90: ERROR M_XMPI, File = m_xmpi.F90, Line = 30, Column = 8
The compiler has detected errors in module "M_XMPI". No module information file will be created for this module.
call MPI_Type_hvector(ny,1,stride_x,column_type,new_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_2D, File = m_xmpi.F90, Line = 2214, Column = 29
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
call MPI_Type_hvector(ny,1,stride_x,column_type,plane_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_3D, File = m_xmpi.F90, Line = 2297, Column = 29
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
call MPI_Type_hvector(nz,1,ldy*stride_x,plane_type,new_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_3D, File = m_xmpi.F90, Line = 2299, Column = 32
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
call MPI_Type_hvector(ny,1,stride_x,column_type,plane_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_4D, File = m_xmpi.F90, Line = 2383, Column = 29
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
call MPI_Type_hvector(nz,1,ldy*stride_x,plane_type,vol_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_4D, File = m_xmpi.F90, Line = 2385, Column = 32
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
call MPI_Type_hvector(na,1,ldz*ldy*stride_x,vol_type,new_type,mpi_err)
^
pathf95-1307 pathf90: ERROR XMPIO_CREATE_FSUBARRAY_4D, File = m_xmpi.F90, Line = 2387, Column = 36
The kind (4) of this actual argument does not match that of its associated dummy argument (8).
pathf95: PathScale(TM) Fortran Version 4.0.12.1 (f14) Sat Apr 14, 2012 17:20:47
pathf95: 14684 source lines
pathf95: 7 Error(s), 0 Warning(s), 0 Other message(s), 0 ANSI(s)
pathf95: "explain pathf95-message number" gives more information about each message
make[5]: *** [m_xmpi.o] Error 1
make[5]: Leaving directory `....
Since my CPU is AMD Phenom II x6, I think PathScale should provide better speed and compatity than ifort does. How can I overcome this problem? Any suggestion will be welcome.