Coder Social home page Coder Social logo

Comments (5)

SyauqiMA avatar SyauqiMA commented on July 22, 2024 1

This problem refers to the GoogleColabGPU.ipynb script, sorry for not pointing that out earlier!

from distributed-computing-scripts.

tdulcet avatar tdulcet commented on July 22, 2024 1

Thanks for the detailed bug report! I am sorry our GPU notebook did not work for you.

The issue is that OpenCL is currently broken on Colab, which is what GpuOwl uses. See this post and my response a few posts below for more information: https://mersenneforum.org/showthread.php?p=627996#post627996.

From your provided output, note that my GpuOwl install script has a simple OpenCL check, which is currently failing:

Number of platforms                               0
Error: This computer does not have an OpenCL platform

Our GPU notebook was never expecting the install script to fail in this way, so it causes that cascading series of errors that you saw. As a workaround, you could add a simple sed command to the install() function in the notebook to disable this OpenCL check:

!sed -i '/^if command -v clinfo/,/^fi/ s/^/# /' gpuowl2.sh # Do not check for clinfo

This would allow the GpuOwl and Prime95/MPrime install scripts to work as expected, but GpuOwl of course will not run until after Colab fixes their OpenCL issue...

In the meantime, I would recommend using our CPU only notebook and/or the old version of our GPU notebook, which ran CUDALucas. CUDALucas is slower than GpuOwl and it only supports LL tests, but it uses CUDA, which currently still works on Colab. Here is a link to that older GPU notebook: https://github.com/tdulcet/Distributed-Computing-Scripts/blob/933d9916a8bc841c3313d77a010d73e95e9dee65/google-colab/GoogleColabGPU.ipynb.

CC: @Danc2050

from distributed-computing-scripts.

tdulcet avatar tdulcet commented on July 22, 2024 1

I just pushed that change to the GPU notebook I suggested above: 23162e2. Let me know if you have any additional questions...

from distributed-computing-scripts.

SyauqiMA avatar SyauqiMA commented on July 22, 2024

Thanks for the explanation! the broken OpenCL is indeed unfortunate. I will try running the old script, then!

from distributed-computing-scripts.

tdulcet avatar tdulcet commented on July 22, 2024

No problem. Yes, we are hoping they will fix OpenCL soon...

Anyway, I just tested the old version of our GPU notebook that I linked to above and it does still work as expected.

from distributed-computing-scripts.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.