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

openmp option deprecated for intel compiler #1718

Merged
merged 4 commits into from
Apr 18, 2016

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Apr 8, 2016

fopenmp still valid so switch to that, see #1717

@hpcugentbot
Copy link
Contributor

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2930/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Contributor

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2931/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Member

boegel commented Apr 8, 2016

@ocaisa Can you double-check whether -fopenmp is supported properly by the oldest Intel compilers we employ (v11.x)?

Other than that, good to go, thanks for looking into this!

@boegel boegel added this to the v2.8.0 milestone Apr 8, 2016
@boegel boegel mentioned this pull request Apr 8, 2016
@ocaisa
Copy link
Member Author

ocaisa commented Apr 18, 2016

@boegel I don't have access to sources for v11.x and there's nothing in the documentation I could find about -fopenmp so I can't be sure either way

@boegel
Copy link
Member

boegel commented Apr 18, 2016

@ocaisa I gave it a test myself, -fopenmp doesn't work with Intel 11.x...

$ icc --version
icc (ICC) 11.1 20100806
Copyright (C) 1985-2010 Intel Corporation.  All rights reserved.

$ icc -fopenmp omp_hello.c -o omp_hello
icc: command line warning #10006: ignoring unknown option '-fopenmp'
omp_hello.c(22): warning #161: unrecognized #pragma
  #pragma omp parallel private(nthreads, tid)
          ^
/tmp/iccRDDbxa.o: In function `main':
omp_hello.c:(.text+0x27): undefined reference to `omp_get_thread_num'
omp_hello.c:(.text+0x40): undefined reference to `omp_get_num_threads'

It seems to be OK in v12.x though...

I don't want to spend too much effort on making sure things still work with 11.x, but since we haven't officially deprecated that yet, we should take it into account.

I'll take a look on how to do that in a non-intrusive way; it's not straight-forward since here it's being defined as a part of a constant...

@boegel
Copy link
Member

boegel commented Apr 18, 2016

@ocaisa see ocaisa#36

stick to using -openmp for old Intel compilers (11.x), enhance unit tests
@hpcugentbot
Copy link
Contributor

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2937/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Member

boegel commented Apr 18, 2016

Going in, thanks @ocaisa!

@boegel boegel merged commit 0a8fd2a into easybuilders:develop Apr 18, 2016
@boegel boegel mentioned this pull request Jun 6, 2016
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

Successfully merging this pull request may close these issues.

3 participants