<div dir="ltr">A<div><br></div><div>> module list</div><div><br></div><div>might be handy, too.<br><br>On Thursday, August 1, 2019 at 3:35:13 PM UTC+1, S. Ling wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>Hi</div><div><br>I was trying to compile the latest version of CP2K on ARCHER (Cray XC30), and for some reason, the compilation failed at the dbcsr_mpiwrap.F step (see error message below). Do you have any idea on what could go wrong? Please also see below for the arch file I have used.</div><div> </div><div>Thanks,</div><div> </div><div>SL</div><div> </div><div>##########</div><div>/home3/xxx/ChemSoft/cp2k/exts/<wbr>dbcsr/src/mpi/dbcsr_mpiwrap.F:<wbr>4164:28:</div><div> </div><div> SUBROUTINE mp_sum_root_${nametype1}$m(<wbr>msg, root, gid)</div><div> 2</div><div>Error: Ambiguous interfaces in generic interface 'mp_sum' for 'mp_sum_root_zv' at (1) and 'mp_sum_root_zm' at (2)</div><div>/home3/xxx/ChemSoft/cp2k/exts/<wbr>dbcsr/src/mpi/dbcsr_mpiwrap.F:<wbr>4209:31-31:</div><div> </div><div> SUBROUTINE mp_sum_partial_${nametype1}$m(<wbr>msg, res, gid)</div><div> 1</div><div>Error: Ambiguous interfaces in generic interface 'mp_sum_partial' for 'mp_sum_partial_cm' at (1) and 'mp_sum_partial_zm' at (2)</div><div>make[4]: *** [dbcsr_mpiwrap.o] Error 1</div><div>make[3]: *** [libdbcsr] Error 2</div><div>make[2]: *** [dbcsr] Error 2</div><div>make[1]: *** [popt] Error 2</div><div>make: *** [all] Error 2</div><div> </div><div> </div><div><br></div><div>##########</div><div>CC = cc<br>CPP =<br>FC = ftn -ffree-form <br>LD = ftn <br>AR = ar -r<br>DFLAGS = -D__FFTW3 -D__LIBINT \<br> -D__parallel -D__SCALAPACK -D__HAS_NO_SHARED_GLIBC \<br> -D__STATM_RESIDENT -D__LIBXC -D__LIBXSMM -D__HAS_LIBGRID \<br> -D__PLUMED2 -D__MPI_VERSION=3 -D__ELPA=201505 -D__MAX_CONTR=4</div><div>DATA_DIR = /work/y07/y07/cp2k/6.1.18464/<wbr>data<br>LIB_LOC = /usr/local/packages/cp2k/6.1.<wbr>18464/libs<br>LIBXC_VERSION = 4.2.1<br>CPPFLAGS = -traditional -C $(DFLAGS) -P<br>CFLAGS = $(DFLAGS)<br>FCFLAGS = $(DFLAGS) -I$(LIB_LOC)/libxsmm/include -I$(LIB_LOC)/libxc/${LIBXC_<wbr>VERSION}/include/ -I$(LIB_LOC)/elpa/include/<wbr>elpa-2015.05.001/modules/ -I$(LIB_LOC)/elpa/include<br>/elpa-2015.05.001/elpa/ -O3 -ffast-math -funroll-loops -fno-tree-vectorize -fno-omit-frame-pointer -g -march=core-avx-i -Waliasing -Wampersand -Wc-binding-type -Wconversion<br> -Wintrinsic-shadow -Wintrinsics-std -Wline-truncation -Wno-tabs -Wrealloc-lhs-all -Wtarget-lifetime -Wunderflow -Wunused-but-set-variable -Wunused-variable -std=f2003<br>LDFLAGS = $(FCFLAGS)<br>LIBS = -L$(LIB_LOC)/libint/lib -lderiv -lint -lstdc++ \<br> -L$(LIB_LOC)/libgrid -lgrid \<br> -L$(LIB_LOC)/libxsmm/lib -lxsmmf -lxsmm -lxsmmext \<br> -L$(LIB_LOC)/libxc/${LIBXC_<wbr>VERSION}/lib -lxcf03 -lxcf90 -lxc \<br> -L$(LIB_LOC)/elpa/lib -lelpa \<br> -lfftw3 -lz -ldl</div><div>include $(LIB_LOC)/plumed/lib/plumed/<wbr>src/lib/Plumed.inc<br>EXTERNAL_OBJECTS=$(PLUMED_<wbr>STATIC_DEPENDENCIES)</div><div><br></div><div><br></div><div><font color="#000000" face="Times New Roman" size="3">
<br></font></div></div></blockquote></div></div>