Skip to content

Commit 200155c

Browse files
authored
Add a build node named taishan for 3.20 on Linux ARM64 (#432)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
1 parent ca3049d commit 200155c

File tree

5 files changed

+79
-12
lines changed

5 files changed

+79
-12
lines changed

3.20/bioc/taishan/config.sh

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
# ===================================
3+
# Settings for taishan (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="taishan"
13+
export BBS_USER="biocbuild"
14+
export BBS_WORK_TOPDIR="/home/biocbuild/bbs-3.20-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=25
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 bbscentral2 on Jetstream2.
25+
export BBS_CENTRAL_ROOT_URL="http://149.165.152.87"
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.20/bioc/taishan/run.sh

+12
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

nodes/kunpeng2/local-settings.sh

-11
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,3 @@ export BBS_TAR_CMD="/usr/bin/tar"
1919
#export BBS_SVN_CMD="/usr/bin/svn"
2020
export BBS_GIT_CMD="/usr/bin/git"
2121
export BBS_CURL_CMD="/usr/bin/curl"
22-
23-
24-
# We need these because some of the libraries/dependecies are installed from source
25-
export LIBSBML_CFLAGS=$(pkg-config --cflags ~/libsbml-from-git/lib/pkgconfig/libsbml.pc)
26-
export LIBSBML_LIBS=$(pkg-config --libs ~/libsbml-from-git/lib/pkgconfig/libsbml.pc)
27-
export UDUNITS2_INCLUDE="/home/biocbuild/libudunits-2/include"
28-
export UDUNITS2_LIBS="/home/biocbuild/libudunits-2/lib"
29-
export OPEN_BABEL_HOME="/home/biocbuild/openbabel-3.1.1"
30-
export OPENBABEL_CFLAGS="-I$OPEN_BABEL_HOME/include/openbabel3 -L$OPEN_BABEL_HOME/lib"
31-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64:$UDUNITS2_LIBS:/home/biocbuild/libsbml-from-git/lib:$OPEN_BABEL_HOME/lib
32-
export PATH=$PATH:/usr/lib64/openmpi/bin:/home/biocbuild/libudunits-2/bin:$HOME/.dotnet:$OPEN_BABEL_HOME/bin

nodes/nodespecs.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,13 @@
7070
'pkgType' : "mac.binary.big-sur-x86_64",
7171
'encoding': "utf-8"},
7272
## External nodes.
73-
'kunpeng2': {'OS' : "Linux (openEuler 22.03 LTS-SP1)",
73+
'kunpeng2': {'OS' : "Linux (openEuler 24.03 LTS)",
74+
'Arch' : "aarch64",
75+
'Platform': "aarch64-linux-gnu",
76+
'pkgType' : "source",
77+
'encoding': "utf-8",
78+
'displayOnHTMLReport': "See Martin Grigorov's <a target=\"_blank\" href=\"https://bioconductor.github.io/biocblog/posts/2023-06-09-debug-linux-arm64-on-docker/\">blog post</a> for how to debug Linux ARM64 related issues on a x86_64 host."},
79+
'taishan': {'OS' : "Linux (openEuler 24.03 LTS)",
7480
'Arch' : "aarch64",
7581
'Platform': "aarch64-linux-gnu",
7682
'pkgType' : "source",

nodes/taishan/local-settings.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env bash
2+
# =========================================
3+
# Local settings for taishan (openEuler Linux ARM64)
4+
# =========================================
5+
6+
7+
if [ -z "$BBS_HOME" ]; then
8+
export BBS_HOME="/home/biocbuild/BBS"
9+
fi
10+
11+
export BBS_PYTHON_CMD="/usr/bin/python3"
12+
13+
export BBS_SSH_CMD="/usr/bin/ssh"
14+
export BBS_RSYNC_CMD="/usr/bin/rsync"
15+
export BBS_TAR_CMD="/usr/bin/tar"
16+
17+
# Needed only on a node capable of running STAGE1 (STAGE1 is supported on
18+
# Linux only)
19+
#export BBS_SVN_CMD="/usr/bin/svn"
20+
export BBS_GIT_CMD="/usr/bin/git"
21+
export BBS_CURL_CMD="/usr/bin/curl"

0 commit comments

Comments
 (0)