<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><div>Dear all,</div><div><br></div><div>I used the toolchain to set the environment, and the result (attached as toolchain.log) looks fine. Errors appear when compiling cp2k-8.1 with intel 18.0.5. Here is part of them extracted from the make.log (attached):</div><div><br></div><div>cmp: CP2K/cp2k-8.1_t0608/cp2k-8.1/obj/git-ref: No such file or directory</div><div>cp2k-8.1/src/grid/ref/grid_ref_task_list.c(446): error #3656: variable "old_transpose" may be used before its value is set  store_hab(old_ibasis, old_jbasis, old_iset, old_jset, old_transpose,                                                              </div><div>compilation aborted for CP2K/cp2k-8.1_t0608/cp2k-8.1/src/grid/ref/grid_ref_task_list.c (code 2)</div><div>make[3]: *** [grid_ref_task_list.o] Error 2</div><div>make[3]: *** Waiting for unfinished jobs....</div><div><br></div><div>cp2k-8.1/src/grid/ref/../common/grid_prepare_pab.h(349): error #279: controlling expression is constant assert</div><div>cp2k-8.1_t0608/cp2k-8.1/src/grid/ref/grid_ref_prepare_pab.c(32): error #188: enumerated type mixed with another type const</div><div>cp2k-8.1/src/grid/cpu/grid_context_cpu.c(24): error #191: type qualifier is meaningless on cast type</div><div>cp2k-8.1/src/grid/cpu/grid_integrate_dgemm.c(746): error #167: argument of type "double (*)[3]" is incompatible with parameter of type "const double (*)[3]"</div><div><br></div><div>compilation aborted for /CP2K/cp2k-8.1_t0608/cp2k-8.1/src/grid/cpu/grid_integrate_dgemm.c (code 2)</div><div>compilation aborted for /CP2K/cp2k-8.1_t0608/cp2k-8.1/src/grid/cpu/grid_collocate_dgemm.c (code 2)</div><div>make[3]: *** [grid_integrate_dgemm.o] Error 2</div><div>make[3]: *** [grid_collocate_dgemm.o] Error 2</div><div>make[2]: *** [all] Error 2</div><div>make[1]: *** [psmp] Error 2</div><div>make: *** [all] Error 2</div><div><br></div><div>My arch file is automatically generated with first few lines as following:</div><div><br></div><div>CC          = icc</div><div>CXX         = icpc</div><div>AR          = ar -r</div><div>FC          = mpiifort</div><div>LD          = mpiifort</div><div>#</div><div>DFLAGS      = -D__LIBXSMM  -D__parallel  -D__MKL -D__FFTW3  -D__LIBINT -D__LIBXC -D__COSMA -D__ELPA -D__LIBPEXSI -D__PLUMED2 -D__GSL -D__HDF5 -D__LIBVDWXC -D__SPGLIB -D__LIBVORI -D__SPFFT -D__SIRIUS  </div><div>#</div><div>WFLAGS      =   </div><div>#</div><div>FCDEBFLAGS  =  </div><div><br></div><div>Could you give me advice to fix the problem? Thanks!!</div><div><br></div><div>Best regards,</div><div>Billy Tian</div></div>