Skip to content

Add CUDA and HOOMD-blue packages#702

Merged
tgamblin merged 3 commits intospack:developfrom
adamjstewart:features/cuda
Mar 31, 2016
Merged

Add CUDA and HOOMD-blue packages#702
tgamblin merged 3 commits intospack:developfrom
adamjstewart:features/cuda

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

This pull request adds a package for CUDA. At first glance, the following packages can now be modified to add CUDA support:

  • cbtf-argonavis
  • cbtf-krell
  • mvapich2
  • openspeedshop
  • opencv

I'm not familiar with most of these packages, so I'll let someone else add CUDA support to these after this gets merged.

Potential improvements that can be made:

Similar to #558, the runfile download must be done manually. What would be really cool would be to override whatever function attempts fetching and add a try/catch statement. If the package cannot be found (in this case meaning it is not in the current directory or in a mirror), then prompt the user letting them know that it needs to be manually downloaded.

This package does not handle driver installation. As far as I know, this needs to be done manually by disabling the Nouveau drivers and rebooting into text-mode (see CUDA Installation Guide). Perhaps I could add a +driver variant that handles the driver installation as long as the user is already in text-mode.

CUDA also suffers from the same problem as #558, in which the filename depends not only on the version but also on the platform and architecture. We could require users to rename the file without those, but the checksum will still be different.

@tgamblin
Copy link
Copy Markdown
Member

@adamjstewart: awesome! Thanks for putting this together. I'd like to figure out and document some conventions for placing 3rd-party software where Spack can find it, maybe in a default mirror. Also the message should probably print out how to add an external CUDA installation to Spack.

@tgamblin tgamblin merged commit a6f6c2b into spack:develop Mar 31, 2016
@adamjstewart adamjstewart deleted the features/cuda branch March 31, 2016 17:50
matz-e pushed a commit to matz-e/spack that referenced this pull request Apr 27, 2020
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.

2 participants