Skip to content

Repo to document a cmake bug regarding OpenMP and IBM XL Fortran/C++

Notifications You must be signed in to change notification settings

matthiasdiener/cmaketest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmaketest

This cmake project documents a cmake bug regarding OpenMP and IBM XL Fortran/C++.

Compiling this project with CC=xlc_r CXX=xlC_r FC=xlf_r cmake .. results in linking to -lxlomp_ser, which disables OpenMP in XL.

A workaround is to run cmake with explicit FFLAGS: CC=xlc_r CXX=xlC_r FC=xlf_r FFLAGS="-qsmp=omp" cmake ..

Bug report: https://gitlab.kitware.com/cmake/cmake/issues/18518

About

Repo to document a cmake bug regarding OpenMP and IBM XL Fortran/C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published