Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get Parallel ifc reader on multi-core CPU's on Linux with cmake an gcc #103

Open
berndhahnebach opened this issue May 18, 2018 · 1 comment

Comments

@berndhahnebach
Copy link
Contributor

Has someone an idea or some hint how to archive this by cmake and gnu gcc on linux?

bernd

@berndhahnebach berndhahnebach changed the title get Parallel ifc reader on multi-core CPU's get Parallel ifc reader on multi-core CPU's on Linux with cmake an gcc May 18, 2018
@loebl
Copy link

loebl commented May 21, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants