must have an explicit type. [MPI_2COMPLEX]

Amit Patel amita... at gmail.com
Mon Jan 4 13:20:27 CET 2010


Dear Teodoro
Thanks a lot for prompt reply.

Since we are using HP MPI on our cluster, I wanted to compile with the
same. Please guide me if possible.

Meanwhile i will try to compile with MPICH2 also.

Thanking you.

-amit


On Jan 4, 4:20 pm, Teodoro Laino <teodor... at gmail.com> wrote:
> 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/7da466187cd1...
>
> 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 athttp://groups.google.com/group/cp2k?hl=en.



More information about the CP2K-user mailing list