Skip to content

Add PGI support to imkl easyblock#866

Merged
boegel merged 15 commits intoeasybuilders:developfrom
ocaisa:pgi_mkl
May 11, 2016
Merged

Add PGI support to imkl easyblock#866
boegel merged 15 commits intoeasybuilders:developfrom
ocaisa:pgi_mkl

Conversation

@ocaisa
Copy link
Copy Markdown
Member

@ocaisa ocaisa commented Mar 11, 2016

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1814/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 boegel added this to the v2.8.0 milestone Mar 11, 2016
@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Mar 11, 2016

Not so trivial, no PGI support for fftw2x_cdft. I can fix it with a simple patch on their makefile (use a string replace for gnu -> pgi, gcc -> pgcc, -Wall -> '') or we could leave it out?

@boegel
Copy link
Copy Markdown
Member

boegel commented Mar 11, 2016

@ocaisa The toolchain support for the FFTW wrappers in Intel MKL (intelfftw.py) will check whether the FFTW wrapper are there, but it seems like it only checks the fftw3 stuff...

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1815/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1816/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1817/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1818/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1820/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1821/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1822/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
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1823/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.

@ocaisa
Copy link
Copy Markdown
Member Author

ocaisa commented Mar 11, 2016

@boegel Success! This works now.

@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1824/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.

Comment thread easybuild/easyblocks/i/imkl.py Outdated
run_cmd("sed -i s/gnu/pgi/g makefile", log_all=True, simple=True)
run_cmd("sed -i s/gcc/pgcc/g makefile", log_all=True, simple=True)
run_cmd("sed -i s/-Wall//g makefile", log_all=True, simple=True)
run_cmd("sed -i s/-std=c99/-c99/g makefile", log_all=True, simple=True)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be done with apply_regex_substitutions?

@ocaisa: I can try and tackle that and send you a PR, or wrap your existing PR...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regex not my strong point, happy to take a PR

boegel and others added 2 commits May 11, 2016 12:07
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1981/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.

explain regex subs for -c99 and -Wall with comment
@hpcugentbot
Copy link
Copy Markdown

Easyblocks unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-easyblocks-pr-builder/1982/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
Copy Markdown
Member

boegel commented May 11, 2016

tested with imkl easyconfig using pompi toolchain from easybuilders/easybuild-easyconfigs#2900 (on top of easybuilders/easybuild-framework#1664 and easybuilders/easybuild-framework#1724), and with several exsting imkl easyconfigs, works great

So, good to go, thanks for figuring this out @ocaisa!

@boegel boegel merged commit c057903 into easybuilders:develop May 11, 2016
@ocaisa ocaisa deleted the pgi_mkl branch May 11, 2016 15:56
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