Skip to content

Conversation

@damianam
Copy link
Member

as some distros do and as expected by some packages (eg: xpra)

@SebastianAchilles
Copy link
Member

Test report by @SebastianAchilles

Overview of tested easyconfigs (in order)

  • SUCCESS CUDA-11.3.1.eb
  • SUCCESS CUDA-11.4.1.eb
  • SUCCESS CUDA-11.4.2.eb
  • SUCCESS CUDA-11.5.0.eb

Build succeeded for 4 out of 4 (4 easyconfigs in total)
jsfc01.int.jusuf.sebastian.cluster - Linux rocky linux 8.4, x86_64, AMD EPYC 7742 64-Core Processor (zen2), 1 x NVIDIA GRID V100-4C, 460.73.01, Python 3.6.8
See https://gist.github.com/673610e120b78349fde1f55d0c7f2190 for a full test report.

# See e.g. https://github.com/Xpra-org/xpra/blob/master/setup.py#L206
# Distros provide these files, so let's do it here too
pkgconfig_dir = os.path.join(self.installdir, 'pkgconfig')
pc_files = expand_glob_paths([os.path.join(pkgconfig_dir, '*.pc')])
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't always work apparently, fails with CUDA 10.1.105 because there are no pkgconfig files included at all:

No files found using glob pattern
'/user/gent/400/vsc40023/eb_arcaninescratch/CO7/skylake-ib/software/CUDA/10.1.105-GCC-8.2.0-2.31.1/pkgconfig/*.pc`

So this should be guarded with:

if os.path.exists(pkgconfig_dir):

@damianam Does that make sense to you?

Copy link
Contributor

Choose a reason for hiding this comment

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

None of the 10.x versions we have installed have a pkgconfig dir. So it's clearly needed

Copy link
Contributor

Choose a reason for hiding this comment

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

Also the module generation needs to have this protected. Don't add nonexisting paths to PKG_CONFIG_PATH

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense. Update coming

Copy link
Member Author

Choose a reason for hiding this comment

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

I pushed an update to address that. Note that I readded some of the pc files in the sanity check list. That's because those files are explicitly checked by other tools (and actually nvjpeg.pc is the whole reason for this PR), so I guess it makes sense to add them. Or are they not present in older CUDA releases?

@SebastianAchilles
Copy link
Member

Test report by @SebastianAchilles

Overview of tested easyconfigs (in order)

Build succeeded for 3 out of 18 (18 easyconfigs in total)
jsfc01.int.jusuf.sebastian.cluster - Linux rocky linux 8.4, x86_64, AMD EPYC 7742 64-Core Processor (zen2), 1 x NVIDIA GRID V100-4C, 460.73.01, Python 3.6.8
See https://gist.github.com/c865046effdab2ea5f7f719fd7bd057f for a full test report.

@boegel
Copy link
Member

boegel commented Jan 19, 2022

Test report by @boegel

Overview of tested easyconfigs (in order)

Build succeeded for 5 out of 7 (7 easyconfigs in total)
node3104.skitty.os - Linux centos linux 7.9.2009, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (skylake_avx512), Python 3.6.8
See https://gist.github.com/9d56c24b62359722f741c2df111fa13a for a full test report.

@SebastianAchilles
Copy link
Member

Test report by @SebastianAchilles

Overview of tested easyconfigs (in order)

Build succeeded for 4 out of 18 (18 easyconfigs in total)
cnx2 - Linux rocky linux 8.4, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/c24d7374c144bf3a37f1b99ad035b050 for a full test report.

@boegel boegel changed the title To make the CUDA easyblock create version independent pkgconfig files, enhance CUDA easyblock to create version independent pkgconfig files Jan 19, 2022
@boegel boegel dismissed akesandgren’s stale review January 19, 2022 18:29

requested changes made

@boegel
Copy link
Member

boegel commented Jan 19, 2022

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS CUDA-7.0.28.eb
  • SUCCESS CUDA-8.0.61.eb
  • SUCCESS CUDA-9.0.176.eb
  • SUCCESS CUDA-9.2.88-GCC-7.3.0-2.30.eb
  • SUCCESS CUDA-10.1.105-GCC-8.2.0-2.31.1.eb
  • SUCCESS CUDA-10.1.243.eb
  • SUCCESS CUDA-11.5.0.eb

Build succeeded for 7 out of 7 (7 easyconfigs in total)
node3104.skitty.os - Linux centos linux 7.9.2009, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (skylake_avx512), Python 3.6.8
See https://gist.github.com/ce56c51dc9534e593b188a4c482b859d for a full test report.

@boegel
Copy link
Member

boegel commented Jan 19, 2022

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS CUDAcore-11.2.1.eb
  • SUCCESS CUDA-11.1.1-GCC-10.2.0.eb
  • SUCCESS CUDA-11.4.1.eb

Build succeeded for 3 out of 3 (3 easyconfigs in total)
node3589.doduo.os - Linux RHEL 8.2, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/2be3434eb292214c9e14e2275c5874f1 for a full test report.

@boegel boegel merged commit 2984a22 into easybuilders:develop Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants