<div dir="ltr">Hey Alfio and Michael,<br><br>Thank you for your help! I've gotten much farther with compiling this than before! With that said, I'm not sure the ELPA issue has been fixed: after adding BLAS and LAPACK to LIBS in Linux-x86-64-gfortran.popt (see below for contents of file), I get a new compile error, that seems to reference ELPA2:<br><br>/usr/local/openmpi-1.8.4/bin/mpif90 -D__FFTW3 -D__LIBINT -D__ELPA3 -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4 -D__parallel -D__SCALAPACK -O2 -ffast-math -ffree-form -ffree-line-length-none -ftree-vectorize -funroll-loops -mtune=native -I/usr/local/fftw-3.3.4/include -I/usr/local/libint-1.1.4/include -I/usr/local/elpa-2015.11.001/include/elpa/modules -D__COMPILE_ARCH="\"Linux-x86-64-gfortran\"" -D__COMPILE_DATE="\"Tue Jan 19 10:25:00 MST 2016\"" -D__COMPILE_HOST="\"du-hpc\"" -D__COMPILE_REVISION="\"svn:16458\"" -D__DATA_DIR="\"/root/c/cp2k-3.0/data\"" -L -L/lib64 -L/root/c/cp2k-3.0/lib/Linux-x86-64-gfortran/popt -o /root/c/cp2k-3.0/exe/Linux-x86-64-gfortran/cp2k_shell.popt cp2k_shell.o -lcp2kstart -lcp2kmc -lcp2kswarm -lcp2kmotion -lcp2kthermostat -lcp2kemd -lcp2ktmc -lcp2kmain -lcp2khfxbase -lcp2ksubsys -lcp2kxc -lcp2kao -lcp2kinput -lcp2kpw -lcp2kfft -lcp2kdbcsrwrap -ldbcsr -ldbcsrarnoldi -ldbcsrvec -ldbcsrmm -ldbcsrops -ldbcsrbblock -ldbcsrbdist -ldbcsrbase -ldbcsrdata -ldbcsrerr -lmicsmm -lclsmm -lcp2kacc -lcp2kaccmic -lcp2kaccopencl -lcp2kfm -lcp2kcommon -lcp2kmpiwrap -lcp2kgrid -lcp2kbase /usr/local/scalapack-2.0.2-gcc/lib/libscalapack-gnu.a /usr/local/fftw-3.3.4/lib/libfftw3.a /usr/local/libint-1.1.4/lib/libderiv.a /usr/local/libint-1.1.4/lib/libint.a /usr/local/lapack-3.5.0/lib/liblapack.a -L/usr/local/blas-3.5.0/lib/libblas -lblas -L/usr/local/elpa-2015.11.001/lib/libelpa_openmp.a<br>/usr/bin/ld: Warning: size of symbol `build_deriv1_eri' changed from 10368 in /root/c/cp2k-3.0/lib/Linux-x86-64-gfortran/popt/libcp2kmain.a(hfx_libint_wrapper.o) to 2048 in /usr/local/libint-1.1.4/lib/libderiv.a(init_libderiv.o)<br>/usr/bin/ld: Warning: size of symbol `build_eri' changed from 19208 in /root/c/cp2k-3.0/lib/Linux-x86-64-gfortran/popt/libcp2kmain.a(hfx_libint_wrapper.o) to 5000 in /usr/local/libint-1.1.4/lib/libint.a(init_libint.o)<br>/root/c/cp2k-3.0/lib/Linux-x86-64-gfortran/popt/libcp2kfm.a(cp_fm_diag.o): In function `__cp_fm_diag_MOD_choose_eigv_solver':<br>cp_fm_diag.F:(.text+0x3514): undefined reference to `__elpa2_MOD_solve_evp_real_2stage'<br>collect2: error: ld returned 1 exit status<br><br>Looking in cp2k/src/fm/cp_fm_diag.F, I see these three line, at line 60:<br><br>#if defined (__ELPA) || defined(__ELPA2) || defined(__ELPA3)<br> USE ELPA2, ONLY: solve_evp_real_2stage<br>#endif<br><br>Could this be the issue?<br><br>Contents of Linux-x86-64-gfortran.popt:<br><br>CC = /usr/local/openmpi-1.8.4/bin/mpicc<br>CPP =<br>FC = /usr/local/openmpi-1.8.4/bin/mpif90<br>LD = /usr/local/openmpi-1.8.4/bin/mpif90<br>AR = /usr/bin/ar -r<br>BLAS_LIB = /usr/local/blas-3.5.0/lib<br>LAPACK_LIB = /usr/local/lapack-3.5.0/lib<br>ELPA_LIB = /usr/local/elpa-2015.11.001/lib<br>ELPA_INC = /usr/local/elpa-2015.11.001/include/elpa/modules<br>FFTW_INC = /usr/local/fftw-3.3.4/include<br>FFTW_LIB = /usr/local/fftw-3.3.4/lib<br>LIBINT_INC = /usr/local/libint-1.1.4/include<br>LIBINT_LIB = /usr/local/libint-1.1.4/lib<br>MPI_LIBRARY_PATH = /usr/local/scalapack-2.0.2-gcc/lib<br>DFLAGS = -D__FFTW3 -D__LIBINT -D__ELPA3\<br> -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4\<br> -D__parallel -D__SCALAPACK<br>CPPFLAGS =<br>FCFLAGS = $(DFLAGS) -O2 -ffast-math -ffree-form -ffree-line-length-none\<br> -ftree-vectorize -funroll-loops\<br> -mtune=native\<br> -I$(FFTW_INC) -I$(LIBINT_INC) -I$(ELPA_INC)<br>LDFLAGS = $(FCFLAGS) -L$(LIBINT_PATH) -L${FFTW3_PATH}/lib64<br>LIBS = $(MPI_LIBRARY_PATH)/libscalapack-gnu.a\<br> $(FFTW_LIB)/libfftw3.a\<br> $(LIBINT_LIB)/libderiv.a\<br> $(LIBINT_LIB)/libint.a\<br> $(LAPACK_LIB)/liblapack.a\<br> -L$(BLAS_LIB)/libblas -lblas\<br> -L$(ELPA_LIB)/libelpa_openmp.a<br><br>And output of "env" for consistency:<br><br>MODULE_VERSION_STACK=3.2.6<br>MANPATH=/usr/local/python/2.7.3/share/man:/usr/local/libpng-1.4.13/share/man:/usr/local/freetype-2.5.3/share/man:/usr/local/openmpi-1.8.4/share/man:/usr/local/gcc-4.9.2/man:/usr/local/gmp-5.0.5/share/info:/usr/local/mpfr-3.1.1/share/doc/mpfr:/usr/local/mpc-1.0.1/share/info:/usr/local/torque/share/man:/usr/local/Modules/3.2.6/share/man:/usr/local/Modules/3.2.6/man<br>HOSTNAME=du-hpc<br>MPICC=/usr/local/openmpi-1.8.4/bin/mpicc<br>SHELL=/bin/bash<br>TERM=xterm<br>HISTSIZE=1000<br>QTDIR=/usr/lib64/qt-3.3<br>QTINC=/usr/lib64/qt-3.3/include<br>F90FLAGS=-I/usr/local/gcc-4.9.2/include -L/usr/local/gcc-4.9.2/lib64<br>USER=root<br>LD_LIBRARY_PATH=/usr/local/fftw-3.3.4/lib:/usr/local/elpa-2015.11.001/lib:/usr/local/scalapack-2.0.2-gcc/lib:/usr/local/lapack-3.5.0/lib:/usr/local/blas-3.5.0/lib:/usr/local/libint-1.1.4/lib:/usr/local/python/2.7.3/lib:/usr/local/libpng-1.4.13/lib:/usr/local/freetype-2.5.3/lib:/usr/local/openmpi-1.8.4/lib:/usr/local/openmpi-1.8.4/lib/openmpi:/usr/local/openmpi-1.8.4/lib/pkgconfig:/usr/local/gcc-4.9.2/lib64:/usr/local/gmp-5.0.5/lib:/usr/local/mpfr-3.1.1/lib:/usr/local/mpc-1.0.1/lib:/usr/local/maui/lib:/usr/local/torque/lib<br>LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:<br>CXXFLAGS=-I/usr/local/gcc-4.9.2/include -L/usr/local/gcc-4.9.2/lib64<br>CPP=/usr/local/openmpi-1.8.4/bin/<br>MODULE_VERSION=3.2.6<br>MAIL=/var/spool/mail/root<br>PATH=/usr/local/elpa-2015.11.001/bin:/usr/local/python/2.7.3/bin:/usr/local/libpng-1.4.13/bin:/usr/local/freetype-2.5.3/bin:/usr/local/openmpi-1.8.4/bin:/usr/local/gcc-4.9.2/bin:/usr/local/maui/bin:/usr/local/maui/sbin:/usr/local/torque/bin:/usr/local/torque/sbin:/usr/local/Modules/3.2.6/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/aspendata/sbin:/root/bin<br>LD_RUN_PATH=/usr/local/gcc-4.9.2/lib64<br>F90=/usr/local/gcc-4.9.2/bin/gfortran<br>PWD=/root/c/cp2k-3.0/arch<br>_LMFILES_=/usr/local/Modules/modulefiles/null:/usr/local/Modules/modulefiles/modules:/usr/local/Modules/modulefiles/tools/torque-maui:/usr/local/Modules/modulefiles/tools/mpc-1.0.1:/usr/local/Modules/modulefiles/tools/mpfr-3.1.1:/usr/local/Modules/modulefiles/tools/gmp-5.0.5:/usr/local/Modules/modulefiles/compilers64/gcc-4.9.2:/usr/local/Modules/modulefiles/mpi2/openmpi-1.8.4-GCC.64.IB:/usr/local/Modules/modulefiles/tools/freetype-2.5.3:/usr/local/Modules/modulefiles/tools/libpng-1.4.13:/usr/local/Modules/modulefiles/tools/python-2.7.3:/usr/local/Modules/modulefiles/tools/libint-1.1.4:/usr/local/Modules/modulefiles/tools/blas-3.5.0:/usr/local/Modules/modulefiles/tools/lapack-3.5.0:/usr/local/Modules/modulefiles/tools/scalapack-2.0.2-gcc:/usr/local/Modules/modulefiles/tools/elpa-2015.11.001:/usr/local/Modules/modulefiles/tools/fftw-3.3.4-gcc<br>LANG=en_US.UTF-8<br>MODULEPATH=/usr/local/Modules/versions:/usr/local/Modules/$MODULE_VERSION/modulefiles:/usr/local/Modules/modulefiles:<br>LOADEDMODULES=null:modules:tools/torque-maui:tools/mpc-1.0.1:tools/mpfr-3.1.1:tools/gmp-5.0.5:compilers64/gcc-4.9.2:mpi2/openmpi-1.8.4-GCC.64.IB:tools/freetype-2.5.3:tools/libpng-1.4.13:tools/python-2.7.3:tools/libint-1.1.4:tools/blas-3.5.0:tools/lapack-3.5.0:tools/scalapack-2.0.2-gcc:tools/elpa-2015.11.001:tools/fftw-3.3.4-gcc<br>F77=/usr/local/gcc-4.9.2/bin/gfortran<br>F77FLAGS=-I/usr/local/gcc/4.9.2-include -L/usr/local/gcc-4.9.2/lib64<br>CXX=/usr/local/openmpi-1.8.4/bin/mpic++<br>SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass<br>HISTCONTROL=ignoredups<br>SHLVL=1<br>HOME=/root<br>GCCHOME=/usr/local/gcc-4.9.2<br>CFLAGS=-I/usr/local/gcc-4.9.2/include -L/usr/local/gcc-4.9.2/lib64<br>MPIHOME=/usr/local/openmpi-1.8.4<br>FC=/usr/local/openmpi-1.8.4/bin/mpif90<br>LOGNAME=root<br>QTLIB=/usr/lib64/qt-3.3/lib<br>CVS_RSH=ssh<br>MODULESHOME=/usr/local/Modules/3.2.6<br>LESSOPEN=||/usr/bin/lesspipe.sh %s<br>CC=/usr/local/openmpi-1.8.4/bin/mpicc<br>DISPLAY=localhost:11.0<br>INCLUDE=/usr/local/elpa-2015.11.001/include:/usr/local/libint-1.1.4/include/libint:/usr/local/libint-1.1.4/include/libderiv:/usr/local/libint-1.1.4/include/libr12:/usr/local/python/2.7.3/include/python2.7:/usr/local/libpng-1.4.13/include:/usr/local/freetype-2.5.3/include/freetype2:/usr/local/openmpi-1.8.4/include:/usr/local/gmp-5.0.5/include:/usr/local/mpfr-3.1.1/include:/usr/local/mpc-1.0.1/include<br>G_BROKEN_FILENAMES=1<br>FFLAGS=-I/usr/local/gcc-4.9.2/include -L/usr/local/gcc-4.9.2/lib64<br>XAUTHORITY=/root/.xauthpaXwBQ<br>_=/bin/env<br>OLDPWD=/root/c/cp2k-3.0<br><br>Thanks for your assistance!<br><br>Ben<br><br>On Saturday, January 16, 2016 at 6:29:04 AM UTC-7, Alfio Lazzaro 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 Ben,</div><div>it seems that ELPA problem is fixed. Now you are missing BLAS library linking, indeed I don't see the library in LIBS inside your arch file.</div><div>I think your directory is</div><div><br></div><div>/usr/local/blas-3.5.0/lib<br></div><div><br></div><div>and the library should be -lrefblas</div><div><br></div><div>Alfio</div><br><br>Il giorno venerdì 15 gennaio 2016 17:23:08 UTC+1, Ben Fotovich ha scritto:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Michael,<br><br>When I modify cp2k-3.0/arch/Linux-x86-64-<wbr>gfortran.popt and change -D__ELPA2 to -D__ELPA3, below is what happens when I try to compile:<br><br>/usr/local/openmpi-1.8.4/bin/<wbr>mpif90 -D__FFTW3 -D__LIBINT -D__ELPA3 -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4 -D__parallel -D__SCALAPACK -O2 -ffast-math -ffree-form -ffree-line-length-none -ftree-vectorize -funroll-loops -mtune=native -I/usr/local/fftw-3.3.4/<wbr>include -I/usr/local/libint-1.1.4/<wbr>include -I/usr/local/elpa-2015.11.001/<wbr>include/elpa/modules -D__COMPILE_ARCH="\"Linux-x86-<wbr>64-gfortran\"" -D__COMPILE_DATE="\"Fri Jan 15 09:11:28 MST 2016\"" -D__COMPILE_HOST="\"du-hpc\"" -D__COMPILE_REVISION="\"svn:<wbr>16458\"" -D__DATA_DIR="\"/root/c/cp2k-<wbr>3.0/data\"" -L -L/lib64 -L/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt -o /root/c/cp2k-3.0/exe/Linux-<wbr>x86-64-gfortran/dbcsr_<wbr>performance_driver.popt dbcsr_performance_driver.o -ldbcsr -ldbcsrarnoldi -ldbcsrvec -ldbcsrmm -ldbcsrops -ldbcsrbblock -ldbcsrbdist -ldbcsrbase -ldbcsrdata -ldbcsrerr -lcp2kmpiwrap -lmicsmm -lclsmm -lcp2kacc -lcp2kaccmic -lcp2kaccopencl -lcp2kbase /usr/local/scalapack-2.0.2-<wbr>gcc/lib/libscalapack-gnu.a /usr/local/fftw-3.3.4/lib/<wbr>libfftw3.a /usr/local/libint-1.1.4/lib/<wbr>libderiv.a /usr/local/libint-1.1.4/lib/<wbr>libint.a -L/usr/local/elpa-2015.11.001/<wbr>lib/libelpa_openmp.a<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/libdbcsr.<wbr>a(dbcsr_test_methods.o): In function `__dbcsr_test_methods_MOD_<wbr>dbcsr_make_random_matrix':<br>dbcsr_test_methods.F:(.text+<wbr>0x1198): undefined reference to `dlarnv_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrmm.a(dbcsr_mm_hostdrv.<wbr>o): In function `__dbcsr_mm_hostdrv_MOD_blas_<wbr>process_mm_stack_s':<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x98): undefined reference to `sgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x109): undefined reference to `sgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x175): undefined reference to `sgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x1cb): undefined reference to `sgemm_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrmm.a(dbcsr_mm_hostdrv.<wbr>o): In function `__dbcsr_mm_hostdrv_MOD_blas_<wbr>process_mm_stack_d':<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x288): undefined reference to `dgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x2f9): undefined reference to `dgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x365): undefined reference to `dgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x3bb): undefined reference to `dgemm_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrmm.a(dbcsr_mm_hostdrv.<wbr>o): In function `__dbcsr_mm_hostdrv_MOD_blas_<wbr>process_mm_stack_c':<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x478): undefined reference to `cgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x4e9): undefined reference to `cgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x555): undefined reference to `cgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x5ab): undefined reference to `cgemm_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrmm.a(dbcsr_mm_hostdrv.<wbr>o): In function `__dbcsr_mm_hostdrv_MOD_blas_<wbr>process_mm_stack_z':<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x678): undefined reference to `zgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x6ff): undefined reference to `zgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x77e): undefined reference to `zgemm_'<br>dbcsr_mm_hostdrv.F:(.text+<wbr>0x7e6): undefined reference to `zgemm_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_blas_<wbr>operations.o): In function `__dbcsr_blas_operations_MOD_<wbr>dbcsr_lapack_larnv':<br>dbcsr_blas_operations.F:(.<wbr>text+0x227): undefined reference to `slarnv_'<br>dbcsr_blas_operations.F:(.<wbr>text+0x301): undefined reference to `dlarnv_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>trace_ab_d':<br>dbcsr_operations.F:(.text+<wbr>0x13b7): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x1445): undefined reference to `cdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x1833): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x18e3): undefined reference to `sdot_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>trace_ab_c':<br>dbcsr_operations.F:(.text+<wbr>0x2726): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x27d0): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x28ae): undefined reference to `cdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x2985): undefined reference to `cdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x2dbd): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x2e70): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x2f56): undefined reference to `sdot_'<br>dbcsr_operations.F:(.text+<wbr>0x300f): undefined reference to `sdot_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>trace_ab_s':<br>dbcsr_operations.F:(.text+<wbr>0x4590): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x4624): undefined reference to `cdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x4a42): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x4afd): undefined reference to `sdot_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>trace_ab_z':<br>dbcsr_operations.F:(.text+<wbr>0x5fb5): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x606b): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0x6136): undefined reference to `cdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x6577): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x663e): undefined reference to `zdotu_'<br>dbcsr_operations.F:(.text+<wbr>0x670d): undefined reference to `sdot_'<br>dbcsr_operations.F:(.text+<wbr>0x67cf): undefined reference to `sdot_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>filter_anytype':<br>dbcsr_operations.F:(.text+<wbr>0xd57f): undefined reference to `dznrm2_'<br>dbcsr_operations.F:(.text+<wbr>0xd6bf): undefined reference to `sdot_'<br>dbcsr_operations.F:(.text+<wbr>0xd79c): undefined reference to `ddot_'<br>dbcsr_operations.F:(.text+<wbr>0xd89f): undefined reference to `scnrm2_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrops.a(dbcsr_<wbr>operations.o): In function `__dbcsr_operations_MOD_dbcsr_<wbr>init_random':<br>dbcsr_operations.F:(.text+<wbr>0x11955): undefined reference to `dlarnv_'<br>dbcsr_operations.F:(.text+<wbr>0x11a7f): undefined reference to `dcopy_'<br>dbcsr_operations.F:(.text+<wbr>0x11b3c): undefined reference to `dcopy_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrbblock.a(dbcsr_block_<wbr>access.o): In function `__dbcsr_block_access_MOD_<wbr>dbcsr_put_block_c':<br>dbcsr_block_access.F:(.text+<wbr>0x6de): undefined reference to `ccopy_'<br>dbcsr_block_access.F:(.text+<wbr>0x1563): undefined reference to `caxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x1c4c): undefined reference to `caxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x1d23): undefined reference to `ccopy_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrbblock.a(dbcsr_block_<wbr>access.o): In function `__dbcsr_block_access_MOD_<wbr>dbcsr_put_block_s':<br>dbcsr_block_access.F:(.text+<wbr>0x3025): undefined reference to `scopy_'<br>dbcsr_block_access.F:(.text+<wbr>0x3cf0): undefined reference to `saxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x431d): undefined reference to `saxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x43f9): undefined reference to `scopy_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrbblock.a(dbcsr_block_<wbr>access.o): In function `__dbcsr_block_access_MOD_<wbr>dbcsr_put_block_z':<br>dbcsr_block_access.F:(.text+<wbr>0x5661): undefined reference to `zcopy_'<br>dbcsr_block_access.F:(.text+<wbr>0x63e6): undefined reference to `zaxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x6ab7): undefined reference to `zaxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x6b8f): undefined reference to `zcopy_'<br>/root/c/cp2k-3.0/lib/Linux-<wbr>x86-64-gfortran/popt/<wbr>libdbcsrbblock.a(dbcsr_block_<wbr>access.o): In function `__dbcsr_block_access_MOD_<wbr>dbcsr_put_block_d':<br>dbcsr_block_access.F:(.text+<wbr>0x7d6a): undefined reference to `dcopy_'<br>dbcsr_block_access.F:(.text+<wbr>0x88d8): undefined reference to `daxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x8edd): undefined reference to `daxpy_'<br>dbcsr_block_access.F:(.text+<wbr>0x8fb9): undefined reference to `dcopy_'<br>/usr/local/scalapack-2.0.2-<wbr>gcc/lib/libscalapack-gnu.a(<wbr>clarnv.o): In function `clarnv_':<br>clarnv.f:(.text+0x7a): undefined reference to `slaruv_'<br>clarnv.f:(.text+0x169): undefined reference to `slaruv_'<br>/usr/local/scalapack-2.0.2-<wbr>gcc/lib/libscalapack-gnu.a(<wbr>zlarnv.o): In function `zlarnv_':<br>zlarnv.f:(.text+0x7f): undefined reference to `dlaruv_'<br>zlarnv.f:(.text+0x165): undefined reference to `dlaruv_'<br>collect2: error: ld returned 1 exit status<br>make[3]: *** [/root/c/cp2k-3.0/exe/Linux-<wbr>x86-64-gfortran/dbcsr_<wbr>performance_driver.popt] Error 1<br><br>Thanks!<br><br>Ben<br><br>On Friday, January 15, 2016 at 2:52:05 AM UTC-7, Michael wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,
<br>g
<br>On Thu, Jan 14, 2016 at 02:14:24PM -0800, Ben Fotovich wrote:
<br>> I spoke too soon!
<br>>
<br>> Looking in elpa/src/elpa_c_interface.F90
<br>> Line 117 shows:
<br>>
<br>> function solve_elpa2_evp_real_wrapper(<wbr>na, nev, ncols, a, lda, ev, q, ldq,
<br>> nblk, &
<br>> mpi_comm_rows, mpi_comm_cols,
<br>> mpi_comm_all, &
<br>> THIS_REAL_ELPA_KERNEL_API,
<br>> useQR) &
<br>> result(success)
<br>> bind(C,name="elpa_solve_evp_<wbr>real_2stage")
<br>>
<br>> and line 141 shows:
<br>>
<br>> successFortran = solve_evp_real_2stage(na, nev, a, lda, ev, q, ldq, nblk,
<br>> mpi_comm_rows, mpi_comm_cols, mpi_comm_all, &
<br>> THIS_REAL_ELPA_KERNEL_API,
<br>> useQRFortran)
<br>>
<br>> I may be misreading, but this looks like it is slightly different than what
<br>> was called from the CP2K code. Thoughts?
<br>
<br>Indeed, ELPA changed interface between 2015.05 and 2015.11. As you are
<br>using 2015.11, you should defined -D__ELPA3 instead of -D__ELPA2 I
<br>believe, does that work?
<br>
<br>
<br>Michael
<br></blockquote></div></blockquote></div></blockquote></div>