mitsuba-renderer / mitsuba3

Mitsuba 3: A Retargetable Forward and Inverse Renderer
https://www.mitsuba-renderer.org/
Other
2.1k stars 246 forks source link

Build is failing . Drjit error #1237

Closed sujoyrc closed 3 months ago

sujoyrc commented 4 months ago

I am compiling this on a Ubuntu machine

OS: Ubuntu 20.04.6 LTS x86_64
Host: OpenStack Nova 26.2.1 
Kernel: 5.4.0-187-generic 
Shell: bash 5.0.17 
CPU: AMD EPYC 7702 (30) @ 1.996GHz 
GPU: NVIDIA 00:08.0 NVIDIA Corporation Device 20b2
Memory: 27770MiB / 216257MiB 

the commands I ran

source radioMaps_venv_3.10/bin/activate
export PATH=/data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/:$PATH
cmake -G Ninja .. -DCMAKE_C_COMPILER=`which gcc-9` -DCMAKE_CXX_COMPILER=`which g++-9`   -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DPYTHON_INCLUDE_DIR=$(python -c "import sysconfig; print(sysconfig.get_path('include'))") -DPYTHON_LIBRARY=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
ninja
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ cmake --version
cmake version 3.30.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).

The cmake worked but ninja build is failing.

(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ ninja
[4/718] Generating ../../../../python/drjit/interop.pyi
FAILED: python/drjit/interop.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/interop.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.interop -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/interop.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[6/718] Generating ../../../../python/drjit/py.typed, ../../../../python/drjit/__init__.pyi
FAILED: python/drjit/py.typed python/drjit/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/py.typed /data3/RadioMaps/mitsuba3/build/python/drjit/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -M /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/py.typed -m drjit -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/__init__.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[7/718] Generating ../../../../python/drjit/cuda/ad.pyi
FAILED: python/drjit/cuda/ad.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/cuda/ad.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.cuda.ad -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/cuda/ad.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[8/718] Generating ../../../../python/drjit/llvm/ad.pyi
FAILED: python/drjit/llvm/ad.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/llvm/ad.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.llvm.ad -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/llvm/ad.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[9/718] Generating ../../../../python/drjit/cuda/py.typed, ../../../../python/drjit/cuda/__init__.pyi
FAILED: python/drjit/cuda/py.typed python/drjit/cuda/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/cuda/py.typed /data3/RadioMaps/mitsuba3/build/python/drjit/cuda/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -M /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/cuda/py.typed -m drjit.cuda -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/cuda/__init__.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[11/718] Generating ../../../../python/drjit/llvm/py.typed, ../../../../python/drjit/llvm/__init__.pyi
FAILED: python/drjit/llvm/py.typed python/drjit/llvm/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/llvm/py.typed /data3/RadioMaps/mitsuba3/build/python/drjit/llvm/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -M /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/llvm/py.typed -m drjit.llvm -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/llvm/__init__.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[12/718] Generating ../../../../python/drjit/detail.pyi
FAILED: python/drjit/detail.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/detail.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.detail -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/detail.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[14/718] Generating ../../../../python/drjit/scalar/__init__.pyi
FAILED: python/drjit/scalar/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/scalar/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.scalar -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/scalar/__init__.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[16/718] Generating ../../../../python/drjit/ast.pyi
FAILED: python/drjit/ast.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/ast.pyi 
cd /data3/RadioMaps/mitsuba3/build/ext/drjit/src/python && /usr/bin/python3.8 /data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py -q -i /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/.. -p /data3/RadioMaps/mitsuba3/ext/drjit/src/python/../../drjit/stubs.pat -m drjit.ast -o /data3/RadioMaps/mitsuba3/build/ext/../python/drjit/ast.pyi
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 5, in <module>
    from . import _drjit_ext as _drjit_ext
ImportError: libdrjit-extra.so: cannot open shared object file: No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1391, in <module>
    main()
  File "/data3/RadioMaps/mitsuba3/ext/nanobind/src/stubgen.py", line 1324, in main
    mod_imported = importlib.import_module(mod)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/data3/RadioMaps/mitsuba3/build/ext/../python/drjit/../drjit/__init__.py", line 17, in <module>
    raise err
ImportError: Could not import the Dr.Jit binary extension. It is likely that the Python version for which Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
[35/718] Building CXX object ext/embree/kernels/CMakeFiles/embree_avx512.dir/bvh/bvh_intersector_hybrid16_bvh4.cpp.avx512.cpp.o
ninja: build stopped: subcommand failed.

I need the build because I want to run https://github.com/NVlabs/instant-rm?tab=readme-ov-file - However I have not yet included the cuda_ad_mono_polarized recommended there since build was failing.

sujoyrc commented 4 months ago

as can be seen the version is being said to be diffeetne but is same

 Dr.Jit was compiled (3.8.10) is incompatible with the current interpreter (3.8.10).
merlinND commented 4 months ago

Hello @sujoyrc,

The latest instructions for instant-rm give you a command to clone version v3.5.2 specifically. Could you please clone using this command and start from scratch?

git clone --recursive  https://github.com/mitsuba-renderer/mitsuba3.git --branch v3.5.2
merlinND commented 4 months ago

Two more questions in case the above isn't sufficient to fix your issue:

  1. The CMake command you are running looks quite complicated. In principle, if you activate your Python virtual environment before running cmake, it should pickup the right Python binary automatically.
  2. Could you please give the full list of variants enabled in mitsuba.conf?
sujoyrc commented 4 months ago

Thank you . However on cloning this I am getting the following error

If only do a cmake as suggested on the installation instructions https://mitsuba.readthedocs.io/en/latest/src/developer_guide/compiling.html

(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ cmake -GNinja ..
-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/clang++-10
-- Check for working CXX compiler: /usr/bin/clang++-10 - broken
CMake Error at /data3/RadioMaps/cmake-3.30.0-linux-x86_64/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake:73 (message):
  The C++ compiler

    "/usr/bin/clang++-10"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/data3/RadioMaps/mitsuba3/build/CMakeFiles/CMakeScratch/TryCompile-YWakbp'

    Run Build Command(s): /usr/bin/ninja -v cmTC_7f6ea
    [1/2] /usr/bin/clang++-10    -o CMakeFiles/cmTC_7f6ea.dir/testCXXCompiler.cxx.o -c /data3/RadioMaps/mitsuba3/build/CMakeFiles/CMakeScratch/TryCompile-YWakbp/testCXXCompiler.cxx
    FAILED: CMakeFiles/cmTC_7f6ea.dir/testCXXCompiler.cxx.o 
    /usr/bin/clang++-10    -o CMakeFiles/cmTC_7f6ea.dir/testCXXCompiler.cxx.o -c /data3/RadioMaps/mitsuba3/build/CMakeFiles/CMakeScratch/TryCompile-YWakbp/testCXXCompiler.cxx
    /usr/bin/clang++-10: /home/ubuntu/miniconda3/lib/libtinfo.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libLLVM-10.so.1)
    /usr/bin/clang++-10: /home/ubuntu/miniconda3/lib/libtinfo.so.6: no version information available (required by /usr/lib/x86_64-linux-gnu/libedit.so.2)
    /usr/bin/clang++-10: symbol lookup error: /usr/lib/x86_64-linux-gnu/libLLVM-10.so.1: undefined symbol: ffi_type_void, version LIBFFI_BASE_7.0
    ninja: build stopped: subcommand failed.

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)

-- Configuring incomplete, errors occurred!

If I add the following options I get a different set of errors

(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ cmake -G Ninja .. -DCMAKE_C_COMPILER=`which gcc-9` -DCMAKE_CXX_COMPILER=`which g++-9`
-- The CXX compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-9 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-9 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Mitsuba v3.5.2 
-- Mitsuba: setting build type to 'Release' as none was specified.
-- Mitsuba: targeting the native CPU architecture (specify MI_NATIVE_FLAGS to change this).
-- Found Python: /data3/RadioMaps/radioMaps_venv_3.10/bin/python3.10 (found version "3.10.14") found components: Interpreter Development Development.Module Development.Embed
-- Looking for C++ include pybind11/pybind11.h
-- Looking for C++ include pybind11/pybind11.h - not found
CMake Deprecation Warning at ext/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- pybind11 v2.10.1 
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Mitsuba: building the following variants:
--  * scalar_rgb
--  * scalar_spectral
--  * cuda_ad_rgb
--  * llvm_ad_rgb
-- Dr.Jit v0.4.6 
-- Dr.Jit: building the CUDA & LLVM JIT backend.
-- Dr.Jit-Core: LLVM will be loaded dynamically at runtime.
-- Dr.Jit-Core: CUDA will be loaded dynamically at runtime.
-- Dr.Jit-Core: OptiX support enabled.
-- Dr.Jit-Core: OptiX debug and validation flags disabled.
-- Dr.Jit: building the autodiff backend.
-- Dr.Jit: building the Python plugin.
CMake Deprecation Warning at ext/embree/CMakeLists.txt:19 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Found Git: /usr/bin/git (found version "2.25.1")
-- GNU detected
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configure ILMBASE Version: 2.5.5 Lib API: 25.0.4
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Looking for include file ucontext.h
-- Looking for include file ucontext.h - found
-- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT
-- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT - Success
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for sem_init in pthread
-- Looking for sem_init in pthread - found
-- Configure OpenEXR Version: 2.5.5 Lib API: 25.0.4
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN
-- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN - Success
-- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX
-- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX - Success
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc-9
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Success
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Performing Test __CxxFlag__fno_threadsafe_statics
-- Performing Test __CxxFlag__fno_threadsafe_statics - Success
-- Performing Test __CxxFlag__fno_semantic_interposition
-- Performing Test __CxxFlag__fno_semantic_interposition - Success
-- Performing Test __CxxFlag__fmerge_all_constants
-- Performing Test __CxxFlag__fmerge_all_constants - Success
-- Performing Test __CxxFlag__fno_enforce_eh_specs
-- Performing Test __CxxFlag__fno_enforce_eh_specs - Success
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Tests are disabled. Set FASTFLOAT_TEST to ON to run tests.
-- Mitsuba: using OptiX for GPU ray tracing.
-- Mitsuba: using Embree for CPU ray tracing.
-- Mitsuba: OptiX debug and validation flags disabled.
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) 
CMake Warning at CMakeLists.txt:467 (message):

  Created a default 'mitsuba.conf' configuration file.  You will
  probably want to edit this file to specify the desired configurations
  before starting to compile.

-- Configuring done (2.3s)
CMake Error at src/mitsuba/CMakeLists.txt:7 (add_executable):
  The install of the mitsuba-bin target requires changing an RPATH from the
  build tree, but this is not supported with the Ninja generator unless on an
  ELF-based or XCOFF-based platform.  The CMAKE_BUILD_WITH_INSTALL_RPATH
  variable may be set to avoid this relinking step.

  CMake Error at /data3/RadioMaps/cmake-3.30.0-linux-x86_64/share/cmake-3.30/Modules/FindPython/Support.cmake:4211 (add_library):
  The install of the mitsuba_ext target requires changing an RPATH from the
  build tree, but this is not supported with the Ninja generator unless on an
  ELF-based or XCOFF-based platform.  The CMAKE_BUILD_WITH_INSTALL_RPATH
  variable may be set to avoid this relinking step.
Call Stack (most recent call first):
  /data3/RadioMaps/cmake-3.30.0-linux-x86_64/share/cmake-3.30/Modules/FindPython.cmake:686 (__Python_add_library)
  ext/pybind11/tools/pybind11NewTools.cmake:187 (python_add_library)
  src/python/CMakeLists.txt:49 (pybind11_add_module)

-- Generating done (0.3s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

The CMake Error block repeats many times - I have excluded all but 2 for brevity. I had faced a similar issue in the earlier build which went away with the full run command but does not with the new git clone.

Please suggest

merlinND commented 4 months ago

What about the following (make sure that you fully delete your build folder before trying again):

CC=gcc-9 CXX=g++-9 cmake -G Ninja .. -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON

I'm not sure why CMake doesnt think you are on an "ELF-based or XCOFF-based platform", since you are on Ubuntu (?).

sujoyrc commented 4 months ago

the build worked - thanks for your help. This is my mitsuba.conf lines 86-88

 86     "enabled": [
 87         "scalar_rgb", "scalar_spectral", "cuda_ad_rgb", "llvm_ad_rgb", "cuda_ad_mono_polarized"
 88     ],

When I run the tutorial on instant-rm I get the following error on very first cell

%matplotlib inline
import matplotlib.pyplot as plt

import drjit as dr
import mitsuba as mi
import numpy as np
from instant_rm import MapTracer, PathlossMapRBPTracer
import time
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 7
      5 import mitsuba as mi
      6 import numpy as np
----> 7 from instant_rm import MapTracer, PathlossMapRBPTracer
      8 import time

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/instant_rm/__init__.py:12
      1 # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
      2 # SPDX-License-Identifier: LicenseRef-NvidiaProprietary
      3 #
   (...)
      8 # without an express license agreement from NVIDIA CORPORATION or
      9 # its affiliates is strictly prohibited.
     11 import mitsuba as mi
---> 12 mi.set_variant('cuda_ad_mono_polarized')
     15 from .tracer import MapTracer
     16 from .tracer_prb import PathlossMapRBPTracer

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/mitsuba/__init__.py:300, in MitsubaModule.set_variant(self, *args)
    297         break
    299 if value is None:
--> 300     raise ImportError('Requested an unsupported variant "%s". The '
    301                       'following variants are available: %s.' % (
    302                         args if len(args) > 1 else args[0],
    303                         ", ".join(self.variants())))
    305 global _tls
    306 if getattr(_tls, 'variant', None) == value:

ImportError: Requested an unsupported variant "cuda_ad_mono_polarized". The following variants are available: scalar_rgb, scalar_spectral, cuda_ad_rgb, llvm_ad_rgb.
merlinND commented 4 months ago

I'm glad the build worked. For this new error, my first guess is that you have mitsuba installed in your virtual environment or global Python packages.

Make sure to uninstall it, then source your custom build before running the Jupyterlab server. Something like:

source ./.venv/bin/activate
pip uninstall mitsuba drjit
source ./mitsuba3/build/setpath.sh
jupyterlab .
sujoyrc commented 4 months ago

sorry for asking so many questions. Now a new error

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/scipy/__init__.py:86
     85 try:
---> 86     from scipy._lib._ccallback import LowLevelCallable
     87 except ImportError as e:

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/scipy/_lib/_ccallback.py:1
----> 1 from . import _ccallback_c
      3 import ctypes

File _ccallback_c.pyx:205, in init scipy._lib._ccallback_c()

File /usr/lib/python3.10/ctypes/__init__.py:8
      6 __version__ = "1.1.0"
----> 8 from _ctypes import Union, Structure, Array
      9 from _ctypes import _Pointer

ImportError: /usr/lib/python3.10/lib-dynload/_ctypes.cpython-310-x86_64-linux-gnu.so: undefined symbol: ffi_closure_alloc, version LIBFFI_CLOSURE_7.0

The above exception was the direct cause of the following exception:

ImportError                               Traceback (most recent call last)
Cell In[2], line 7
      5 import mitsuba as mi
      6 import numpy as np
----> 7 from instant_rm import MapTracer, PathlossMapRBPTracer
      8 import time

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/instant_rm/__init__.py:26
     24 mi.register_bsdf("lambertian", lambda props: LambertianMaterial(props))
     25 # Backscattering
---> 26 from .backscattering_material import BackscatteringMaterial
     27 mi.register_bsdf("backscattering", lambda props: BackscatteringMaterial(props))

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/instant_rm/backscattering_material.py:12
      1 # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
      2 # SPDX-License-Identifier: LicenseRef-NvidiaProprietary
      3 #
   (...)
      8 # without an express license agreement from NVIDIA CORPORATION or
      9 # its affiliates is strictly prohibited.
     11 import numpy as np
---> 12 import scipy
     13 import mitsuba as mi
     14 import drjit as dr

File /data3/RadioMaps/radioMaps_venv_3.10/lib/python3.10/site-packages/scipy/__init__.py:91
     87 except ImportError as e:
     88     msg = "The `scipy` install you are using seems to be broken, " + \
     89           "(extension modules cannot be imported), " + \
     90           "please try reinstalling."
---> 91     raise ImportError(msg) from e
     94 from scipy._lib._testutils import PytestTester
     95 test = PytestTester(__name__)

ImportError: The `scipy` install you are using seems to be broken, (extension modules cannot be imported), please try reinstalling.

I have run the pip installs and set the path as recommended in the instant-rm package. have tried uninstalling and installing scipy fresh

pip install -r requirements.txt
pip install .
pip install -r requirements_tests.txt
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/instant-rm$ python --version
Python 3.10.14
merlinND commented 4 months ago

I've never encountered such a problem with scipy, but I don't think it's related to Mitsuba or Instant RM. With your venv activated, you could try pip install --upgrade scipy, but other than that I don't know what's going wrong.

sujoyrc commented 4 months ago

i reinstalled the environment and tried installing mitsuba3 fresh and now whilst scipy is resolved getting a fresh error

Build worked correctly like last time

(radioMaps_venv_3.12) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ export PATH=/data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/:$PATH
(radioMaps_venv_3.12) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ export CC=clang-10 export CXX=clang++-10
(radioMaps_venv_3.12) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ CC=gcc-9 CXX=g++-9 cmake -G Ninja .. -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-- The CXX compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-9 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-9 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Mitsuba v3.5.2 
-- Mitsuba: setting build type to 'Release' as none was specified.
-- Mitsuba: targeting the native CPU architecture (specify MI_NATIVE_FLAGS to change this).
-- Found Python: /data3/RadioMaps/radioMaps_venv_3.12/bin/python3.12 (found version "3.12.4") found components: Interpreter Development Development.Module Development.Embed
-- Looking for C++ include pybind11/pybind11.h
-- Looking for C++ include pybind11/pybind11.h - not found
CMake Deprecation Warning at ext/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- pybind11 v2.10.1 
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Mitsuba: building the following variants:
--  * scalar_rgb
--  * scalar_spectral
--  * cuda_ad_rgb
--  * llvm_ad_rgb
-- Dr.Jit v0.4.6 
-- Dr.Jit: building the CUDA & LLVM JIT backend.
-- Dr.Jit-Core: LLVM will be loaded dynamically at runtime.
-- Dr.Jit-Core: CUDA will be loaded dynamically at runtime.
-- Dr.Jit-Core: OptiX support enabled.
-- Dr.Jit-Core: OptiX debug and validation flags disabled.
-- Dr.Jit: building the autodiff backend.
-- Dr.Jit: building the Python plugin.
CMake Deprecation Warning at ext/embree/CMakeLists.txt:19 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Found Git: /usr/bin/git (found version "2.25.1")
-- GNU detected
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configure ILMBASE Version: 2.5.5 Lib API: 25.0.4
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Looking for include file ucontext.h
-- Looking for include file ucontext.h - found
-- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT
-- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT - Success
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for sem_init in pthread
-- Looking for sem_init in pthread - found
-- Configure OpenEXR Version: 2.5.5 Lib API: 25.0.4
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN
-- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN - Success
-- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX
-- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX - Success
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc-9
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Success
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Performing Test __CxxFlag__fno_threadsafe_statics
-- Performing Test __CxxFlag__fno_threadsafe_statics - Success
-- Performing Test __CxxFlag__fno_semantic_interposition
-- Performing Test __CxxFlag__fno_semantic_interposition - Success
-- Performing Test __CxxFlag__fmerge_all_constants
-- Performing Test __CxxFlag__fmerge_all_constants - Success
-- Performing Test __CxxFlag__fno_enforce_eh_specs
-- Performing Test __CxxFlag__fno_enforce_eh_specs - Success
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Tests are disabled. Set FASTFLOAT_TEST to ON to run tests.
-- Mitsuba: using OptiX for GPU ray tracing.
-- Mitsuba: using Embree for CPU ray tracing.
-- Mitsuba: OptiX debug and validation flags disabled.
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) 
CMake Warning at CMakeLists.txt:467 (message):

  Created a default 'mitsuba.conf' configuration file.  You will
  probably want to edit this file to specify the desired configurations
  before starting to compile.

