Giter Site home page Giter Site logo

'g2s_cuda.so' is missing about g2s HOT 4 CLOSED

cgotelli avatar cgotelli commented on May 23, 2024
'g2s_cuda.so' is missing

from g2s.

Comments (4)

mgravey avatar mgravey commented on May 23, 2024

So normally it is functional, just because you cannot use CUDA, it will use the CPU instead.

First question you want/need to use CUDA ? Like under 1000x1000pixel simulation/TI, it's usually not interesting. Just that you know before losing time with it.

In WSL, do you have CUDA in your path ? are the commands nvidia-smi and nvcc working ?

Normally, the brew (linuxbrew in this case) install includes this library. But if CUDA is not in the path, it will still not work.

Best,
Mathieu

from g2s.

cgotelli avatar cgotelli commented on May 23, 2024

Thanks for your answer!
I checked the 'nvidia-smi' and 'nvcc --version' commands, and both work.

Mon Jul 24 13:04:47 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.01              Driver Version: 536.67       CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1080        On  | 00000000:01:00.0  On |                  N/A |
|  0%   54C    P2              42W / 210W |   2327MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A        23      G   /Xwayland                                 N/A      |
+---------------------------------------------------------------------------------------+
 nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0

I re-launched the install.bat file from the original zip, and I get the same error. I also tried with the brew installation, but I could not make it work because I got this error:

==> Fetching open-geocomputing/brew/g2s
==> Downloading brew-bottles.open-geocomputing.org//g2s-0.98.018.x86_64_linux.bottle.1.tar.gz
Already downloaded: /home/cmgotelli/.cache/Homebrew/downloads/a656b95617bd3460d1933b6bdcb4f00ffcc8b82862b0258081249ec6d5fb58f7--g2s-0.98.018.x86_64_linux.bottle.1.tar.gz
==> Installing g2s from open-geocomputing/brew
==> Pouring g2s-0.98.018.x86_64_linux.bottle.1.tar.gz
cp: cannot create regular file '/home/linuxbrew/.linuxbrew/Cellar/g2s/./0.98.015/bin/g2s': Permission denied
Error: Failure while executing; `/usr/bin/env cp -pR /tmp/d20230724-2712-yp193n/g2s/. /home/linuxbrew/.linuxbrew/Cellar/g2s` exited with 1. Here's the output:
cp: cannot create regular file '/home/linuxbrew/.linuxbrew/Cellar/g2s/./0.98.015/bin/g2s': Permission denied

Ideally, I would like to use images bigger than 1000 by 1000, then check if it's worth it.

Thanks again for your time :)

from g2s.

mgravey avatar mgravey commented on May 23, 2024

Both issues are weird! let me contact you my email.

from g2s.

mgravey avatar mgravey commented on May 23, 2024

I don't really know from where the bug is from.
To any reader of this issue: if you have the same issue, please feel free to reopen it.

from g2s.

Related Issues (10)

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.