hfp/xconfigure

Issue with the arch file of CP2K

highlight0112 opened this issue · 5 comments

When compiling the development version of CP2K with the intel compiler and Linux-x86-64-intelx arch, an error occurs:

/srv/cp2k/src/mp2_eri.F(32): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [DBCSR_API]

Including the path to dbcsr library in line 676 of the arch file may be a solution.

hfp commented

Is this with CP2K master?

Yes, this may be caused by the dbcsr's directory moving from src/ to exts/, I think.

hfp commented

This issue is resolved with today's Linux-x86-64-intelx.* files. It has been tested with both Intel Compiler and GNU Compiler Collection (see below).

make ARCH=Linux-x86-64-intelx VERSION=psmp \
  ELPAROOT=~/elpa/default-skx-omp \
  LIBINTROOT=~/libint/default-skx \
  LIBXCROOT=~/libxc/default-skx

make ARCH=Linux-x86-64-intelx VERSION=psmp \
  ELPAROOT=~/elpa/gnu-skx-omp \
  LIBINTROOT=~/libint/gnu-skx \
  LIBXCROOT=~/libxc/gnu-skx \
  GNU=1
hfp commented

As implied by "today's Linux-x86-64-intelx.* files", the fix requires to update to today's revision of the fork or alternatively to get only the ARCH-files.

hfp commented

Please feel free to reopen the issue if you still encounter a problem.