Skip to content

Commit c039825

Browse files
committed
Rebase and modify BBS_NB_CPU to 20
Signed-off-by: wjunLu <[email protected]>
1 parent 57bdd72 commit c039825

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

3.23/bioc/kunpeng2/config.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
# ===================================
3+
# Settings for kunpeng2 (Linux ARM64)
4+
# ===================================
5+
6+
7+
8+
#set -x # print commands and their arguments as they are executed
9+
10+
export BBS_DEBUG="0"
11+
12+
export BBS_NODE_HOSTNAME="kunpeng2"
13+
export BBS_USER="biocbuild"
14+
export BBS_WORK_TOPDIR="/home/biocbuild/bbs-3.23-bioc"
15+
export BBS_R_HOME="/home/biocbuild/R/R"
16+
export R_LIBS="$BBS_R_HOME/site-library"
17+
18+
# kunpeng2 has 32 logical CPUs.
19+
export BBS_NB_CPU=20
20+
export BBS_BUILD_NB_CPU=16
21+
export BBS_CHECK_NB_CPU=22
22+
export BBS_EXTRA_CHECK_OPTIONS="--no-vignettes"
23+
24+
# Central build node is bbscentral1 on Jetstream2.
25+
export BBS_CENTRAL_ROOT_URL="http://149.165.171.124"
26+
export BBS_PRODUCT_TRANSMISSION_MODE="none"
27+
28+
# Source tarballs produced during STAGE3 won't be propagated
29+
# so we don't need to push them to the central builder.
30+
export DONT_PUSH_SRCPKGS="1"
31+
32+
33+
34+
# Shared settings (by all Unix nodes).
35+
36+
wd0=$(pwd)
37+
cd ..
38+
. ./config.sh
39+
cd "$wd0"

3.23/bioc/kunpeng2/run.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
. ./config.sh
4+
5+
. $BBS_HOME/utils/clean-before-run.sh
6+
7+
$BBS_PYTHON_CMD $BBS_HOME/BBS-run.py no-bin
8+
9+
# We have to use brute force because some R processes might still be running
10+
# in the background. This will kick out the user BBS is running as!
11+
sleep 60 # wait 1 min before the kill
12+
kill -9 -1

0 commit comments

Comments
 (0)