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
Open

Comments

@berndhahnebach
Copy link
Contributor

@berndhahnebach berndhahnebach commented May 18, 2018

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

This comment has been minimized.

Copy link

@loebl 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
Projects
None yet
2 participants
You can’t perform that action at this time.