howto:compile
This is an old revision of the document!
This text is probably out of date and needs to be revised.
How to Compile CP2K
To compile it you have to adapt the architecture file in cp2k/arch
. Executing cp2k/tools/get_arch_name
you can see your architecture, changing the environment variable FORT_C_NAME
you can change the compiler on some architectures.
As make
you should use the gnu make, and the architecture can be changed also with make ARCH=my_arch_name
.
The kind of build (sdbg, sopt, pdbg, popt) can be changed with VERSION=build_type
(actually using the build type as target also works).
Targets can be: build, lib, clean, realclean, distclean.
howto/compile.1391957796.txt.gz · Last modified: 2020/08/21 10:15 (external edit)