Skip to content

PrgEnv-pgi support#2927

Merged
boegel merged 2 commits intoeasybuilders:developfrom
jgphpc:pgi
May 17, 2016
Merged

PrgEnv-pgi support#2927
boegel merged 2 commits intoeasybuilders:developfrom
jgphpc:pgi

Conversation

@jgphpc
Copy link
Copy Markdown
Contributor

@jgphpc jgphpc commented Apr 20, 2016

PrgEnv-pgi support

@hpcugentbot
Copy link
Copy Markdown

Automatic reply from Jenkins: Can I test this?

@jgphpc jgphpc mentioned this pull request Apr 20, 2016
dependencies = [
# PrgEnv version is not pinned, as Cray recommends to use the latest (default) version
# ('PrgEnv-pgi/' + version, EXTERNAL_MODULE),
('PrgEnv-pgi/5.2.82', EXTERNAL_MODULE),
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.

@jgphpc this should not be version pinned, see comment, just use 'PrgEnv-pgi'

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 20, 2016

Jenkins: ok to test

@jgphpc I guess using HPL here as a testcase for this toolchain doesn't make much sense, since there's no BLAS/LAPACK support for CrayPGI (at least not as is)?

@boegel boegel added this to the v2.8.0 milestone Apr 20, 2016
@jgphpc
Copy link
Copy Markdown
Contributor Author

jgphpc commented Apr 20, 2016

@boegel yes, with intel mkl: https://www.pgroup.com/support/link.htm#mkl

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 20, 2016

@jgphpc So, should an Intel MKL module provided by Cray be part of CrayPGI then?

@hpcugentbot
Copy link
Copy Markdown

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

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

@jgphpc
Copy link
Copy Markdown
Contributor Author

jgphpc commented Apr 20, 2016

@boegel it's possible to link without mkl, can you share you hpl testcase ?

without intel mkl
  • ftn pgi_mm.F -lblas -dynamic
# libblas.so.0 => /opt/pgi/16.3.0/linux86-64/16.3/lib/libblas.so.0
with intel mkl
  • ftn -L$MKLROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -pgf90libs -liomp5 -lpthread -lm -L$MKLROOT/../compiler/lib/intel64 pgi_mm.F -dynamic
  • ldd a.out |grep mkl
    libmkl_intel_lp64.so => /opt/intel/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64/libmkl_intel_lp64.so (0x00007f30c8894000)
    libmkl_intel_thread.so => /opt/intel/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64/libmkl_intel_thread.so (0x00007f30c72b9000)
    libmkl_core.so => /opt/intel/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64/libmkl_core.so (0x00007f30c5982000)

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 20, 2016

@jgphpc nothing special about HPL, just regular easyconfigs, cfr. https://github.com/hpcugent/easybuild-easyconfigs/tree/master/easybuild/easyconfigs/h/HPL

But, to use the BLAS readily provided by the pgi module, you may need to fiddle with the framework support a bit, to get things like $LIBBLAS defined, see https://github.com/hpcugent/easybuild-framework/tree/master/easybuild/toolchains/linalg, in particular libsci.py

@boegel
Copy link
Copy Markdown
Member

boegel commented May 17, 2016

(open/close to trigger Travis, need to look into a better way but this is what's recommended by Travis support...)

@boegel boegel closed this May 17, 2016
@boegel boegel reopened this May 17, 2016
@boegel
Copy link
Copy Markdown
Member

boegel commented May 17, 2016

Good to go now easybuilders/easybuild-framework#1729 is merged, thanks @jgphpc!

@boegel boegel merged commit 6ed2b7b into easybuilders:develop May 17, 2016
boegel added a commit to boegel/easybuild-easyconfigs that referenced this pull request May 17, 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