Giter Site home page Giter Site logo

Installation instructions about mitsuba2 HOT 18 CLOSED

isolin avatar isolin commented on July 17, 2024
Installation instructions

from mitsuba2.

Comments (18)

daralthus avatar daralthus commented on July 17, 2024 4

Here's a quick Dockerfile if anyone needs one: https://github.com/daralthus/mitsuba2-docker

from mitsuba2.

KelSolaar avatar KelSolaar commented on July 17, 2024 2

For what it is worth I have that recipe for Google Colab: https://colab.research.google.com/drive/1lPUdWiE1C1Xe9pBod9AMXfDp5KBWIODm

from mitsuba2.

isolin avatar isolin commented on July 17, 2024 1

I'll have a look on that ... in case you don't hear anything from me until Wednesday, please ping me :)

from mitsuba2.

isolin avatar isolin commented on July 17, 2024 1

So I have an installation & build script almost ready. A few more checks tomorrow and it should be good to go.

from mitsuba2.

isolin avatar isolin commented on July 17, 2024 1

@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.

wjakob avatar wjakob commented on July 17, 2024

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.

isolin avatar isolin commented on July 17, 2024

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.

hiyyg avatar hiyyg commented on July 17, 2024

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.

KelSolaar avatar KelSolaar commented on July 17, 2024

@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.

hiyyg avatar hiyyg commented on July 17, 2024

@KelSolaar So it doesn't work on 16.04?

from mitsuba2.

KelSolaar avatar KelSolaar commented on July 17, 2024

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.

merlinND avatar merlinND commented on July 17, 2024

@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.

hiyyg avatar hiyyg commented on July 17, 2024

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.

isolin avatar isolin commented on July 17, 2024

@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.

hiyyg avatar hiyyg commented on July 17, 2024

I have no experience with LXD container. It would be very nice if you could prepare some guide or script.

from mitsuba2.

isolin avatar isolin commented on July 17, 2024

Are you actually going for a GPU or just a CPU build?

from mitsuba2.

hiyyg avatar hiyyg commented on July 17, 2024

For GPU build.

from mitsuba2.

isolin avatar isolin commented on July 17, 2024

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)

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.