-
Notifications
You must be signed in to change notification settings - Fork 33
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
RbowtieCuda #3672
Comments
Thanks for submitting your package. We are taking a quick The DESCRIPTION file for this package is:
|
Hi @FranckRICHARD01, Thanks for this submission. Please move the Also I suppose that the package is not supported on macOS right? Thanks, |
Hi hpages! Okay for the scripts. I'll move them. Franck |
This is the first submission with a request for Cuda; our current builders don't have Nvidia GPU's. We are exploring solutions and will respond soon |
Thanks Ishep! |
Hi @FranckRICHARD01, In the
Call me a chicken but I'm not going to run a shell script that makes a bunch of changes on my system via sudo access. Way too scary! 😉 Even if I could somehow mitigate the fear factor by copying and executing the commands in the script one at a time. Also this approach doesn't play well with the situation where I'm already on an Ubuntu system with an NVIDIA GPU that has already been used for other things so we know that some drivers are already installed (maybe not ones that are compatible with RbowtieCuda though), and also maybe some components of the CUDA development suite are already there (but I don't know which, if any). Maybe I'm lucky and all the things that are needed by RbowtieCuda are already there after all, in which case I shouldn't need to touch anything on the system. Long story short: I'd like to know where my system stands w.r.t. to RbowtieCuda's needs. Right now I'm a little bit in the dark. So I was wondering if you could provide a small set of instructions that allow me to assess the situation before making changes on my system. For example, the very last steps of the
But instead of putting this at the very end, I'd rather be told to try these commands before touching anything on the machine. Then depending on what output I get (you should explain what output we're expected to see there), explain what actions should be taken in order to correct the situation. This approach could be implemented via 2 scripts: a diagnostic script that does not require sudo access, and a "setup cuda" script that requires sudo access. More precisely:
As Lori (@lshep) said earlier we're a little bit in exploratory mode at the moment with this, until we figure out the best way to handle submissions that require an NVIDIA GPU. So sorry in advance if the process is not as smooth as with regular submissions. The goal is not only to be able to run our daily build/checks on packages like RbowtieCuda but also to make sure that Bioconductor users will be able to easily install and run them on their (expensive) hardware. BTW do you know how they handle packages like yours on CRAN? Do they have builders with NVIDIA GPUs? We might be able to learn from them. Thanks, |
FWIW here is a concrete example of how easily one can break things on an Ubuntu system when trying to install some of the nvidia/cuda stuff. I ceated an Ubuntu 24.04 instance on Jetstream2. Jetstream2 is an academic cloud environment where one can create and run virtual machines. They offer Ubuntu 24.04 instances that have an NVIDIA A100 GPU. These instances come with some carefully selected nvidia/cuda packages (Ubuntu/Debian and maybe some 3rd party) pre-installed on the system. So on a fresh instance,
This is all good. However, the To my surprise A few minutes later, even though the installation of the 100+ packages seemed to have completed successfully, I noticed that the long output of
I tried rebooting but that did not help: Anyways, at least now I had the Nvidia CUDA Compiler:
However, now
And after I managed to get it back with
So the only thing I did was to try to install the Nvidia CUDA Compiler (which seems to be required by RbowtieCuda), but I ended up with a broken system. Any idea what I did wrong? Thanks, |
Hello Hervé and thank you for your comments! (Based on your configuration, I'm talking about the installation of cuda-12-2) Yes, you're absolutely right. You should have two different scripts created to take fewer risks during installation! No need to risk breaking anything, especially if cuda is already preinstalled. I'll modify this quickly. The nvcc command is essential if you want to compile the program, as it is the cuda compiler. In fact, the most important script commands are these (and shouldn't cause any problems) : *add a general graphics driver repository to handle compatibility issues (but it's probably not essential, I'll check). *add the official nvidia repository, this is essential because in the preinstalled distribution you're talking about, cuda drivers may be perimated and pose dependency problems :
*Update the list of packages : Until that time, these manipulations cannot have any particular consequences on the system. *The rest can be considerably simplified. Installing the cuda-12-2 package is sufficient to install the compatible nvidia driver too:
I don't think there will be any problems with I've probably neglected the installation of pre-requisites and the stress this can cause. This needs to be reviewed. Could you please try again ? My apologies, Franck |
Hello again hpages! (Based on your configuration, I'm talking about the installation of cuda-12-2) Coming back to your description of the problems with your installation, here are a few remarks:
Some packages, such as Sight Compute and Sight Systems, which are used for debugging, are particularly heavy (250MB each, I believe). Of course, it would be simpler if it were possible to offer a pre-compiled tool that would save you installing all the libraries and debugging/compiling tools. -Your system isn't broken at all. It's just that nvidia are quite picky about getting the right version of cuda and the right version of gcc on the system, otherwise this kind of problem could arise. First of all (and this is important), install the kernel headers. As the driver will be compiled, the core headers are absolutely essential :
then type :
To solve the problem of nvidia-smi that no longer exists, you can do:
don't forget to do this at the end so that a terminal can find nvcc :
reboot... nvidia-smi and nvcc commands must work The new PS: When compiling RbowtieCuda, you may receive messages from the nvidia compiler telling you that the gcc version is incompatible... In this case, you'll need to install gcc-12 and g++-12 and make symbolic links in this way:
and create symmetrical links to activate gcc-12 and g++-12 :
(choose gcc-12)
(select g++-12) |
Thanks for all the info. I'll try again asap. (I'll be travelling for the next few days so expect some delays.) |
Many thanks to you hpages. I'm going to propose two new scripts to try and make the installation easier and more flexible. Happy holidays! |
Update the following URL to point to the GitHub repository of
the package you wish to submit to Bioconductor
Confirm the following by editing each check box to '[x]'
I understand that by submitting my package to Bioconductor,
the package source and all review commentary are visible to the
general public.
I have read the Bioconductor Package Submission
instructions. My package is consistent with the Bioconductor
Package Guidelines.
I understand Bioconductor Package Naming Policy and acknowledge
Bioconductor may retain use of package name.
I understand that a minimum requirement for package acceptance
is to pass R CMD check and R CMD BiocCheck with no ERROR or WARNINGS.
Passing these checks does not result in automatic acceptance. The
package will then undergo a formal review and recommendations for
acceptance regarding other Bioconductor standards will be addressed.
My package addresses statistical or bioinformatic issues related
to the analysis and comprehension of high throughput genomic data.
I am committed to the long-term maintenance of my package. This
includes monitoring the support site for issues that users may
have, subscribing to the bioc-devel mailing list to stay aware
of developments in the Bioconductor community, responding promptly
to requests for updates from the Core team in response to changes in
R or underlying software.
I am familiar with the Bioconductor code of conduct and
agree to abide by it.
I am familiar with the essential aspects of Bioconductor software
management, including:
months, for bug fixes.
(optionally via GitHub).
For questions/help about the submission process, including questions about
the output of the automatic reports generated by the SPB (Single Package
Builder), please use the #package-submission channel of our Community Slack.
Follow the link on the home page of the Bioconductor website to sign up.
The text was updated successfully, but these errors were encountered: