<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/libxc-install<br>#LIBINT_DIR = /home/adive/INTEL_CP2K/LIBINT/libint-install<br>#LIBSMM_DIR = /home/h012/fiona/Projects/PRACE/lib/cp2klibs-intel<br>#LIBGRID_DIR = /home/h012/fiona/Projects/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/compilers_and_libraries_2016.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_scalapack_lp64.a \<br>           $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a \<br>           $(MKLROOT)/lib/intel64/libmkl_sequential.a \<br>           $(MKLROOT)/lib/intel64/libmkl_core.a \<br>           $(MKLROOT)/lib/intel64/libmkl_intel_thread.a \<br>           $(MKLROOT)/lib/intel64/libmkl_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.1/src/mpiwrap/message_passing.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.1/src/mpiwrap/message_passing.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.1/src/mpiwrap/message_passing.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>