Skip to content

Commit c5a24ea

Browse files
authored
Merge pull request ITHACA-FV#614 from giovastabile/update_submodules
FIX: fixed dockerfiles
2 parents 7392962 + a016c41 commit c5a24ea

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dockerfiles/OF2412/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ unzip libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2323
rm libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2424
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
2525
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \
26-
conda install -y -c conda-forge muq cmake && \
26+
conda install -y -c conda-forge muq cmake pybind11 && \
2727
conda clean -y --all
2828
ENV TORCH_LIBRARIES=/libtorch
2929
ENV MUQ_LIBRARIES=/root/miniconda3

dockerfiles/OF2412/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ clean:
33
rm -f hello
44

55
build:
6-
docker build --build-arg myuser=$(shell whoami) --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t ithacafv/openfoam2506-muq2-pytorch -f ./Dockerfile .
6+
docker build -t ithacafv/openfoam2412-muq2-pytorch -f ./Dockerfile .
77

88
run: build
99
xhost +"local:docker" && \

dockerfiles/OF2506/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ unzip libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2323
rm libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2424
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
2525
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r && \
26-
conda install -y -c conda-forge muq cmake && \
26+
conda install -y -c conda-forge muq cmake pybind11 && \
2727
conda clean -y --all
2828
ENV TORCH_LIBRARIES=/libtorch
2929
ENV MUQ_LIBRARIES=/root/miniconda3
30-
RUN echo 'source /usr/lib/openfoam/openfoam2412/etc/bashrc' >> ~/.bashrc
30+
RUN echo 'source /usr/lib/openfoam/openfoam2506/etc/bashrc' >> ~/.bashrc
3131

dockerfiles/OF2506/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ clean:
33
rm -f hello
44

55
build:
6-
docker build --build-arg myuser=$(shell whoami) --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t ithacafv/openfoam2506-muq2-pytorch -f ./Dockerfile .
6+
docker build -t ithacafv/openfoam2506-muq2-pytorch -f ./Dockerfile .
77

88
run: build
99
xhost +"local:docker" && \

0 commit comments

Comments
 (0)