diff --git a/HPC/openlb/1.8r1/24.03-lts-sp1/Dockerfile b/HPC/openlb/1.8r1/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..4a63c4b2356a467f6a6d3c0d1dc03f0677271c5c --- /dev/null +++ b/HPC/openlb/1.8r1/24.03-lts-sp1/Dockerfile @@ -0,0 +1,39 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} +ARG VERSION=1.8r1 +ARG GNUPLOT_VERSION=5.4.5 + +ENV LANG=C.UTF-8 +ENV LC_ALL=C.UTF-8 + +RUN dnf install -y wget make gcc-g++ findutils \ + readline-devel libpng-devel gd-devel \ + cairo-devel pango-devel \ + lua-devel qt5-qtbase-devel \ + && dnf clean all \ + && rm -rf /var/cache/dnf/* + +RUN wget https://sourceforge.net/projects/gnuplot/files/gnuplot/${GNUPLOT_VERSION}/gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && tar -xf gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && rm -f gnuplot-${GNUPLOT_VERSION}.tar.gz \ + && cd gnuplot-${GNUPLOT_VERSION} \ + && ./configure --prefix=/usr/local/gnuplot-${GNUPLOT_VERSION} \ + --with-readline=gnu \ + --with-cairo \ + --with-qt \ + --with-gd \ + --enable-largefile \ + && make -j$(nproc) \ + && make install + +ENV PATH=/usr/local/gnuplot-${GNUPLOT_VERSION}/bin:$PATH + +RUN wget https://gitlab.com/openlb/release/-/archive/${VERSION}/release-${VERSION}.tar.gz -O /home/olb.tar.gz && \ + tar -xvf /home/olb.tar.gz -C /home && \ + cd /home/release-${VERSION} && \ + make -j $(nproc) && \ + rm -rf olb* + +WORKDIR /home/release-${VERSION} + +CMD [ "bash" ] \ No newline at end of file diff --git a/HPC/openlb/meta.yml b/HPC/openlb/meta.yml index efa047a1adb99a6360febd46526dbb8cf7b842ac..485191f441bf8f7592378f9956b7c829591cafdc 100644 --- a/HPC/openlb/meta.yml +++ b/HPC/openlb/meta.yml @@ -1,4 +1,6 @@ 1.7.0-oe2403lts: path: 1.7.0/24.03-lts/Dockerfile 1.8.0-oe2403sp1: - path: 1.7.0/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 1.7.0/24.03-lts-sp1/Dockerfile +1.8r1-oe2403sp1: + path: 1.8r1/24.03-lts-sp1/Dockerfile \ No newline at end of file