From 0bd6d412db43897cddfe6307c0f911c06b4d4908 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Tue, 9 Sep 2025 02:11:03 +0000 Subject: [PATCH] 24.03-lts-sp2 update yambo to 5.3.0 --- HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile | 18 ++++++++++++++++++ HPC/yambo/README.md | 1 + HPC/yambo/doc/image-info.yml | 1 + HPC/yambo/meta.yml | 4 +++- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile diff --git a/HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile b/HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..b9636d12 --- /dev/null +++ b/HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,18 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} +ARG VERSION=5.3.0 + +WORKDIR /opt/ + +RUN yum install -y gcc gcc-c++ libstdc++-devel autoconf automake libtool wget git gcc-gfortran cmake zlib-devel && \ + git clone -b ${VERSION} https://github.com/yambo-code/yambo.git && \ + cd yambo && ./configure && \ + sed -i '/^lblas/d' config/setup && \ + sed -i '/^llapack/d' config/setup && \ + sed -i "\$a lblas =$(echo "$PWD")/lib/external/gfortran/gfortran/lib64/libblas.a" config/setup && \ + sed -i "\$a lblaspetsc =$(echo "$PWD")/lib/external/gfortran/gfortran/lib64/libblas.so" config/setup && \ + sed -i "\$a llapack =$(echo "$PWD")/lib/external/gfortran/gfortran/lib64/liblapack.a" config/setup && \ + sed -i "\$a llapackpetsc=$(echo "$PWD")/lib/external/gfortran/gfortran/lib64/liblapack.so" config/setup && \ + make all + +WORKDIR /opt/yambo \ No newline at end of file diff --git a/HPC/yambo/README.md b/HPC/yambo/README.md index 65c7ba2c..051a563b 100644 --- a/HPC/yambo/README.md +++ b/HPC/yambo/README.md @@ -17,6 +17,7 @@ Learn more on [Yambo](https://www.yambo-code.eu/). The tag of each `Yambo` docker image is consist of the version of `Yambo` and the version of basic image. The details are as follows | Tag | Currently | Architectures | |----------|-------------|------------------| +|[5.3.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile) | yambo 5.3.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[5.3.0-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/Yambo/5.3.0/24.03-lts/Dockerfile)| Yambo 5.3.0 on openEuler 24.03-LTS | amd64, arm64 | # Usage diff --git a/HPC/yambo/doc/image-info.yml b/HPC/yambo/doc/image-info.yml index 39eda721..983f7877 100644 --- a/HPC/yambo/doc/image-info.yml +++ b/HPC/yambo/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[5.3.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/yambo/5.3.0/24.03-lts-sp2/Dockerfile) | yambo 5.3.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[5.3.0-oe2403lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/HPC/yambo/5.3.0/24.03-lts/Dockerfile)| Yambo 5.3.0 on openEuler 24.03-LTS | amd64, arm64 | download: | diff --git a/HPC/yambo/meta.yml b/HPC/yambo/meta.yml index ddef1170..7ed91a51 100644 --- a/HPC/yambo/meta.yml +++ b/HPC/yambo/meta.yml @@ -1,4 +1,6 @@ 5.3.0-oe2403lts: path: 5.3.0/24.03-lts/Dockerfile 5.3.0-oe2403sp1: - path: HPC/yambo/5.3.0/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: HPC/yambo/5.3.0/24.03-lts-sp1/Dockerfile +5.3.0-oe2403sp2: + path: 5.3.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee