[CP2K:2488] must have an explicit type. [MPI_2COMPLEX]

Teodoro Laino teodor... at gmail.com
Mon Jan 4 11:20:57 UTC 2010


Dear Amit (?),

Since May 2009, cp2k compiles only with MPI-2.
Your installation looks based on MPI-1.
Check also this post:

http://groups.google.com/group/cp2k/browse_thread/thread/7da466187cd105df/7e2bf80d7fc29424?lnk=gst&q=mpi+2#7e2bf80d7fc29424

Teo

Amit Patel wrote:
> 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.
>
> --
>
> You received this message because you are subscribed to the Google Groups "cp2k" group.
> To post to this group, send email to cp... at googlegroups.com.
> To unsubscribe from this group, send email to cp2k+uns... at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.
>
>
>   




More information about the CP2K-user mailing list