Fix Spark RAPIDS Ubuntu 22 driver install#1394
Open
nvliyuan wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the spark-rapids.sh script to enable online repository installation on Ubuntu 22, ensuring compatibility with newer GCP kernels on Dataproc 2.2. It also introduces a compiler configuration helper to upgrade to gcc-12 on Ubuntu 22 when CUDA 12 is targeted, and dynamically resolves the CUDA toolkit package name. The reviewer suggested also installing and configuring g++-12 alongside gcc-12 to prevent potential compilation and compatibility issues with host compilers like nvcc.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
spark-rapids.shso Ubuntu 22 uses the online NVIDIA CUDA repo for driver packages instead of the older local CUDA repo driver embedded in the installer.gcc-12for Ubuntu 22 CUDA 12 driver builds, matching the newer Dataproc 2.2 GCP kernel toolchain requirements.Test plan
bash -n spark-rapids/spark-rapids.shspark-rapids/spark-rapids.shyuanli@spark-yuanli:~/work/csps/dataproc/spark-rapids-ubuntu22-fix, ran./create-cluster.shagainst2.2-ubuntu22(2.2.82-ubuntu22) with the patched init action; clustersr-u22-fix-160203created successfully andnvidia-smi --query-gpu=driver_version --format=csv,noheaderreturned550.163.01.