Paralution on Linux, CUDA not working

Front page Forums Installation Paralution on Linux, CUDA not working

This topic contains 2 replies, has 2 voices, and was last updated by  Matthaios 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1397

    Matthaios
    Member

    Dear Community/Developers,

    I am having an issue with Paralution’s CUDA backend on a Linux machine (os: Ubuntu14.04)
    When I run info_paralution I get this:
    ———————————————————–
    This version of PARALUTION is released under GPL.
    By downloading this package you fully agree with the GPL license.
    Number of CPU cores: 8
    Host thread affinity policy – thread mapping on every core
    modprobe: ERROR: could not insert ‘nvidia_352′: No such device
    Querying for GPU devices failed – falling back to host backend
    PARALUTION ver B1.1.0
    PARALUTION platform is initialized
    Accelerator backend: GPU(CUDA)
    OpenMP threads:8
    GPU is not initialized
    —————————————————————
    so, obviously something is wrong with the GPU stuff.

    When I compiled the library I got:
    — Found CUDA: /usr/local/cuda (found version “7.5”)
    — Found OpenCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so

    now when I try to use an example I get:
    ———————————————
    Number of CPU cores: 8
    Host thread affinity policy – thread mapping on every core
    modprobe: ERROR: could not insert ‘nvidia_352′: No such device
    Querying for GPU devices failed – falling back to host backend
    PARALUTION ver B1.1.0
    PARALUTION platform is initialized
    Accelerator backend: GPU(CUDA)
    OpenMP threads:8
    GPU is not initialized

    host backend={CPU(OpenMP)}; accelerator backend={GPU(CUDA)}; current=CPU(OpenMP)
    PCG solver starts, with preconditioner:

    ———————————————————————
    that means that it does not actually uses the GPU.

    Has anybody experienced this issue before? Anybody knows how to fix it?
    If not, please could you advice me in what further tests I could do in order to find what is causing this problem?

    Thanks,

    Matthaios

    #1399

    Dimitar
    Member

    Hi Matthaios,

    It looks like that you cannot load the driver for the GPU. Can you run some CUDA examples – they should be available in the CUDA SDK directory. You can also try to run some OpenCL examples. Do you have permission to use the GPU (try under root)?

    The issue is not related to PARALUTION, it is related to your driver.

    Best,
    Dimitar

    #1401

    Matthaios
    Member

    Hi Dimitar,
    You are right, there was an issue with my graphics driver.
    I re-installed the driver and now Paralution works like a charm!
    Thank you for your help!
    Best wishes,
    Matthaios

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.