User Tools

Site Tools


howto:compile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howto:compile [2014/02/09 14:56] – converted from doc/tutorialCp2k.html, Credit: Fawzi Mohamed oschuetthowto:compile [2023/11/13 13:04] (current) oschuett
Line 1: Line 1:
-<note warning>This text is probably out of date and needs to be revised.</note> +This page has been moved to: https://github.com/cp2k/cp2k/blob/master/INSTALL.md
- +
-====== 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)