User Tools

Site Tools


dev:compiler_support

This is an old revision of the document!


While CP2K adheres to the Fortran 2008 standard, not all compilers (or compiler versions) are able to build CP2K correctly. GCC is the most tested compiler. We test some Intel Compiler versions. All other compilers are only used for testing and they are not fully supported, i.e. they can be used with some restrictions. For more details see the CP2K dashboard. For all other compilers and compiler versions not listed in the table, we suggest testing them by yourself by using the regression tests. The table below reports the status of compiling and testing CP2K for a specific commit, as reported by the dashboard (current tested versions are in bold).

Compiler Versions Systems Support Known Issues Last commit checked
GCC < 4.6 any UNSUPPORTED Fails with Pointer bounds remapping not yet implemented. 8d0aca4
GCC 4.6.4, 4.8.4 x86_64 OK None d1f6d40
GCC 4.8.5, 4.9.2, 5.5, 6.2, 6.4, 6.5, 7.4, 8.3 x86_64 OK None Latest
Intel ≤ 16.0.4 X86_64 Doesn't compile Failing compilation in dbcsr d1f6d40
Intel 17.0.1 X86_64 Partial MPI parallelization broken (due to MKL) 400f96b
Intel 18.0.0, 18.0.1 X86_64 Broken Fails at runtime 4a6d2ce
Intel 19.0.0 X86_64 Doesn't compile Compilation aborted for lri_forces.F90 08/04/2019
Intel 17.0.4, 18.0.3, 18.0.5, 19.0.3 X86_64 OK None Latest
PGI ≤ 19.4 X86_64 BROKEN Fails compilation in dbcsr (ticket open @ PGI) 27/09/2018
flang x86_64 BROKEN #239, #424 d1f6d40
Cray compiler CCE 8.6.1, 8.6.2, 8.6.5 x86_64 Broken Numerical instabilities, threading broken d1f6d40
Cray compiler CCE 8.7.0, 8.7.1, 8.7.2, 8.7.3, 8.7.6, 8.7.7, 8.7.8, 8.7.9 x86_64 OK None (only POPT tested) 04/04/2019
Cray compiler CCE 8.7.4, 8.7.5 x86_64 Doesn't compile Failing compilation 01/11/2018
Cray compiler CCE 8.7.10 x86_64 OK None (only POPT tested) Latest
IBM XL Fortran 14.01 IBM/BlueGene Q OK None (only POPT tested) 4a6d2ce
dev/compiler_support.1558443143.txt.gz · Last modified: 2020/08/21 10:14 (external edit)