From 1da54381d147a032e9cb099176ce32509d84b8cd Mon Sep 17 00:00:00 2001 From: xiaolinjunhao <981755938@qq.com> Date: Tue, 25 Feb 2025 07:50:04 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=94=E7=94=A8eccodes2.18?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2.18.0/data.eccodes.arm.cpu.config | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 templates/eccodes/2.18.0/data.eccodes.arm.cpu.config diff --git a/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config b/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config new file mode 100644 index 0000000..40911b9 --- /dev/null +++ b/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config @@ -0,0 +1,54 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +eccodes/2.18.0 http://confluence.ecmwf.int/download/attachments/45757960/Eccodes-2.18.0-Source.tar.gz eccodes-2.18.0-Source.tar.gz + +[DEPENDENCY] +set -e +set -x +yum install -y cmake +yum install -y libcurl-devel +module use ./software/modulefiles +module purge +./jarvis -install bisheng/2.1.0 com +module load bisheng/2.1.0 +export CC=clang CXX=clang++ FC=flang +./jarvis -install hmpi/1.1.1 clang +module load hmpi/1.1.1 +export CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort +./jarvis -install hdf5/1.10.1 clang+mpi +module load hdf5/1.10.1 +./jarvis -install pnetcdf/1.11.2 bisheng+mpi +module load pnetcdf/1.11.2 +./jarvis -install netcdf/4.7.0 clang+mpi +module load netcdf/4.7.0 + +rm -rf eccodes-2.18.0-Source +tar -xvf ${JARVIS_DOWNLOAD}/eccodes-2.18.0-Source.tar.gz + +[ENV] +module purge +module use ${JARVIS_ROOT}/software/modulefiles +module add bisheng/2.1.0 +module add hmpi/1.1.1 +export CC=mpicc CXX=mpicxx FC=mpifort F77=mpifort +module load hdf5/1.10.1 netcdf/4.7.0 pnetcdf/1.11.2 + +[APP] +app_name = eccodes +build_dir = ${JARVIS_ROOT}/eccodes-2.18.0-Source +binary_dir = +case_dir = + +[BUILD] +mkdir -p build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Release +make +make install + +[RUN] +run = +binary = +nodes = 1 -- Gitee