加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-alcf-ci.yml 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
variables:
GIT_STRATEGY: fetch
GIT_CLEAN_FLAGS: -ffdxq
TIMEOUT: 1200
ANL_THETA_PROJECT_SERVICE_USER: "cscstms"
.test:
only:
refs:
- schedules
- web
dependencies: []
.stage:
extends: .test
before_script:
- date
- hostname
- grep PRETTY_NAME /etc/os-release
- nproc
- lscpu
- if [ ! -z ${RM_MODULES+x} ]; then printf "removing modules - ${RM_MODULES}\n"; module list; module remove ${RM_MODULES}; fi
- if [ ! -z ${LOAD_MODULES+x} ]; then printf "loading modules - ${LOAD_MODULES}\n"; module load ${LOAD_MODULES}; module list; fi
after_script:
- date
script:
- printf "PATH:$PATH\n"
- printf "./config/examples/${TEST_ARCH}.py\n"
- cat ./config/examples/${TEST_ARCH}.py
- ./config/examples/${TEST_ARCH}.py
- make CFLAGS=${MAKE_CFLAGS} CXXFLAGS=${MAKE_CXXFLAGS} FFLAGS=${MAKE_FFLAGS}
- cd src/snes/tutorials; make ex19 ex5f
artifacts:
name: "$CI_JOB_NAME"
when: always
paths:
- ${TEST_ARCH}/lib/petsc/conf/*.log
- ${TEST_ARCH}/lib/pkgconfig/petsc.pc
- core*
expire_in: 4 days
theta-intel-opt:
extends:
- .stage
tags:
- anl-ci, shell
variables:
TEST_ARCH: arch-alcfci-theta-intel-opt
MAKE_CFLAGS: -Werror
MAKE_CXXFLAGS: -Werror
RM_MODULES: darshan xalt cray-libsci
LOAD_MODULES: cmake/3.18.0 cray-netcdf-hdf5parallel/4.7.3.3 cray-parallel-netcdf/1.12.0.1 cray-hdf5-parallel/1.10.6.1
theta-cray-opt:
extends:
- .stage
tags:
- anl-ci, shell
variables:
TEST_ARCH: arch-alcfci-theta-cray-opt
MAKE_CFLAGS: -Werror
MAKE_CXXFLAGS: -Werror
RM_MODULES: darshan xalt PrgEnv-intel
LOAD_MODULES: PrgEnv-cray cmake/3.18.0 cray-netcdf-hdf5parallel/4.7.3.3 cray-parallel-netcdf/1.12.0.1 cray-hdf5-parallel/1.10.6.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化