Comments (18)
Here's a quick Dockerfile if anyone needs one: https://github.com/daralthus/mitsuba2-docker
from mitsuba2.
For what it is worth I have that recipe for Google Colab: https://colab.research.google.com/drive/1lPUdWiE1C1Xe9pBod9AMXfDp5KBWIODm
from mitsuba2.
I'll have a look on that ... in case you don't hear anything from me until Wednesday, please ping me :)
from mitsuba2.
So I have an installation & build script almost ready. A few more checks tomorrow and it should be good to go.
from mitsuba2.
@hiyyg I published the script and I will be happy if you can give me feedback if it works for you. Feel free to ask me about any details.
https://github.com/isolin/mitsuba2lxd
from mitsuba2.
Quick question: which package was missing specifically? Our instructions specify to install clang, libc++, cmake, and ninja. So that should actually be everything that's needed regardless of build-essentials.
from mitsuba2.
As far as I remember it was build-essentials
, but I will repeat the installation to check that. I installed Mitsuba inside of an LXD container, so it should be easy to reproduce.
from mitsuba2.
Hi @KelSolaar, thanks for your recipe. I followed it to install the dependencies but I failed to install clang-9.
sudo apt install clang-9 libc++-9-dev libc++abi-9-dev cmake ninja-build
It seems my ubuntu 16.04 can not find the correct apt resource.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package clang-9
E: Unable to locate package libc++-9-dev
E: Couldn't find any package by regex 'libc++-9-dev'
E: Unable to locate package libc++abi-9-dev
E: Couldn't find any package by regex 'libc++abi-9-dev'
Do you have any ideas?
from mitsuba2.
@hiyyg : Colab runs 18.04:
!lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
from mitsuba2.
@KelSolaar So it doesn't work on 16.04?
from mitsuba2.
Good question! At any rate, Ubuntu 16.04 is EOL next year, not sure it is worth the hassle trying to make it work on that OS.
from mitsuba2.
@hiyyg I'm pretty sure you could make it work on Ubuntu 16.04, but the clang-9
packages are not available so you would have to obtain a recent clang in another way.
from mitsuba2.
Yeah, I mean I can not find a easy-to-follow recipe to install clang-9 packages on Ubuntu 16.04. I suppose many people will still stick on Ubuntu 16.04 for a long time, because of covid-19, we can not physically access the lab servers to upgrade the system.
from mitsuba2.
@hiyyg What about launching an LXD container with a different Ubuntu version? Mitsuba can happily compile and run inside without any noticable overhead and directly using the GPU. I do that regularly. If you need help, just tell me and I will prepare a short setup guide or script for you. A second option would be a docker container.
from mitsuba2.
I have no experience with LXD container. It would be very nice if you could prepare some guide or script.
from mitsuba2.
Are you actually going for a GPU or just a CPU build?
from mitsuba2.
For GPU build.
from mitsuba2.
OK working on that!
Regarding my original issue, build-essentials
are required by cuda
so they get installed along in a GPU build.
from mitsuba2.
Related Issues (20)
- [🔨 compilation issue] 'cmake -GNinja' step HOT 3
- [❔ other question] How to convert/extract enoki.autodiff_cuda.Float32 type array from Bitmap class? HOT 4
- [❔ other question]runtime API error = 0719 HOT 1
- [🐛 bug report] importing Pytorch after mitsuba => Segmentation fault (core dumped) HOT 1
- [❔ other question] Performance on Windows much lower than Linux? HOT 5
- [🐛 bug report] hdrfilm.cpp: duplicate channel detection HOT 3
- [❔ other question] how to uninstall mitsuba2 in linux? HOT 4
- The examples of Differentiable rendering applications HOT 2
- [🐛 bug report] OptiX "arithmetic involving uninitialized variable!" with Certain Scenes HOT 1
- [✨ feature request] Tutorial on differential rendering material acquisition HOT 1
- Something about code HOT 1
- Caught a critical exception: main [properties.cpp:401] └1∩Æ∞☺
- [✨ feature request] Does the mitsuba2 support bsdf for cloth model? HOT 1
- 用java或C++用物件導向的概念設計程式解下面的問題:讀取一組時間,計算出時針與分針的夾角,時間的格式是0:00到12:00,小時數可能為1或2位數,分鐘數總是2位數,00到59之間。輸出腳讀為0到180之間的值,角度的精確度到千分之一。例如9:00是90.000度,不是-90,也不是270,2:00則是60 HOT 1
- Rendered polarized images' intensity doesn't change according to the change of polarization angle- [❔ other question] HOT 1
- [❔ other question] setting the variant("llvm_spectral_polarized"), the code didn't work HOT 2
- [❔ other question]How can we output UV map in python? HOT 1
- - [❔ other question] I want to optimize the values in the transform component of my sensor plugin HOT 1
- Unable to compile: Windows 10: Visual Studio Community 2022 HOT 1
- White noise in spectral rendering - [❔ other question] HOT 1
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 mitsuba2.