ifcplusplus
ifcplusplus copied to clipboard
get Parallel ifc reader on multi-core CPU's on Linux with cmake an gcc
Has someone an idea or some hint how to archive this by cmake and gnu gcc on linux?
bernd
enabling OpenMP in gcc needs -fopenmp as far as I know (It implies -pthreads, so it should automatically compile and link against that too: https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#C-Dialect-Options).
Plus the IFCpp define for the OpenMP directives, which is ENABLE_OPENMP.
That should do it, as far as I know.