-- Configuring done (2.3s)
-- Generating done (0.3s)
-- Build files have been written to: /data3/RadioMaps/mitsuba3/build

However when I run the compile via ninja

[754/1227] Running bin2c
CMake Deprecation Warning at /data3/RadioMaps/mitsuba3/ext/nanogui/resources/bin2c.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

[1221/1227] Generating ../../python/drjit/__init__.pyi
FAILED: python/drjit/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/src/python && /data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/cmake -E env PYTHONPATH=/data3/RadioMaps/mitsuba3/build/python:/data3/RadioMaps/mitsuba3/build/python: /data3/RadioMaps/radioMaps_venv_3.12/bin/python3.12 -Xutf8 /data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py /data3/RadioMaps/mitsuba3/build/python/drjit
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py", line 347, in <module>
    import drjit as dr
  File "/data3/RadioMaps/mitsuba3/build/python/drjit/__init__.py", line 37, in <module>
    import drjit.drjit_ext as drjit_ext  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libdrjit-autodiff.so: cannot open shared object file: No such file or directory
[1226/1227] Linking CXX shared module python/mitsuba/mitsuba_llvm_ad_rgb_ext.cpython-312-x86_64-linux-gnu.so
ninja: build stopped: subcommand failed.

not sure what happenned. I had a clone clean git clone

git clone --recursive  https://github.com/mitsuba-renderer/mitsuba3.git --branch v3.5.2

Apologies for so many issues.

sujoyrc commented 4 months ago

hi @merlinND can you please help with this please. Sorry to bother with so many questions.

merlinND commented 4 months ago

Hello @sujoyrc,

tried installing mitsuba3 fresh

Note that you shouldn't try to install mitsuba3.

The only steps for Mitsuba are:

  1. Clean clone of the branch v3.5.2
  2. CMake with the options that you found were working
  3. Build
  4. source build/setpath.sh

Since your build was working earlier, there is no reason for it to fail now, you should be able to get a working Mitsuba build by following the same steps you were following before.

Once you have that, there's nothing special to do with Instant RM, just make sure that you source the setpath.sh script from Mitsuba before starting your Jupyterlab server so that your custom Mitsuba build is on the Python search path.

sujoyrc commented 3 months ago

first of all apologies @merlinND I used the term install loosely - I meant the build and compile only

Now I am doubting if the earlier build was also successful - if I missed the error or not. I have tried doing steps 1-4 on the machine , on a docker container and even on a different A100 machine. Getting the same error

[680/1182] Generating srgb.coeff
Optimizing spectra ................................................................................................................................................................................................ done.
[754/1182] Running bin2c
CMake Deprecation Warning at /data3/RadioMaps/mitsuba3/ext/nanogui/resources/bin2c.cmake:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

[1179/1182] Generating ../../python/drjit/__init__.pyi
FAILED: python/drjit/__init__.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/__init__.pyi 
cd /data3/RadioMaps/mitsuba3/build/src/python && /data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/cmake -E env PYTHONPATH=/data3/RadioMaps/mitsuba3/build/python: /usr/bin/python3.12 -Xutf8 /data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py /data3/RadioMaps/mitsuba3/build/python/drjit
Traceback (most recent call last):
  File "/data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py", line 347, in <module>
    import drjit as dr
  File "/data3/RadioMaps/mitsuba3/build/python/drjit/__init__.py", line 37, in <module>
    import drjit.drjit_ext as drjit_ext  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: libdrjit-autodiff.so: cannot open shared object file: No such file or directory
[1181/1182] Linking CXX shared module python/mitsuba/mitsuba_llvm_ad_rgb_ext.cpython-312-x86_64-linux-gnu.so
ninja: build stopped: subcommand failed.

Any idea on why it is not finding drjit ?

merlinND commented 3 months ago

Could you please upload the full log of your build, and specify each command you ran. I think the error you paste above is likely to be caused by an earlier error during build that you didn't show.

sujoyrc commented 3 months ago
  1. Activate environment
    ubuntu@gpu:/data3/RadioMaps$ source radioMaps_venv_3.10/bin/activate
    (radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ 
  2. Git clone
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ git clone --recursive  https://github.com/mitsuba-renderer/mitsuba3.git --branch v3.5.2
Cloning into 'mitsuba3'...
remote: Enumerating objects: 52853, done.
remote: Counting objects: 100% (3965/3965), done.
remote: Compressing objects: 100% (1410/1410), done.
remote: Total 52853 (delta 2864), reused 3312 (delta 2472), pack-reused 48888
Receiving objects: 100% (52853/52853), 25.29 MiB | 20.41 MiB/s, done.
Resolving deltas: 100% (40848/40848), done.
Note: switching to '29d65370526d266975237c60fc1586fb509bb048'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Submodule 'ext/asmjit' (https://github.com/mitsuba-renderer/asmjit) registered for path 'ext/asmjit'
Submodule 'ext/drjit' (https://github.com/mitsuba-renderer/drjit) registered for path 'ext/drjit'
Submodule 'ext/embree' (https://github.com/mitsuba-renderer/embree) registered for path 'ext/embree'
Submodule 'ext/fastfloat' (https://github.com/fastfloat/fast_float) registered for path 'ext/fastfloat'
Submodule 'ext/ittnotify' (https://github.com/intel/IntelSEAPI) registered for path 'ext/ittnotify'
Submodule 'ext/libjpeg' (https://github.com/mitsuba-renderer/libjpeg) registered for path 'ext/libjpeg'
Submodule 'ext/libpng' (https://github.com/mitsuba-renderer/libpng.git) registered for path 'ext/libpng'
Submodule 'ext/nanogui' (https://github.com/mitsuba-renderer/nanogui) registered for path 'ext/nanogui'
Submodule 'ext/openexr' (https://github.com/mitsuba-renderer/openexr) registered for path 'ext/openexr'
Submodule 'ext/pugixml' (https://github.com/mitsuba-renderer/pugixml) registered for path 'ext/pugixml'
Submodule 'ext/pybind11' (https://github.com/pybind/pybind11) registered for path 'ext/pybind11'
Submodule 'ext/tinyformat' (https://github.com/mitsuba-renderer/tinyformat) registered for path 'ext/tinyformat'
Submodule 'ext/zlib' (https://github.com/mitsuba-renderer/zlib) registered for path 'ext/zlib'
Submodule 'resources/data' (https://github.com/mitsuba-renderer/mitsuba-data) registered for path 'resources/data'
Submodule 'tutorials' (https://github.com/mitsuba-renderer/mitsuba-tutorials) registered for path 'tutorials'
Cloning into '/data3/RadioMaps/mitsuba3/ext/asmjit'...
remote: Enumerating objects: 5359, done.        
remote: Counting objects: 100% (1923/1923), done.        
remote: Compressing objects: 100% (298/298), done.        
remote: Total 5359 (delta 1705), reused 1625 (delta 1625), pack-reused 3436        
Receiving objects: 100% (5359/5359), 6.64 MiB | 17.80 MiB/s, done.
Resolving deltas: 100% (3838/3838), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit'...
remote: Enumerating objects: 21459, done.        
remote: Counting objects: 100% (3180/3180), done.        
remote: Compressing objects: 100% (918/918), done.        
remote: Total 21459 (delta 2367), reused 2811 (delta 2228), pack-reused 18279        
Receiving objects: 100% (21459/21459), 7.35 MiB | 18.49 MiB/s, done.
Resolving deltas: 100% (14713/14713), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/embree'...
remote: Enumerating objects: 144222, done.        
remote: Counting objects: 100% (21/21), done.        
remote: Compressing objects: 100% (19/19), done.        
remote: Total 144222 (delta 5), reused 11 (delta 2), pack-reused 144201        
Receiving objects: 100% (144222/144222), 79.94 MiB | 23.84 MiB/s, done.
Resolving deltas: 100% (120009/120009), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/fastfloat'...
remote: Enumerating objects: 3195, done.        
remote: Counting objects: 100% (782/782), done.        
remote: Compressing objects: 100% (187/187), done.        
remote: Total 3195 (delta 568), reused 691 (delta 544), pack-reused 2413        
Receiving objects: 100% (3195/3195), 724.35 KiB | 4.42 MiB/s, done.
Resolving deltas: 100% (1996/1996), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/ittnotify'...
remote: Enumerating objects: 931, done.        
remote: Counting objects: 100% (61/61), done.        
remote: Compressing objects: 100% (21/21), done.        
remote: Total 931 (delta 47), reused 42 (delta 40), pack-reused 870        
Receiving objects: 100% (931/931), 3.37 MiB | 10.77 MiB/s, done.
Resolving deltas: 100% (582/582), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/libjpeg'...
remote: Enumerating objects: 188, done.        
remote: Total 188 (delta 0), reused 0 (delta 0), pack-reused 188        
Receiving objects: 100% (188/188), 979.11 KiB | 3.96 MiB/s, done.
Resolving deltas: 100% (41/41), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/libpng'...
remote: Enumerating objects: 759, done.        
remote: Counting objects: 100% (403/403), done.        
remote: Compressing objects: 100% (294/294), done.        
remote: Total 759 (delta 97), reused 401 (delta 96), pack-reused 356        
Receiving objects: 100% (759/759), 2.66 MiB | 10.82 MiB/s, done.
Resolving deltas: 100% (164/164), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/nanogui'...
remote: Enumerating objects: 4200, done.        
remote: Counting objects: 100% (974/974), done.        
remote: Compressing objects: 100% (184/184), done.        
remote: Total 4200 (delta 826), reused 852 (delta 782), pack-reused 3226        
Receiving objects: 100% (4200/4200), 5.41 MiB | 17.81 MiB/s, done.
Resolving deltas: 100% (2932/2932), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/openexr'...
remote: Enumerating objects: 16732, done.        
remote: Total 16732 (delta 0), reused 0 (delta 0), pack-reused 16732        
Receiving objects: 100% (16732/16732), 45.87 MiB | 19.75 MiB/s, done.
Resolving deltas: 100% (12240/12240), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/pugixml'...
remote: Enumerating objects: 9156, done.        
remote: Counting objects: 100% (449/449), done.        
remote: Compressing objects: 100% (234/234), done.        
remote: Total 9156 (delta 256), reused 302 (delta 201), pack-reused 8707        
Receiving objects: 100% (9156/9156), 6.54 MiB | 19.53 MiB/s, done.
Resolving deltas: 100% (6266/6266), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/pybind11'...
remote: Enumerating objects: 28628, done.        
remote: Counting objects: 100% (34/34), done.        
remote: Compressing objects: 100% (28/28), done.        
remote: Total 28628 (delta 8), reused 12 (delta 5), pack-reused 28594        
Receiving objects: 100% (28628/28628), 10.97 MiB | 24.58 MiB/s, done.
Resolving deltas: 100% (20211/20211), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/tinyformat'...
remote: Enumerating objects: 380, done.        
remote: Total 380 (delta 0), reused 0 (delta 0), pack-reused 380        
Receiving objects: 100% (380/380), 214.81 KiB | 1.33 MiB/s, done.
Resolving deltas: 100% (236/236), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/zlib'...
remote: Enumerating objects: 4937, done.        
remote: Total 4937 (delta 0), reused 0 (delta 0), pack-reused 4937        
Receiving objects: 100% (4937/4937), 2.53 MiB | 8.97 MiB/s, done.
Resolving deltas: 100% (3490/3490), done.
Cloning into '/data3/RadioMaps/mitsuba3/resources/data'...
remote: Enumerating objects: 1071, done.        
remote: Counting objects: 100% (1071/1071), done.        
remote: Compressing objects: 100% (899/899), done.        
remote: Total 1071 (delta 211), reused 953 (delta 166), pack-reused 0        
Receiving objects: 100% (1071/1071), 204.33 MiB | 15.31 MiB/s, done.
Resolving deltas: 100% (211/211), done.
Cloning into '/data3/RadioMaps/mitsuba3/tutorials'...
remote: Enumerating objects: 523, done.        
remote: Counting objects: 100% (523/523), done.        
remote: Compressing objects: 100% (512/512), done.        
remote: Total 523 (delta 13), reused 501 (delta 10), pack-reused 0        
Receiving objects: 100% (523/523), 44.90 MiB | 19.48 MiB/s, done.
Resolving deltas: 100% (13/13), done.
Submodule path 'ext/asmjit': checked out 'cae01e3964a44d76cb32ba574d80828217636704'
Submodule path 'ext/drjit': checked out '4b022cb70d17367adddfdc6be10e0dd4e615d127'
Submodule 'ext/drjit-core' (https://github.com/mitsuba-renderer/drjit-core) registered for path 'ext/drjit/ext/drjit-core'
Submodule 'ext/pybind11' (https://github.com/pybind/pybind11) registered for path 'ext/drjit/ext/pybind11'
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit/ext/drjit-core'...
remote: Enumerating objects: 10786, done.        
remote: Counting objects: 100% (2095/2095), done.        
remote: Compressing objects: 100% (492/492), done.        
remote: Total 10786 (delta 1656), reused 1905 (delta 1559), pack-reused 8691        
Receiving objects: 100% (10786/10786), 4.30 MiB | 13.86 MiB/s, done.
Resolving deltas: 100% (8454/8454), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit/ext/pybind11'...
remote: Enumerating objects: 28628, done.        
remote: Counting objects: 100% (34/34), done.        
remote: Compressing objects: 100% (28/28), done.        
remote: Total 28628 (delta 8), reused 12 (delta 5), pack-reused 28594        
Receiving objects: 100% (28628/28628), 10.89 MiB | 11.73 MiB/s, done.
Resolving deltas: 100% (20303/20303), done.
Submodule path 'ext/drjit/ext/drjit-core': checked out 'a5073390f83230e42a4823966aa7df76797e11f1'
Submodule 'ext/nanothread' (https://github.com/mitsuba-renderer/nanothread) registered for path 'ext/drjit/ext/drjit-core/ext/nanothread'
Submodule 'ext/robin_map' (https://github.com/Tessil/robin-map) registered for path 'ext/drjit/ext/drjit-core/ext/robin_map'
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit/ext/drjit-core/ext/nanothread'...
remote: Enumerating objects: 316, done.        
remote: Counting objects: 100% (22/22), done.        
remote: Compressing objects: 100% (7/7), done.        
remote: Total 316 (delta 16), reused 17 (delta 15), pack-reused 294        
Receiving objects: 100% (316/316), 70.92 KiB | 896.00 KiB/s, done.
Resolving deltas: 100% (160/160), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit/ext/drjit-core/ext/robin_map'...
remote: Enumerating objects: 1142, done.        
remote: Counting objects: 100% (196/196), done.        
remote: Compressing objects: 100% (77/77), done.        
remote: Total 1142 (delta 130), reused 149 (delta 98), pack-reused 946        
Receiving objects: 100% (1142/1142), 883.78 KiB | 4.75 MiB/s, done.
Resolving deltas: 100% (777/777), done.
Submodule path 'ext/drjit/ext/drjit-core/ext/nanothread': checked out '8264dfc76c57a73971dfc5d8ef04e54ec0def783'
Submodule 'ext/cmake-defaults' (https://github.com/mitsuba-renderer/cmake-defaults) registered for path 'ext/drjit/ext/drjit-core/ext/nanothread/ext/cmake-defaults'
Cloning into '/data3/RadioMaps/mitsuba3/ext/drjit/ext/drjit-core/ext/nanothread/ext/cmake-defaults'...
remote: Enumerating objects: 49, done.        
remote: Counting objects: 100% (49/49), done.        
remote: Compressing objects: 100% (35/35), done.        
remote: Total 49 (delta 17), reused 46 (delta 14), pack-reused 0        
Submodule path 'ext/drjit/ext/drjit-core/ext/nanothread/ext/cmake-defaults': checked out 'b70784ef9ce47e23a618f60912e1bb78c33496a4'
Submodule path 'ext/drjit/ext/drjit-core/ext/robin_map': checked out 'e4316eb284d87f37b93334808bd4aa7e7d819c85'
Submodule path 'ext/drjit/ext/pybind11': checked out '80dc998efced8ceb2be59756668a7e90e8bef917'
Submodule path 'ext/embree': checked out '74a9f6594eea8e45f9c6baa143da1a502be82655'
Submodule path 'ext/fastfloat': checked out '052975dd5f8166d0f9e4a215fa75a349d5985b91'
Submodule path 'ext/ittnotify': checked out '88a56e0ecd162667c7afd2ee9969221d62a32509'
Submodule path 'ext/libjpeg': checked out 'd3841d172c83f709151a9654e5aaed006cc81ff7'
Submodule path 'ext/libpng': checked out 'd14bc51bf5f8f5ab71a42ece806a43485aedb5d4'
Submodule path 'ext/nanogui': checked out 'a6afde86f48bf2e3a00689c7145746c89fa474a3'
Submodule 'ext/glfw' (https://github.com/wjakob/glfw) registered for path 'ext/nanogui/ext/glfw'
Submodule 'ext/nanovg' (https://github.com/wjakob/nanovg) registered for path 'ext/nanogui/ext/nanovg'
Submodule 'ext/nanovg_metal' (https://github.com/wjakob/nanovg_metal) registered for path 'ext/nanogui/ext/nanovg_metal'
Submodule 'ext/pybind11' (https://github.com/pybind/pybind11) registered for path 'ext/nanogui/ext/pybind11'
Cloning into '/data3/RadioMaps/mitsuba3/ext/nanogui/ext/glfw'...
remote: Enumerating objects: 26030, done.        
remote: Total 26030 (delta 0), reused 0 (delta 0), pack-reused 26030        
Receiving objects: 100% (26030/26030), 12.99 MiB | 18.45 MiB/s, done.
Resolving deltas: 100% (18445/18445), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/nanogui/ext/nanovg'...
remote: Enumerating objects: 1657, done.        
remote: Counting objects: 100% (770/770), done.        
remote: Compressing objects: 100% (34/34), done.        
remote: Total 1657 (delta 747), reused 738 (delta 736), pack-reused 887        
Receiving objects: 100% (1657/1657), 3.55 MiB | 12.59 MiB/s, done.
Resolving deltas: 100% (1146/1146), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/nanogui/ext/nanovg_metal'...
remote: Enumerating objects: 278, done.        
remote: Total 278 (delta 0), reused 0 (delta 0), pack-reused 278        
Receiving objects: 100% (278/278), 495.05 KiB | 2.50 MiB/s, done.
Resolving deltas: 100% (193/193), done.
Cloning into '/data3/RadioMaps/mitsuba3/ext/nanogui/ext/pybind11'...
remote: Enumerating objects: 28628, done.        
remote: Counting objects: 100% (34/34), done.        
remote: Compressing objects: 100% (28/28), done.        
remote: Total 28628 (delta 8), reused 12 (delta 5), pack-reused 28594        
Receiving objects: 100% (28628/28628), 11.18 MiB | 28.26 MiB/s, done.
Resolving deltas: 100% (20219/20219), done.
Submodule path 'ext/nanogui/ext/glfw': checked out 'b06fd827f84c70f43d44f79214b874f66355a4d4'
Submodule path 'ext/nanogui/ext/nanovg': checked out 'bf2320d1175122374a9b806d91e9e666c9336375'
Submodule path 'ext/nanogui/ext/nanovg_metal': checked out '075b04f16c579728c693b46a2ce408f2325968cf'
Submodule path 'ext/nanogui/ext/pybind11': checked out '99ef2b846742e2298b97904e5be43f5ea5d71d8c'
Submodule path 'ext/openexr': checked out 'dbabb6f9500ee628c1faba21bb8add2649cc32a6'
Submodule path 'ext/pugixml': checked out 'aa7280f2b3359575efe5401eea58e5d7851c923b'
Submodule path 'ext/pybind11': checked out '80dc998efced8ceb2be59756668a7e90e8bef917'
Submodule path 'ext/tinyformat': checked out '635345c75bd95891ee041ac51ce74ebc891d5bab'
Submodule path 'ext/zlib': checked out '080a732c47e86444034c1f99355368d35c1e458a'
remote: Enumerating objects: 2444, done.
remote: Counting objects: 100% (2444/2444), done.
remote: Compressing objects: 100% (1149/1149), done.
remote: Total 2172 (delta 1126), reused 2040 (delta 1006), pack-reused 0
Receiving objects: 100% (2172/2172), 203.28 MiB | 25.44 MiB/s, done.
Resolving deltas: 100% (1126/1126), completed with 87 local objects.
From https://github.com/mitsuba-renderer/mitsuba-data
 * branch            bcef64e7fffdf069ed3696df81815c81381550f7 -> FETCH_HEAD
Submodule path 'resources/data': checked out 'bcef64e7fffdf069ed3696df81815c81381550f7'
Submodule path 'tutorials': checked out '42fffc6d85bb8b2423baca26b811b7662444ffe7'
  1. cmake path set
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ export PATH=/data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/:$PATH
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ which cmake
/data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin//cmake
(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ cmake --version
cmake version 3.30.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
  1. set cc / clang
    (radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps$ export CC=clang-10 export CXX=clang++-10
  2. build

    
    (radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ CC=gcc-9 CXX=g++-9 cmake -G Ninja .. -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
    -- The CXX compiler identification is GNU 9.4.0
    -- The C compiler identification is GNU 9.4.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/g++-9 - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/gcc-9 - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Mitsuba v3.5.2 
    -- Mitsuba: setting build type to 'Release' as none was specified.
    -- Mitsuba: targeting the native CPU architecture (specify MI_NATIVE_FLAGS to change this).
    -- Found Python: /data3/RadioMaps/radioMaps_venv_3.10/bin/python3.10 (found version "3.10.14") found components: Interpreter Development Development.Module Development.Embed
    -- Looking for C++ include pybind11/pybind11.h
    -- Looking for C++ include pybind11/pybind11.h - not found
    CMake Deprecation Warning at ext/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.
    
    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.

-- pybind11 v2.10.1 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Mitsuba: building the following variants: -- scalar_rgb -- scalar_spectral -- cuda_ad_rgb -- llvm_ad_rgb -- Dr.Jit v0.4.6 -- Dr.Jit: building the CUDA & LLVM JIT backend. -- Dr.Jit-Core: LLVM will be loaded dynamically at runtime. -- Dr.Jit-Core: CUDA will be loaded dynamically at runtime. -- Dr.Jit-Core: OptiX support enabled. -- Dr.Jit-Core: OptiX debug and validation flags disabled. -- Dr.Jit: building the autodiff backend. -- Dr.Jit: building the Python plugin. CMake Deprecation Warning at ext/embree/CMakeLists.txt:19 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Found Git: /usr/bin/git (found version "2.25.1") -- GNU detected -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configure ILMBASE Version: 2.5.5 Lib API: 25.0.4 -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Looking for include file ucontext.h -- Looking for include file ucontext.h - found -- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT -- Performing Test ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT - Success -- Looking for include file semaphore.h -- Looking for include file semaphore.h - found -- Looking for sem_init in pthread -- Looking for sem_init in pthread - found -- Configure OpenEXR Version: 2.5.5 Lib API: 25.0.4 -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN -- Performing Test OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN - Success -- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX -- Performing Test OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX - Success -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc-9 -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Success -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Performing Test CxxFlagfno_threadsafe_statics -- Performing Test CxxFlagfno_threadsafe_statics - Success -- Performing Test CxxFlagfno_semantic_interposition -- Performing Test CxxFlagfno_semantic_interposition - Success -- Performing Test CxxFlagfmerge_all_constants -- Performing Test CxxFlagfmerge_all_constants - Success -- Performing Test CxxFlagfno_enforce_eh_specs -- Performing Test CxxFlagfno_enforce_eh_specs - Success -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Tests are disabled. Set FASTFLOAT_TEST to ON to run tests. -- Mitsuba: using OptiX for GPU ray tracing. -- Mitsuba: using Embree for CPU ray tracing. -- Mitsuba: OptiX debug and validation flags disabled. -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) CMake Warning at CMakeLists.txt:467 (message):

Created a default 'mitsuba.conf' configuration file. You will probably want to edit this file to specify the desired configurations before starting to compile.

-- Configuring done (2.3s) -- Generating done (0.3s) -- Build files have been written to: /data3/RadioMaps/mitsuba3/build

6. Edit mitsuba3.conf

(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ cat mitsuba.conf {

This file specifies the variants of Mitsuba that should be compiled.

# Note that enabling many features here can lead to slow build times
# and large binaries.
#
# Each variant can make use of the following features, which can be
# combined by concatenating them into a longer name (using underscores,
# as in "scalar_spectral_polarized")
#
# 1. Basic arithmetic type used for computation
#
#    - 'scalar': Computation is done on the CPU using ordinary
#      floating point arithmetic as in Mitsuba 0.5. The renderer
#      processes individual rays at a time. This mode is the
#      easiest to understand and therefore preferred for fixing
#      compilation errors and debugging the renderer.
#
#    - 'llvm': The computation required to render a scene is
#      just-in-time compiled to parallel CPU kernels that process
#      many rays at the same time. This uses the LLVM compiler
#      framework, which is detected and loaded at runtime.
#
#    - 'cuda': The computation required to render a scene is
#      just-in-time compiled to parallel GPU kernels that process
#      many rays at the same time. A somewhat recent (Maxwell or
#      newer) NVIDIA graphics card is required to use this mode,
#      along with driver version 455.28 or newer.
#
# 2. Automatic Differentiation (optional)
#
#    - 'ad': When this flag is specified, the computation additionally
#      keeps track of derivatives. These derivatives can then be used to
#      solve challenging inverse problems using gradient-based
#      optimization.
#
# 3. Representation of color
#
#    - 'mono': Monochromatic simulation, i.e., simply don't simulate
#      color at all. This is useful when simulating scenes that are
#      inherently monochromatic (e.g. with single-frequency laser
#      illumination.) All input scene data is converted to grayscale.
#
#    - 'rgb': Simulate light transport using an RGB-based color
#      representation (as e.g. done in Mitsuba 0.5). This is not
#      particular realistic and somewhat arbitrary as multiplying
#      RGB colors can yield dramatically different answers depending
#      on the underlying RGB color space.
#
#    - 'spectral': Integrate over continuous wavelengths spanning the
#      visible spectrum (360..830 nm). Any RGB data provided in the input
#      scene will be up-sampled into plausible equivalent spectra
#      in this case.
#
# 4. Polarization (optional)
#
#    - "polarized": when this flag is specified, Mitsuba will additionally
#      keep track of the polarization state of light. Builtin materials
#      based on specular reflection and refraction will also switch to the
#      polarized form of the Fresnel equations.
#
# 5. Higher precision (optional)
#
#    - 'double': Mitsuba normally relies on single precision arithmetic.
#       When this flag is specified, double precision will be used
#       instead, which can be useful to check if an issue arises due to
#       insufficient numerical accuracy. Note that Embree and OptiX don't
#       support double precision, hence ray-tracing operations will run in
#       reduced (single) precision in those modes. The only way to use
#       precision for everything including ray tracing is to render on the
#       CPU and disable Embree in CMake. Also note that double precision
#       arithmetic runs with greatly reduced throughput (1/64th of FP32) on
#       recent NVIDIA GPUs.
#
# As mentioned earlier, these 5 "feature dimensions" can be concatenated
# into longer variant names like "llvm_ad_spectral_polarized_double" that
# are defined in more detail in the remainder of this file. Note that it is
# possible to create additional variants that are not explicitly mentioned
# here. To do so, you will have to create a corresponding entry specifying
# 'float' and 'spectrum' C++ types.

# Which variants should be compiled? If mitsuba is launched without any
# specific mode parameter, the first variant of the list below will be
# used. Note that the "scalar_rgb" variant *must* be included at the
# moment.

"enabled": [
    "scalar_rgb", "scalar_spectral", "cuda_ad_rgb", "llvm_ad_rgb","cuda_ad_mono_polarized"
],

# The variant below will automatically be set when importing the Python
# mitsuba module. If the value is "", the desired variant will need to be
# specified using "mitsuba.set_variant(..)" before importing any packages.

"python-default": "",

# -------------------------------------------------------------
# The remainder of this file defines the variants and does not
# need to be edited (unless you wish to create new variants).
# -------------------------------------------------------------

# Scalar variant definitions

"scalar_mono": {
    "float": "float",
    "spectrum": "Color<Float, 1>"
},

"scalar_mono_double": {
    "float": "double",
    "spectrum": "Color<Float, 1>"
},

"scalar_mono_polarized": {
    "float": "float",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"scalar_mono_polarized_double": {
    "float": "double",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"scalar_rgb": {
    "float": "float",
    "spectrum": "Color<Float, 3>"
},

"scalar_rgb_double": {
    "float": "double",
    "spectrum": "Color<Float, 3>"
},

"scalar_rgb_polarized": {
    "float": "float",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"scalar_rgb_polarized_double": {
    "float": "double",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"scalar_spectral": {
    "float": "float",
    "spectrum": "Spectrum<Float, 4>"
},

"scalar_spectral_double": {
    "float": "double",
    "spectrum": "Spectrum<Float, 4>"
},

"scalar_spectral_polarized": {
    "float": "float",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"scalar_spectral_polarized_double": {
    "float": "double",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

# LLVM variant definitions

"llvm_mono": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "Color<Float, 1>"
},

"llvm_mono_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "Color<Float, 1>"
},

"llvm_mono_polarized": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"llvm_mono_polarized_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"llvm_rgb": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "Color<Float, 3>"
},

"llvm_rgb_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "Color<Float, 3>"
},

"llvm_rgb_polarized": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"llvm_rgb_polarized_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"llvm_spectral": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "Spectrum<Float, 4>"
},

"llvm_spectral_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "Spectrum<Float, 4>"
},

"llvm_spectral_polarized": {
    "float": "dr::LLVMArray<float>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"llvm_spectral_polarized_double": {
    "float": "dr::LLVMArray<double>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"llvm_ad_mono": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "Color<Float, 1>"
},

"llvm_ad_mono_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "Color<Float, 1>"
},

"llvm_ad_mono_polarized": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"llvm_ad_mono_polarized_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"llvm_ad_rgb": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "Color<Float, 3>"
},

"llvm_ad_rgb_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "Color<Float, 3>"
},

"llvm_ad_rgb_polarized": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"llvm_ad_rgb_polarized_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"llvm_ad_spectral": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "Spectrum<Float, 4>"
},

"llvm_ad_spectral_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "Spectrum<Float, 4>"
},

"llvm_ad_spectral_polarized": {
    "float": "dr::DiffArray<dr::LLVMArray<float>>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"llvm_ad_spectral_polarized_double": {
    "float": "dr::DiffArray<dr::LLVMArray<double>>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

# CUDA variant definitions

"cuda_mono": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "Color<Float, 1>"
},

"cuda_mono_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "Color<Float, 1>"
},

"cuda_mono_polarized": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"cuda_mono_polarized_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"cuda_rgb": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "Color<Float, 3>"
},

"cuda_rgb_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "Color<Float, 3>"
},

"cuda_rgb_polarized": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"cuda_rgb_polarized_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"cuda_spectral": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "Spectrum<Float, 4>"
},

"cuda_spectral_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "Spectrum<Float, 4>"
},

"cuda_spectral_polarized": {
    "float": "dr::CUDAArray<float>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"cuda_spectral_polarized_double": {
    "float": "dr::CUDAArray<double>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"cuda_ad_mono": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "Color<Float, 1>"
},

"cuda_ad_mono_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "Color<Float, 1>"
},

"cuda_ad_mono_polarized": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"cuda_ad_mono_polarized_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "MuellerMatrix<Color<Float, 1>>"
},

"cuda_ad_rgb": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "Color<Float, 3>"
},

"cuda_ad_rgb_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "Color<Float, 3>"
},

"cuda_ad_rgb_polarized": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"cuda_ad_rgb_polarized_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "MuellerMatrix<Color<Float, 3>>"
},

"cuda_ad_spectral": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "Spectrum<Float, 4>"
},

"cuda_ad_spectral_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "Spectrum<Float, 4>"
},

"cuda_ad_spectral_polarized": {
    "float": "dr::DiffArray<dr::CUDAArray<float>>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
},

"cuda_ad_spectral_polarized_double": {
    "float": "dr::DiffArray<dr::CUDAArray<double>>",
    "spectrum": "MuellerMatrix<Spectrum<Float, 4>>"
}

}

7. ninja command

(radioMaps_venv_3.10) ubuntu@gpu:/data3/RadioMaps/mitsuba3/build$ ninja [0/1] Re-running CMake... -- Mitsuba v3.5.2 -- Mitsuba: targeting the native CPU architecture (specify MI_NATIVE_FLAGS to change this). CMake Deprecation Warning at ext/pybind11/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- pybind11 v2.10.1 -- Mitsuba: building the following variants: -- scalar_rgb -- scalar_spectral -- cuda_ad_rgb -- llvm_ad_rgb -- * cuda_ad_mono_polarized -- Dr.Jit v0.4.6 -- Dr.Jit: building the CUDA & LLVM JIT backend. -- Dr.Jit-Core: LLVM will be loaded dynamically at runtime. -- Dr.Jit-Core: CUDA will be loaded dynamically at runtime. -- Dr.Jit-Core: OptiX support enabled. -- Dr.Jit-Core: OptiX debug and validation flags disabled. -- Dr.Jit: building the autodiff backend. -- Dr.Jit: building the Python plugin. CMake Deprecation Warning at ext/embree/CMakeLists.txt:19 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- GNU detected -- Configure ILMBASE Version: 2.5.5 Lib API: 25.0.4 -- Configure OpenEXR Version: 2.5.5 Lib API: 25.0.4 -- Tests are disabled. Set FASTFLOAT_TEST to ON to run tests. -- Mitsuba: using OptiX for GPU ray tracing. -- Mitsuba: using Embree for CPU ray tracing. -- Mitsuba: OptiX debug and validation flags disabled. -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Configuring done (0.5s) -- Generating done (0.2s) -- Build files have been written to: /data3/RadioMaps/mitsuba3/build [68/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfBoxAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Box<Imath_2_5::Vec2 >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:61:80: warning: unused parameter ‘version’ [-Wunused-parameter] 61 | Box2iAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Box<Imath_2_5::Vec2 >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:72:81: warning: unused parameter ‘size’ [-Wunused-parameter] 72 | Box2iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:72:91: warning: unused parameter ‘version’ [-Wunused-parameter] 72 | Box2iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Box<Imath_2_5::Vec2 >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:91:80: warning: unused parameter ‘version’ [-Wunused-parameter] 91 | Box2fAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Box<Imath_2_5::Vec2 >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:102:81: warning: unused parameter ‘size’ [-Wunused-parameter] 102 | Box2fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfBoxAttribute.cpp:102:91: warning: unused parameter ‘version’ [-Wunused-parameter] 102 | Box2fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [74/1227] Building CXX object ext/openexr/IlmBase/IlmThread/CMakeFiles/IlmThread.dir/IlmThreadPool.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/IlmBase/IlmThread/IlmThreadPool.cpp: In member function ‘virtual void IlmThread_2_5::{anonymous}::NullThreadPoolProvider::setNumThreads(int)’: /data3/RadioMaps/mitsuba3/ext/openexr/IlmBase/IlmThread/IlmThreadPool.cpp:459:37: warning: unused parameter ‘count’ [-Wunused-parameter] 459 | virtual void setNumThreads (int count) | ~~^~~ [111/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfChannelListAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChannelListAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::ChannelList]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChannelListAttribute.cpp:76:54: warning: unused parameter ‘version’ [-Wunused-parameter] 76 | ChannelListAttribute::writeValueTo (OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChannelListAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::ChannelList]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChannelListAttribute.cpp:110:42: warning: unused parameter ‘size’ [-Wunused-parameter] 110 | int size, | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChannelListAttribute.cpp:111:42: warning: unused parameter ‘version’ [-Wunused-parameter] 111 | int version) | ~~^~~~~ [112/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfIO.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfIO.cpp: In member function ‘virtual char Imf_2_5::IStream::readMemoryMapped(int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfIO.cpp:69:32: warning: unused parameter ‘n’ [-Wunused-parameter] 69 | IStream::readMemoryMapped (int n) | ~~~~^ [115/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfFrameBuffer.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFrameBuffer.cpp: In static member function ‘static Imf_2_5::Slice Imf_2_5::Slice::Make(Imf_2_5::PixelType, const void, const V2i&, int64_t, int64_t, size_t, size_t, int, int, double, bool, bool)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFrameBuffer.cpp:83:33: warning: unused parameter ‘h’ [-Wunused-parameter] 83 | int64_t h, | ~~~~~~~~^ [127/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfHeader.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp: In member function ‘Imath_2_5::Int64 Imf_2_5::Header::writeTo(Imf_2_5::OStream&, bool) const’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfHeader.cpp:1119:68: warning: unused parameter ‘isTiled’ [-Wunused-parameter] 1119 | Header::writeTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, bool isTiled) const | ~^~~ [329/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfLineOrderAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::LineOrder]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp:61:84: warning: unused parameter ‘version’ [-Wunused-parameter] 61 | LineOrderAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::LineOrder]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp:70:85: warning: unused parameter ‘size’ [-Wunused-parameter] 70 | LineOrderAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp:70:95: warning: unused parameter ‘version’ [-Wunused-parameter] 70 | LineOrderAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [419/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfOpaqueAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp: In member function ‘virtual void Imf_2_5::OpaqueAttribute::writeValueTo(Imf_2_5::OStream&, int) const’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp:89:81: warning: unused parameter ‘version’ [-Wunused-parameter] 89 | OpaqueAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp: In member function ‘virtual void Imf_2_5::OpaqueAttribute::readValueFrom(Imf_2_5::IStream&, int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp:96:92: warning: unused parameter ‘version’ [-Wunused-parameter] 96 | OpaqueAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [420/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfMatrixAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Matrix33]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:65:79: warning: unused parameter ‘version’ [-Wunused-parameter] 65 | M33fAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Matrix33]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:83:80: warning: unused parameter ‘size’ [-Wunused-parameter] 83 | M33fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:83:90: warning: unused parameter ‘version’ [-Wunused-parameter] 83 | M33fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Matrix33]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:109:79: warning: unused parameter ‘version’ [-Wunused-parameter] 109 | M33dAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Matrix33]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:127:80: warning: unused parameter ‘size’ [-Wunused-parameter] 127 | M33dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:127:90: warning: unused parameter ‘version’ [-Wunused-parameter] 127 | M33dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Matrix44]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:153:79: warning: unused parameter ‘version’ [-Wunused-parameter] 153 | M44fAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Matrix44]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:179:80: warning: unused parameter ‘size’ [-Wunused-parameter] 179 | M44fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:179:90: warning: unused parameter ‘version’ [-Wunused-parameter] 179 | M44fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Matrix44]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:213:79: warning: unused parameter ‘version’ [-Wunused-parameter] 213 | M44dAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Matrix44]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:239:80: warning: unused parameter ‘size’ [-Wunused-parameter] 239 | M44dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfMatrixAttribute.cpp:239:90: warning: unused parameter ‘version’ [-Wunused-parameter] 239 | M44dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [422/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfStringAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = std::cxx11::basic_string]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringAttribute.cpp:60:81: warning: unused parameter ‘version’ [-Wunused-parameter] 60 | StringAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = std::cxx11::basic_string]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringAttribute.cpp:71:92: warning: unused parameter ‘version’ [-Wunused-parameter] 71 | StringAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [428/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfVecAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:65:78: warning: unused parameter ‘version’ [-Wunused-parameter] 65 | V2iAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:74:79: warning: unused parameter ‘size’ [-Wunused-parameter] 74 | V2iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:74:89: warning: unused parameter ‘version’ [-Wunused-parameter] 74 | V2iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:91:78: warning: unused parameter ‘version’ [-Wunused-parameter] 91 | V2fAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:100:79: warning: unused parameter ‘size’ [-Wunused-parameter] 100 | V2fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:100:89: warning: unused parameter ‘version’ [-Wunused-parameter] 100 | V2fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:117:78: warning: unused parameter ‘version’ [-Wunused-parameter] 117 | V2dAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec2]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:126:79: warning: unused parameter ‘size’ [-Wunused-parameter] 126 | V2dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:126:89: warning: unused parameter ‘version’ [-Wunused-parameter] 126 | V2dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:143:78: warning: unused parameter ‘version’ [-Wunused-parameter] 143 | V3iAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:153:79: warning: unused parameter ‘size’ [-Wunused-parameter] 153 | V3iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:153:89: warning: unused parameter ‘version’ [-Wunused-parameter] 153 | V3iAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:171:78: warning: unused parameter ‘version’ [-Wunused-parameter] 171 | V3fAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:181:79: warning: unused parameter ‘size’ [-Wunused-parameter] 181 | V3fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:181:89: warning: unused parameter ‘version’ [-Wunused-parameter] 181 | V3fAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:199:78: warning: unused parameter ‘version’ [-Wunused-parameter] 199 | V3dAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imath_2_5::Vec3]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:209:79: warning: unused parameter ‘size’ [-Wunused-parameter] 209 | V3dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfVecAttribute.cpp:209:89: warning: unused parameter ‘version’ [-Wunused-parameter] 209 | V3dAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [429/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRleCompressor.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRleCompressor.cpp: In member function ‘virtual int Imf_2_5::RleCompressor::compress(const char, int, int, const char&)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRleCompressor.cpp:83:9: warning: unused parameter ‘minY’ [-Wunused-parameter] 83 | int minY, | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRleCompressor.cpp: In member function ‘virtual int Imf_2_5::RleCompressor::uncompress(const char, int, int, const char&)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRleCompressor.cpp:149:11: warning: unused parameter ‘minY’ [-Wunused-parameter] 149 | int minY, | ~~^~ [430/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfZipCompressor.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfZipCompressor.cpp: In member function ‘virtual int Imf_2_5::ZipCompressor::compress(const char, int, int, const char&)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfZipCompressor.cpp:85:9: warning: unused parameter ‘minY’ [-Wunused-parameter] 85 | int minY, | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfZipCompressor.cpp: In member function ‘virtual int Imf_2_5::ZipCompressor::uncompress(const char, int, int, const char&)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfZipCompressor.cpp:108:11: warning: unused parameter ‘minY’ [-Wunused-parameter] 108 | int minY, | ~~^~ [432/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfHuf.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp: In function ‘void Imf_2_5::hufUncompress(const char, int, short unsigned int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfHuf.cpp:1124:38: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 1124 | if( ptr-compressed + nBytes > nCompressed) | ~~~~~^~~~~ [433/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfOutputFile.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOutputFile.cpp: In function ‘void Imf_2_5::{anonymous}::convertToXdr(Imf_2_5::OutputFile::Data*, Imf_2_5::Array&, int, int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfOutputFile.cpp:339:19: warning: unused parameter ‘inSize’ [-Wunused-parameter] 339 | int inSize) | ~~^~~~ [440/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfCompressionAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompressionAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::Compression]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompressionAttribute.cpp:61:86: warning: unused parameter ‘version’ [-Wunused-parameter] 61 | CompressionAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompressionAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::Compression]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompressionAttribute.cpp:70:87: warning: unused parameter ‘size’ [-Wunused-parameter] 70 | CompressionAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompressionAttribute.cpp:70:97: warning: unused parameter ‘version’ [-Wunused-parameter] 70 | CompressionAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [444/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfPreviewImageAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::PreviewImage]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp:59:87: warning: unused parameter ‘version’ [-Wunused-parameter] 59 | PreviewImageAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::PreviewImage]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp:79:98: warning: unused parameter ‘version’ [-Wunused-parameter] 79 | PreviewImageAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [446/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfChromaticitiesAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::Chromaticities]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp:59:89: warning: unused parameter ‘version’ [-Wunused-parameter] 59 | ChromaticitiesAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::Chromaticities]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp:74:90: warning: unused parameter ‘size’ [-Wunused-parameter] 74 | ChromaticitiesAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp:74:100: warning: unused parameter ‘version’ [-Wunused-parameter] 74 | ChromaticitiesAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [451/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfKeyCodeAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::KeyCode]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp:58:82: warning: unused parameter ‘version’ [-Wunused-parameter] 58 | KeyCodeAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::KeyCode]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp:72:83: warning: unused parameter ‘size’ [-Wunused-parameter] 72 | KeyCodeAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp:72:93: warning: unused parameter ‘version’ [-Wunused-parameter] 72 | KeyCodeAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [453/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTimeCodeAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::TimeCode]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp:58:83: warning: unused parameter ‘version’ [-Wunused-parameter] 58 | TimeCodeAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::TimeCode]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp:67:84: warning: unused parameter ‘size’ [-Wunused-parameter] 67 | TimeCodeAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp:67:94: warning: unused parameter ‘version’ [-Wunused-parameter] 67 | TimeCodeAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [457/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfRationalAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRationalAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::Rational]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRationalAttribute.cpp:58:83: warning: unused parameter ‘version’ [-Wunused-parameter] 58 | RationalAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRationalAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::Rational]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRationalAttribute.cpp:67:84: warning: unused parameter ‘size’ [-Wunused-parameter] 67 | RationalAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfRationalAttribute.cpp:67:94: warning: unused parameter ‘version’ [-Wunused-parameter] 67 | RationalAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [461/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfTileDescriptionAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::TileDescription]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp:59:90: warning: unused parameter ‘version’ [-Wunused-parameter] 59 | TileDescriptionAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::TileDescription]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp:72:11: warning: unused parameter ‘size’ [-Wunused-parameter] 72 | int size, | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp:73:11: warning: unused parameter ‘version’ [-Wunused-parameter] 73 | int version) | ~~^~~~~ [463/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfEnvmapAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::Envmap]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp:59:81: warning: unused parameter ‘version’ [-Wunused-parameter] 59 | EnvmapAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::Envmap]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp:74:82: warning: unused parameter ‘size’ [-Wunused-parameter] 74 | EnvmapAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp:74:92: warning: unused parameter ‘version’ [-Wunused-parameter] 74 | EnvmapAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [467/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfStringVectorAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = std::vector<std::cxx11::basic_string >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp:60:87: warning: unused parameter ‘version’ [-Wunused-parameter] 60 | StringVectorAttribute::writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = std::vector<std::cxx11::basic_string >]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp:75:98: warning: unused parameter ‘version’ [-Wunused-parameter] 75 | StringVectorAttribute::readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [491/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepCompositing.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepCompositing.cpp: In member function ‘virtual void Imf_2_5::DeepCompositing::sort(int, const float, const char, int, int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepCompositing.cpp:104:71: warning: unused parameter ‘channel_names’ [-Wunused-parameter] 104 | DeepCompositing::sort(int order[], const float inputs[], const char channel_names[], int num_channels, int num_samples, int sources) | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepCompositing.cpp:104:92: warning: unused parameter ‘num_channels’ [-Wunused-parameter] 104 | DeepCompositing::sort(int order[], const float inputs[], const char channel_names[], int num_channels, int num_samples, int sources) | ~~^~~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepCompositing.cpp:104:127: warning: unused parameter ‘sources’ [-Wunused-parameter] 104 | DeepCompositing::sort(int order[], const float inputs[], const char channel_names[], int num_channels, int num_samples, int sources) | ~~^~~~~ [496/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepImageStateAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = Imf_2_5::DeepImageState]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp:60:55: warning: unused parameter ‘version’ [-Wunused-parameter] 60 | (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = Imf_2_5::DeepImageState]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp:76:55: warning: unused parameter ‘size’ [-Wunused-parameter] 76 | (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp:76:65: warning: unused parameter ‘version’ [-Wunused-parameter] 76 | (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [499/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfFloatVectorAttribute.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFloatVectorAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::writeValueTo(Imf_2_5::OStream&, int) const [with T = std::vector]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFloatVectorAttribute.cpp:62:55: warning: unused parameter ‘version’ [-Wunused-parameter] 62 | (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const | ~~^~~~~ /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFloatVectorAttribute.cpp: In member function ‘void Imf_2_5::TypedAttribute::readValueFrom(Imf_2_5::IStream&, int, int) [with T = std::vector]’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfFloatVectorAttribute.cpp:74:65: warning: unused parameter ‘version’ [-Wunused-parameter] 74 | (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version) | ~~^~~~~ [507/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDeepScanLineOutputFile.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineOutputFile.cpp: In function ‘void Imf_2_5::{anonymous}::convertToXdr(Imf_2_5::DeepScanLineOutputFile::Data, Imf_2_5::Array&, int, int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDeepScanLineOutputFile.cpp:428:19: warning: unused parameter ‘inSize’ [-Wunused-parameter] 428 | int inSize) | ~~^~~~ [532/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfCompositeDeepScanLine.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp: In member function ‘void Imf_2_5::CompositeDeepScanLine::Data::handleDeepFrameBuffer(Imf_2_5::DeepFrameBuffer&, std::vector&, std::vector<std::vector<float> >&, const Imf_2_5::Header&, int, int)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp:179:67: warning: unused parameter ‘header’ [-Wunused-parameter] 179 | const Header& header, | ~~~~^~~~ [630/1227] Building CXX object ext/openexr/OpenEXR/IlmImf/CMakeFiles/IlmImf.dir/ImfDwaCompressor.cpp.o /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDwaCompressor.cpp: In member function ‘int Imf_2_5::DwaCompressor::compress(const char, int, Imath_2_5::Box2i, const char*&)’: /data3/RadioMaps/mitsuba3/ext/openexr/OpenEXR/IlmImf/ImfDwaCompressor.cpp:1902:29: warning: unused parameter ‘inSize’ [-Wunused-parameter] 1902 | int inSize, | ~~~~~^~~~ [681/1227] Generating srgb.coeff Optimizing spectra ................................................................................................................................................................................................ done. [754/1227] Running bin2c CMake Deprecation Warning at /data3/RadioMaps/mitsuba3/ext/nanogui/resources/bin2c.cmake:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

[1221/1227] Generating ../../python/drjit/init.pyi FAILED: python/drjit/init.pyi /data3/RadioMaps/mitsuba3/build/python/drjit/init.pyi cd /data3/RadioMaps/mitsuba3/build/src/python && /data3/RadioMaps/cmake-3.30.0-linux-x86_64/bin/cmake -E env PYTHONPATH=/data3/RadioMaps/mitsuba3/build/python: /data3/RadioMaps/radioMaps_venv_3.10/bin/python3.10 -Xutf8 /data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py /data3/RadioMaps/mitsuba3/build/python/drjit Traceback (most recent call last): File "/data3/RadioMaps/mitsuba3/src/python/../../ext/drjit/resources/generate_stub_files.py", line 347, in import drjit as dr File "/data3/RadioMaps/mitsuba3/build/python/drjit/init.py", line 37, in import drjit.drjit_ext as drjit_ext # noqa ImportError: libdrjit-autodiff.so: cannot open shared object file: No such file or directory [1226/1227] Linking CXX shared module python/mitsuba/mitsuba_cuda_ad_mono_polarized_ext.cpython-310-x86_64-linux-gnu.so ninja: build stopped: subcommand failed.


@merlinND  let me know if you need any further details.
merlinND commented 3 months ago

Thanks for all the details logs. I was able to reproduce your error.

During the build process, Mitsuba generates Python stub files, which involves importing the recently-build DrJit Python module. The DrJit Python module looks for libdrjit-autodiff.so, which is built and ready to use.

But when enabling -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON, the DrJit Python library no longer indicates how to find it (running ldd ./python/drjit/drjit_ext.cpython-311-x86_64-linux-gnu.so shows "not found"). The real question is why do you need to enable it in the first place, since on an Ubuntu system with GCC or Clang, this shouldn't be needed.

But anyway, here is a workaround that fixed the import error for me:

cd build
export LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH"
ninja
sujoyrc commented 3 months ago

Finally finally finally @merlinND I could do the full build and run the three sample notebooks in instant-rm . BIG BIG thank you !!!