Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions inference/worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ LogDir=${LOGDIR}

. "$ParameterFile"

# Prefer OpenFoldDir if set; otherwise use repo root relative to this script.
PYFIX_DIR="${OpenFoldDir:-$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)}/pyfix"
export PYTHONPATH="${PYFIX_DIR}:${PYTHONPATH:-}"

export LD_PRELOAD=/usr/lib/FJSVtcs/ple/lib64/libpmix.so:$LD_PRELOAD

ulimit -s 16384
Expand Down
10 changes: 10 additions & 0 deletions making_pyfix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu

mkdir -p ./pyfix

cat > ./pyfix/sitecustomize.py <<'PY'
import distutils.version # ensure distutils.version attribute exists
PY

echo "[OK] wrote ./pyfix/sitecustomize.py"
1 change: 1 addition & 0 deletions pyfix/sitecustomize.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import distutils.version # ensure distutils.version attribute exists
15 changes: 14 additions & 1 deletion scripts/install_fugaku_others.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,20 @@ popd

# mpi4py
#env MPICC=`which mpifcc` pip3 install mpi4py
env MPICFG="fujitsu-mpi" pip3 install mpi4py==3.1.4
#env MPICFG="fujitsu-mpi" pip3 install mpi4py==3.1.4

# mpi4py
#export SETUPTOOLS_USE_DISTUTILS=stdlib
#pip3 install -U "pip<24.1" "setuptools<70" "wheel"
#env MPICFG=fujitsu-mpi MPICC=/opt/FJSVxtclanga/tcsds-1.2.42/bin/mpifcc \
# pip3 install --no-build-isolation mpi4py==3.1.4

# mpi4py
export SETUPTOOLS_USE_DISTUTILS=stdlib
pip3 install -U "pip<24.1" "setuptools<70" "wheel"

env MPICFG="fujitsu-mpi" MPICC="$(which mpifcc)" \
pip3 install --no-build-isolation mpi4py==3.1.4

# OpenFold
pushd $OPENFOLDDIR
Expand Down