Comments (4)
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.
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.
Both issues are weird! let me contact you my email.
from g2s.
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)
- Compiling on Ubuntu 18.04 LTS HOT 2
- Problem with the build process HOT 5
- Issue importing G2S for Python HOT 2
- How is going with the -adsim simulation? HOT 3
- failed to do simulation or return simulation results HOT 9
- Portable GUI-type version for windows, for just texture synthesis HOT 1
- ValueError: too many values to unpack in python examples HOT 2
- Passing None to optional G2S parameters HOT 1
- libzmq.so.5 not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g2s.