must have an explicit type. [MPI_2COMPLEX]

Amit Patel amita... at gmail.com
Mon Jan 4 11:13:31 UTC 2010


Hello,

I trying to compile cp2k parallel version on cluster. getting
following error :-

*******************************
mpif90  -c -D__INTEL -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3 -I-
I/sfs1/intel_012008/mkl/10.0.011/include -I/sfs1/intel_012008/mkl/
10.0.011/include/fftw -O3 -xW -heap-arrays 64 -funroll-loops -fpp -
free -D__COMPILE_ARCH="\"Linux-x86-64-intel-jnc\"" -
D__COMPILE_DATE="\"Mon Jan  4 16:00:53 IST 2010\"" -
D__COMPILE_HOST="\"n138\"" -D__COMPILE_LASTCVS="\"/termination.F/1.39/
Wed Dec 23 04:35:04 2009//\"" /sfs3/home/amit/compilledpackages/
cp2k_rnd/makefiles/../src/message_passing.F
fortcom: Error: /sfs3/home/amit/compilledpackages/cp2k_rnd/
makefiles/../src/message_c_passing.F, line 1148: This name does not
have a type, and must have an explicit type.   [MPI_2COMPLEX]
    CALL mpi_allreduce(msg,res,1,MPI_2COMPLEX,MPI_MAXLOC,gid, ierr)
---------------------------------^
fortcom: Error: /sfs3/home/amit/compilledpackages/cp2k_rnd/
makefiles/../src/message_z_passing.F, line 1148: This name does not
have a type, and must have an explicit type.   [MPI_2DOUBLE_COMPLEX]
    CALL mpi_allreduce(msg,res,1,MPI_2DOUBLE_COMPLEX,MPI_MAXLOC,gid,
ierr)
---------------------------------^
compilation aborted for /sfs3/home/amit/compilledpackages/cp2k_rnd/
makefiles/../src/message_passing.F (code 1)
make[1]: *** [message_passing.o] Error 1
make[1]: Leaving directory `/sfs3/home/amit/compilledpackages/cp2k_rnd/
obj/Linux-x86-64-intel-jnc/popt'
make: *** [build] Error 2
[amit at n138 makefiles]$
******************************************


My make file configuration is :  "Linux-x86-64-intel.popt"

CC       = cc
CPP      =
FC       = mpif90
LD       = mpif90
AR       = ar -r
DFLAGS   = -D__INTEL -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3
#-D_FFTSG
INTEL_INC= -I/sfs1/intel_012008/mkl/10.0.011/include -I/sfs1/
intel_012008/mkl/10.0.011/include/fftw
INTEL_LIB= /sfs1/intel_012008/mkl/10.0.011/lib/em64t
MKLPATH  = /sfs1/intel_012008/mkl/10.0.011/lib/em64t
CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC)
FCFLAGS  = $(DFLAGS) -I$(INTEL_INC) -O3 -xW -heap-arrays 64 -funroll-
loops -fpp -free
FCFLAGS2 = $(DFLAGS) -I$(INTEL_INC) -O1 -xW -heap-arrays 64 -fpp -free
LDFLAGS  = $(FCFLAGS) -I$(INTEL_INC)
LIBS    = -L$(MKLPATH) -lfftw3xf_intel $MKLPATH/libmkl_solver_lp64.a -
Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/
libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -
lpthread


Please help.

Thanking you.



More information about the CP2K-user mailing list