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 tested
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 x86_64 OK None 5e37bfe
GCC 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 1037acf
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) e2a1c08
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.4, 8.7.5 x86_64 Doesn't compile Failing compilation 1d20fad
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) 7ea2c6e
Cray compiler CCE 8.7.10 x86_64 OK None (only POPT tested) d0d6bfb
Cray compiler CCE 9.0.2 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.1568047590.txt.gz · Last modified: 2020/08/21 10:14 (external edit)