[CP2K:9139] Errors while compiling with ELPA
Ole Schütt
o... at schuett.name
Wed Jun 21 07:48:34 UTC 2017
Hi Luiz,
the error message means that your are not linking in the elpa library.
You need to add -L$(ELPA_DIR) to LDFLAGS and -lelpa to LIBS .
-Ole
On 2017-06-20 23:15, Luiz Fernando Lopes Oliveira wrote:
> I'm getting the following error when compiling with ELPA:
>
> /gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/lib/Linux-x86-64-intel-host/psmp/libcp2kfm.a(cp_fm_elpa.o):
> In function `cp_fm_elpa_mp_cp_fm_diag_elpa_':
> cp_fm_elpa.F90:(.text+0x128b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x23db): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x315b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x3def): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> /gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/lib/Linux-x86-64-intel-host/psmp/libcp2kfm.a(cp_fm_elpa.o):
> In function `cp_fm_elpa_mp_cp_fm_diag_elpa_':
> cp_fm_elpa.F90:(.text+0x128b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x23db): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x315b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x3def): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> /gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/lib/Linux-x86-64-intel-host/psmp/libcp2kfm.a(cp_fm_elpa.o):
> In function `cp_fm_elpa_mp_cp_fm_diag_elpa_':
> cp_fm_elpa.F90:(.text+0x128b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x23db): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x315b): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> cp_fm_elpa.F90:(.text+0x3def): undefined reference to
> `elpa2_mp_solve_evp_real_2stage_double_'
> make[3]: ***
> [/gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/exe/Linux-x86-64-intel-host/cp2k_shell.psmp]
> Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: ***
> [/gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/exe/Linux-x86-64-intel-host/libcp2k_unittest.psmp]
> Error 1
> make[3]: ***
> [/gscratch/pfaendtner/lflo/cp2k2017/cp2k/cp2k/exe/Linux-x86-64-intel-host/cp2k.psmp]
> Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [psmp] Error 2
> make: *** [all] Error 2
>
> Does someone have encountered a similar issue?
>
> --
> You received this message because you are subscribed to the Google
> Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at https://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/d/optout.
More information about the CP2K-user
mailing list