CP2K installation

338 views
Skip to first unread message

Havva Mehralitabar

unread,
May 11, 2022, 4:19:25 AM5/11/22
to cp2k
hello every one,
I am trying to install CP2K for qm/mm caculation with gromacs, 
after Cp2k installation I wanted to make libcp2k with 
the following command:
make -j 20 ARCH=local VERSION=psmp libcp2k
but I get the foolowing error:
Discovering programs ...
make -C /home/ghasemi/software/cp2k-9.1/exts/dbcsr -f /home/ghasemi/software/cp2k-9.1/exts/build_dbcsr/Makefile \
   ARCHFILE=/home/ghasemi/software/cp2k-9.1/arch/local.psmp \
   LIBDIR=/home/ghasemi/software/cp2k-9.1/lib/local/psmp/exts/dbcsr \
   OBJDIR=/home/ghasemi/software/cp2k-9.1/obj/local/psmp/exts/dbcsr \
   USE_ACCEL="" \
   ACC="" \
   ACCFLAGS=""
Writing pkg-config /home/ghasemi/software/cp2k-9.1/lib/local/psmp/pkgconfig/libcp2k.pc
Removing stale archives for psmp ...
/bin/sh: 1: Syntax error: "(" unexpected
make[2]: *** [/home/ghasemi/software/cp2k-9.1/Makefile:200: pkgconfig] Error 2
make[2]: *** Waiting for unfinished jobs....
Removing stale archives ...
Resolving dependencies ...
Resolving dependencies for psmp ...
make[1]: *** [/home/ghasemi/software/cp2k-9.1/Makefile:140: psmp] Error 2
make: *** [Makefile:135: libcp2k] Error 2
it would be greatly appreciated if someone could give any  solution to fix it
thank you in advance

Sam Broderick

unread,
Jun 8, 2022, 5:37:01 AM6/8/22
to cp2k
Hi

CP2K has a lot of dependencies and can be very difficult to install.

You might some ideas from /cp2k-9.1/tools/toolchain/scripts. It's useful to install stage by stage what you need. Hope this helps.

Kind Regards
Sam

Havva Mehralitabar

unread,
Jun 9, 2022, 2:44:24 AM6/9/22
to cp...@googlegroups.com
Thank you for your reply,

I will check that.

Best regards.


--
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/fa4a8914-ed77-4ffc-9695-9f6ceaaf93c7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages