From 1b3dd66d8964129f0fa29b48af68727496d09f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=96=87=E5=B0=A7?= <18848977154@163.com> Date: Tue, 3 Jun 2025 09:58:50 +0800 Subject: [PATCH 1/2] gadget2 --- .../2.3.5/data.gadget2.arm.cpu.kgcc.config | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config diff --git a/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config b/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config new file mode 100644 index 0000000..6c2ecff --- /dev/null +++ b/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config @@ -0,0 +1,49 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +gadget2/2.3.5 https://github.com/gadget-framework/gadget2/archive/refs/tags/v2.3.5.tar.gz gadget2-v2.3.5.tar.gz + +[DEPENDENCY] +set -e +set -x +yum install -y make cmake libX11 libX11-devel +./jarvis -install hpckit/2024.12.30 any +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module add gcc/compiler12.3.1/gccmodule gcc/hmpi2.4.3/hmpi +export CC=`which gcc` +export CXX=`which g++` +export FC=`which gfortran` +tar -xzvf ${JARVIS_DOWNLOAD}/gadget2-v2.3.5.tar.gz + +[ENV] +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module add gcc/compiler12.3.1/gccmodule gcc/hmpi2.4.3/hmpi +export CC=`which gcc` +export CXX=`which g++` +export FC=`which gfortran` + +[APP] +app_name = gadget2 +build_dir = ${JARVIS_ROOT}/gadget2-2.3.5/ +binary_dir = +case_dir = ${JARVIS_ROOT}/gadget2-2.3.5/ + +[BUILD] +make +make install + +[CLEAN] +make clean + +[RUN] +run = gadget -v +binary = +nodes = 1 + +[PERF] +perf= +nsys= +ncu=--target-processes all -- Gitee From d339221b331cd50b67adc4ea82c23e8b41093403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=96=87=E5=B0=A7?= <18848977154@163.com> Date: Tue, 3 Jun 2025 10:33:47 +0800 Subject: [PATCH 2/2] gadget2 --- .../eman2/2.99.64/data.eman2.arm.cpu.config | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 templates/eman2/2.99.64/data.eman2.arm.cpu.config diff --git a/templates/eman2/2.99.64/data.eman2.arm.cpu.config b/templates/eman2/2.99.64/data.eman2.arm.cpu.config deleted file mode 100644 index dfa3f0a..0000000 --- a/templates/eman2/2.99.64/data.eman2.arm.cpu.config +++ /dev/null @@ -1,53 +0,0 @@ -[SERVER] -11.11.11.11 - -[DOWNLOAD] -eman2/2.99.64 https://github.com/cryoem/eman2/archive/refs/tags/v2.99.64.tar.gz eman2-v2.99.64.tar.gz - -[DEPENDENCY] -set -e -set -x - -yum install -y make cmake -y -module purge -./jarvis -install package/anaconda3/2023.3 any -source ${JARVIS_ROOT}/software/utils/anaconda3/2023.3/etc/profile.d/conda.sh -tar -xzvf ${JARVIS_DOWNLOAD}/eman2-v2.99.64.tar.gz - -[ENV] -module purge -source ${JARVIS_ROOT}/software/utils/anaconda3/2023.3/etc/profile.d/conda.sh - -[APP] -app_name = eman2 -build_dir = ${JARVIS_ROOT}/eman2-2.99.64/ -binary_dir = ${JARVIS_ROOT}/eman2-2.99.64/programs/ -case_dir = ${JARVIS_ROOT}/eman2-2.99.64/programs/ - -[BUILD] -conda create -n eman2-2.99.64 -y -conda activate eman2-2.99.64 -conda install -y -c conda-forge _libgcc_mutex=0.1 _openmp_mutex=4.5 absl-py=1.0.0 aiohttp=3.8.1 aiosignal=1.2.0 alsa-lib=1.2.3 anyio=3.4.0 argcomplete=1.12.3 argon2-cffi=21.1.0 astor=0.8.1 astunparse=1.6.3 async-timeout=4.0.1 asynctest=0.13.0 attrs=21.2.0 babel=2.9.1 backcall=0.2.0 backports=1 backports.functools_lru_cache=1.6.4 bleach=4.1.0 blinker=1.4 boost=1.74.0 boost-cpp=1.74.0 brotli=1.0.9 brotli-bin=1.0.9 brotlipy=0.7.0 bzip2=1.0.8 c-ares=1.18.1 ca-certificates=2021.10.8 cachetools=4.2.4 certifi=2021.10.8 cffi=1.15.0 charset-normalizer=2.0.8 click=8.0.3 cmake=3.21.3 colorama=0.4.4 configparser=5.1.0 cryptography=35.0.0 cycler=0.11.0 dataclasses=0.8 dbus=1.13.6 debugpy=1.5.1 decorator=5.1.0 defusedxml=0.7.1 entrypoints=0.3 expat=2.4.1 fftw=3.3.10 fontconfig=2.13.1 fonttools=4.28.2 freetype=2.10.4 frozenlist=1.2.0 future=0.18.2 gast=0.4.0 gettext=0.19.8.1 glib=2.70.1 glib-tools=2.70.1 google-auth=2.3.3 google-auth-oauthlib=0.4.6 google-pasta=0.2.0 grpcio=1.42.0 gsl=2.6 gst-plugins-base=1.18.5 gstreamer=1.18.5 h5py=2.10.0 hdf5=1.10.6 icu=68.2 idna=3.1 importlib-metadata=4.8.2 importlib_metadata=4.8.2 importlib_resources=5.4.0 ipykernel=6.5.1 ipython_genutils=0.2.0 jbig=2.1 jedi=0.18.1 jinja2=3.0.3 joblib=1.1.0 jpeg=9d json5=0.9.5 jsonschema=4.2.1 jupyter_client=7.1.0 jupyter_core=4.9.1 jupyter_server=1.12.1 jupyterlab=3.2.4 jupyterlab_pygments=0.1.2 jupyterlab_server=2.8.2 keras-preprocessing=1.1.2 kiwisolver=1.3.2 krb5=1.19.2 lcms2=2.12 ld_impl_linux-64=2.36.1 lerc=3 libblas=3.9.0 libbrotlicommon=1.0.9 libbrotlidec=1.0.9 libbrotlienc=1.0.9 libcblas=3.9.0 libclang=11.1.0 libcurl=7.80.0 libdb=6.2.32 libdeflate=1.8 libedit=3.1.20191231 libev=4.33 libevent=2.1.10 libffi=3.4.2 libgcc-ng=11.2.0 libgfortran-ng=11.2.0 libgfortran5=11.2.0 libglib=2.70.1 libgomp=11.2.0 libiconv=1.16 liblapack=3.9.0 libllvm11=11.1.0 libnghttp2=1.43.0 libnsl=2.0.0 libogg=1.3.4 libopenblas=0.3.18 libopus=1.3.1 libpng=1.6.37 libpq=13.5 libprotobuf=3.19.1 libsodium=1.0.18 libssh2=1.10.0 libstdcxx-ng=11.2.0 libtiff=4.3.0 libuuid=2.32.1 libuv=1.42.0 libvorbis=1.3.7 libwebp-base=1.2.1 libxcb=1.13 libxkbcommon=1.0.3 libxml2=2.9.12 libzlib=1.2.11 lz4-c=1.9.3 markdown=3.3.6 markupsafe=2.0.1 matplotlib=3.5.0 matplotlib-base=3.5.0 matplotlib-inline=0.1.3 mistune=0.8.4 mpi=1 multidict=5.2.0 munkres=1.1.4 mysql-common=8.0.27 mysql-libs=8.0.27 nbclassic=0.3.4 nbclient=0.5.9 nbconvert=6.3.0 nbformat=5.1.3 ncurses=6.2 nest-asyncio=1.5.1 nodejs=16.12.0 nose=1.3.7 notebook=6.4.6 nspr=4.32 nss=3.72 numpy=1.18.5 oauthlib=3.1.1 olefile=0.46 openjpeg=2.4.0 openmpi=4.1.2 openssl=1.1.1l opt_einsum=3.3.0 packaging=21.3 pandas=1.3.4 pandocfilters=1.5.0 parso=0.8.2 pcre=8.45 pexpect=4.8.0 pickleshare=0.7.5 pillow=8.4.0 pip=21.3.1 prometheus_client=0.12.0 prompt-toolkit=3.0.22 protobuf=3.19.1 pthread-stubs=0.4 ptyprocess=0.7.0 pyasn1=0.4.8 pyasn1-modules=0.2.7 pycparser=2.21 pygments=2.10.0 pyjwt=2.3.0 pyopengl=3.1.5 pyopenssl=21.0.0 pyparsing=3.0.6 pyqt=5.12.3 pyqt-impl=5.12.3 pyqt5-sip=4.19.18 pyqtchart=5.12 pyqtwebengine=5.12.1 pyrsistent=0.18.0 pysocks=1.7.1 python=3.7.12 python-dateutil=2.8.2 python-flatbuffers=2 python_abi=3.7 pytz=2021.3 pyu2f=0.1.5 pyzmq=22.3.0 qt=5.12.9 readline=8.1 requests=2.26.0 requests-oauthlib=1.3.0 rhash=1.4.1 rsa=4.8 scikit-learn=1.0.1 scipy=1.7.3 send2trash=1.8.0 setuptools=59.4.0 six=1.16.0 sniffio=1.2.0 sqlite=3.37.0 tensorboard=2.7.0 tensorboard-data-server=0.6.0 tensorboard-plugin-wit=1.8.0 tensorflow-estimator=2.5.0 termcolor=1.1.0 terminado=0.12.1 testpath=0.5.0 threadpoolctl=3.0.0 tk=8.6.11 tornado=6.1 tqdm=4.62.3 traitlets=5.1.1 typing-extensions=4.0.0 typing_extensions=4.0.0 unicodedata2=13.0.0.post2 urllib3=1.26.7 wcwidth=0.2.5 webencodings=0.5.1 websocket-client=1.2.1 werkzeug=2.0.1 wheel=0.37.0 wrapt=1.13.3 xorg-libxau=1.0.9 xorg-libxdmcp=1.1.3 xz=5.2.5 yarl=1.7.2 zeromq=4.3.4 zipp=3.6.0 zlib=1.2.11 zstd=1.5.0 ftgl pandoc ipython=7.30 -python3 -m pip install tensorflow --trusted-host mirrors.huaweicloud.com -i https://mirrors.huaweicloud.com/repository/pypi/simple -sed -i "s/-m64/-mabi=lp64/g" CMakeLists.txt -mkdir build && cd build -cmake .. -DENABLE_OPTIMIZE_MACHINE=ON -make -j -make install -make install-sphire -conda deactivate - - -[CLEAN] -make clean - -[RUN] -run = conda activate eman2-2.99.64 && -binary = e2speedtest.py -nodes = 1 - -[PERF] -perf= -nsys= -ncu=--target-processes all - -- Gitee