<div dir="ltr">Hello Aniruddha M Dive!<br><br>You mentioned you were trying to install CP2K with openmpi-1.8.6, but in your arch file you have selected intel-mpi ($(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_lp64.a), and you are also using mpiifort instead of mpif90. You might have a conflict here. The intel compiler options seem fine to me, you just need to decide if you want to use Intel-MPI or Open-MPI.<br><br>If you want Open-MPI, you could try changing "libmkl_blacs_intelmpi_lp64.a" to "libmkl_blacs_openmpi_lp64.a" and mpiifort for mpif90, and see if it works.<br><br>I hope it helps,<br>Fabio<br><br>On Thursday, December 15, 2016 at 3:27:32 AM UTC-2, Aniruddha Dive wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi I am trying to compile CP2K using intel compilers. Following is my Linux-x86-64-intel-host.psmp arch file<br># Arch file targeting Linux 64-bit using the Intel tool chain<br>#<br>CC       = icc<br>CPP      =<br>FC       = mpifort -FR<br>LD       = mpifort<br>AR       = ar -r<br><br>#LIBXC_DIR = /home/adive/INTEL_CP2K/LIBXC/<wbr>libxc-install<br>#LIBINT_DIR = /home/adive/INTEL_CP2K/LIBINT/<wbr>libint-install<br>#LIBSMM_DIR = /home/h012/fiona/Projects/<wbr>PRACE/lib/cp2klibs-intel<br>#LIBGRID_DIR = /home/h012/fiona/Projects/<wbr>PRACE/lib/cp2klibs-intel<br><br>CPPFLAGS =<br>DFLAGS   = -D__MKL -D__FFTW3 -D__parallel \<br>           -D__SCALAPACK  -D__MPI_VERSION=3 \<br>#           -I$(LIBXC_DIR)/include<br>CFLAGS   = $(DFLAGS)<br>MKLROOT = /share/apps/intel_composer/<wbr>compilers_and_libraries_2016.<wbr>0.109/linux/mkl<br>FCFLAGS  = $(DFLAGS) -O2 -g -traceback -pc64 -unroll -openmp -heap-arrays 64 -fpp -free \<br>           -I$(MKLROOT)/include -I$(MKLROOT)/include/fftw<br>FCFLAGS2  = $(DFLAGS) -O0 -g -traceback -pc64 -unroll -openmp -heap-arrays 64 -fpp -free \<br>           -I$(MKLROOT)/include -I$(MKLROOT)/include/fftw<br>LDFLAGS  = $(FCFLAGS) -static-intel<br>LDFLAGS_C = $(FCFLAGS) -static-intel -nofor-main<br>LIBS     = $(MKLROOT)/lib/intel64/libmkl_<wbr>scalapack_lp64.a \<br>           $(MKLROOT)/lib/intel64/libmkl_<wbr>intel_lp64.a \<br>           $(MKLROOT)/lib/intel64/libmkl_<wbr>sequential.a \<br>           $(MKLROOT)/lib/intel64/libmkl_<wbr>core.a \<br>           $(MKLROOT)/lib/intel64/libmkl_<wbr>intel_thread.a \<br>           $(MKLROOT)/lib/intel64/libmkl_<wbr>blacs_intelmpi_lp64.a \<br>           -lpthread -lm -openmp \<br><br>I am getting the below error when I try to compile<br><br>/home/adive/INTEL_CP2K/cp2k-4.<wbr>1/src/mpiwrap/message_passing.<wbr>F(2119): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MPI_BCAST]<br>      CALL mpi_bcast(msg, msglen, MPI_LOGICAL, source, gid, ierr)<br>-----------^<br>/home/adive/INTEL_CP2K/cp2k-4.<wbr>1/src/mpiwrap/message_passing.<wbr>F(2680): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MPI_ALLREDUCE]<br>      CALL mpi_allreduce(msg, res, msglen, MPI_LOGICAL, MPI_LOR, gid, ierr)<br>-----------^<br>/home/adive/INTEL_CP2K/cp2k-4.<wbr>1/src/mpiwrap/message_passing.<wbr>F(2883): error #6285: There is no matching specific subroutine for this generic subroutine call.   [MPI_FILE_WRITE_AT]<br>      CALL MPI_FILE_WRITE_AT(fh, offset, msg, LEN(msg), MPI_CHARACTER, MPI_STATUS_IGNORE, ierr)<br>-----------^<br><br>I am using Intel_Compiler 2016, MKL_2016 and openmpi-1.8.6<br><br>Kindly let me know what could be the issue.<br><br>Regards,<br>Aniruddha M Dive<br><br></div></blockquote></div>