Error during compilation of ELPA in CP2K

373 views
Skip to first unread message

Hardik L. Kagdada

unread,
Mar 9, 2022, 6:15:18 AM3/9/22
to cp2k
Hello,

I am trying to install CP2K in ubuntu-20.4 system, with the following command line

./install_cp2k_toolchain.sh --install-all --with-mpich

However, the following errors appeared during installation of ELPA

collect2: error: ld returned 1 exit status
Makefile:30825: recipe for target 'elpa2_print_kernels_openmp' failed
make[1]: *** [elpa2_print_kernels_openmp] Error 1
make[1]: Leaving directory '/home/dks/softwares_tar_files/cp2k-9.1/tools/toolchain/build/elpa-2021.11.001/build_cpu'
Makefile:29870: recipe for target 'all' failed
make: *** [all] Error 2


I have also attached make.log from ELPA folder.
Any suggestions related to this are highly appreciated.

Thank you

Regards,
Hardik Kagdada
make.log

Anton Lytvynenko

unread,
Mar 9, 2022, 8:06:20 AM3/9/22
to cp...@googlegroups.com
Dear Hadrik, dear all,

I second that, I've been getting this error a few versions in a row. I used just to disable ELPA, as I didn't plan to actually use MPI.

Yours,
Anton

ср, 9 бер. 2022 р. о 12:15 Hardik L. Kagdada <hlka...@gmail.com> пише:
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/864b7c8b-3e47-48dd-bd75-43e5705a2869n%40googlegroups.com.

Hardik L. Kagdada

unread,
Mar 10, 2022, 12:04:57 AM3/10/22
to cp...@googlegroups.com
Dear Anton,

Using ./install_cp2k_toolchain.sh --install-all --with-openmpi solved the problem. This will install openmpi in the install directory with the same GNU compiler that has been used for the rest of the installation.

Thank You
Hardik L Kagdada 





Anton Lytvynenko

unread,
Mar 10, 2022, 6:39:05 AM3/10/22
to cp...@googlegroups.com
Dear Hardik,

thank you very much for the answer.

Yours,
Anton



чт, 10 бер. 2022 р. о 06:04 Hardik L. Kagdada <hlka...@gmail.com> пише:
Reply all
Reply to author
Forward
0 new messages