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

{tools}[gcccuda/2020b] ROCm v4.0.1 #12299

Closed

Conversation

boegel
Copy link
Member

@boegel boegel commented Feb 26, 2021

(created using eb --new-pr)

Based on https://github.com/cschpc/lumi/blob/main/rocm/rocm_installation.sh by @gmarkomanolis (doesn't include hipify-clang, that should probably be a separate installation?)

WIP, because:

  • Need to figure out versioning of the components: most are rocm-4.0.0, some are rocm-4.0.1, what should be the top-level version?
  • Currently it's one big "flat" installation, while it's recommended to install things in proper subdirectory (like the LLVM stuff into <installdir>/llvm)
  • What should we check for in the sanity check in terms of files/directories/commands?
  • CUDA compute capabilities should not be hardcoded
  • Maybe it's better to have an easyblock for this whole mess, so we can just have a clean list of components (and checksums) here? That would also make it easier to do the same installation for AMD GPU systems...

@boegel boegel added the new label Feb 26, 2021
@boegel boegel added this to the 4.x milestone Feb 26, 2021
@gmarkomanolis
Copy link

Hipify-clang from here: https://github.com/ROCm-Developer-Tools/HIPIFY

I will add instructions soon.

@easybuilders easybuilders deleted a comment from boegelbot Feb 26, 2021
@gmarkomanolis
Copy link

For hipify-clang:

  • You have in the PATH the bin directory of the installed LLVM
    git clone -b rocm-4.0.0 https://github.com/ROCm-Developer-Tools/HIPIFY.git
    cd HIPIFY
    mkdir build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path_rocm/hip/bin/ ..
    make
    make install

@boegel
Copy link
Member Author

boegel commented Jun 8, 2021

Already obsolete, not planning to pursue this further, new WIP PR for ROCm 4.2.0 in #13078

@boegel boegel closed this Jun 8, 2021
@boegel boegel deleted the 20210226173944_new_pr_ROCm401 branch June 8, 2021 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants