-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from Any2HRTF/develop
Release 1.1.0
- Loading branch information
Showing
13 changed files
with
120 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# This Dockerfile can be used to run Mesh2HRTF inside a Docker container. | ||
# Some information on how the container can be generated are given below. For | ||
# more information refer to docker.com | ||
# | ||
# Inside the container you can | ||
# - Run the `hrtf_mesh_grading` | ||
# - Run numerical simualtions with the `NumCalc` command | ||
# - Access the Mesh2HRTF Python API, e.g. by running `python3` and then | ||
# `import mesh2hrtf` | ||
# | ||
# You can build the container in the command line by executing | ||
# `docker build --tag ubuntu:mesh2hrtf .` (without the ` signs) | ||
# | ||
# Start the container with out an external volume with: | ||
# `docker run -dit --name mesh2hrtf ubuntu:mesh2hrtf /bin/bash` | ||
# | ||
# Start the container with an external volume mounted at /home/data: | ||
# `docker run -dit --name mesh2hrtf -v '/local/folder:/home/data' ubuntu:mesh2hrtf /bin/bash` | ||
|
||
FROM ubuntu:22.04 | ||
|
||
# All commands are run from this path | ||
WORKDIR /home | ||
|
||
# Configure tzdata and timezone if problems appear during `apt-get install cmake` | ||
#ENV TZ=Europe/Berlin | ||
#RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
# install required dependencies (remove specific versions if desired) | ||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cmake \ | ||
make \ | ||
build-essential\ | ||
libx11-dev \ | ||
libxrandr-dev \ | ||
libxinerama-dev \ | ||
libxcursor-dev \ | ||
libxi-dev \ | ||
libgl1-mesa-dev \ | ||
libglu1-mesa-dev \ | ||
libeigen3-dev \ | ||
python3 \ | ||
python3-pip | ||
|
||
# copy Mesh2HRTF git repo to docker container | ||
COPY . /home/Mesh2HRTF | ||
|
||
# install Mesh2HRTF Python API | ||
RUN pip install -e /home/Mesh2HRTF | ||
|
||
# build NumCalc | ||
RUN cd /home/Mesh2HRTF/mesh2hrtf/NumCalc/src && make | ||
|
||
# add symbolic linc for NumCalc | ||
RUN ln -s /home/Mesh2HRTF/mesh2hrtf/NumCalc/bin/NumCalc /usr/local/bin | ||
|
||
# build the pmp-library | ||
RUN cd /home/Mesh2HRTF/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid/pmp-library \ | ||
&& mkdir build && cd build && cmake .. && make && make install | ||
|
||
# add libpmp to the search path | ||
RUN echo /usr/local/lib > /etc/ld.so.conf.d/local.conf | ||
RUN ldconfig | ||
|
||
# add symbolic link for hrtf-mesh-grading | ||
RUN ln -s /home/Mesh2HRTF/mesh2hrtf/Mesh2Input/Meshes/GradingHybrid/pmp-library/build/hrtf_mesh_grading /usr/local/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.1 | ||
1.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.45 KB
(110%)
...st_numcalc/analytical_references/comparisonplot_rigid_bothears_2_ml-fmm-bem.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters