File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ unzip libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2323rm libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2424conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
2525conda 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 && \
2727conda clean -y --all
2828ENV TORCH_LIBRARIES=/libtorch
2929ENV MUQ_LIBRARIES=/root/miniconda3
Original file line number Diff line number Diff line change 33 rm -f hello
44
55build :
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
88run : build
99 xhost +" local:docker" && \
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ unzip libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2323rm libtorch-cxx11-abi-shared-with-deps-2.7.1+cpu.zip && \
2424conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main && \
2525conda 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 && \
2727conda clean -y --all
2828ENV TORCH_LIBRARIES=/libtorch
2929ENV 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
Original file line number Diff line number Diff line change 33 rm -f hello
44
55build :
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
88run : build
99 xhost +" local:docker" && \
You can’t perform that action at this time.
0 commit comments