diff --git a/video_prediction_savp/HPC_scripts/create_env_booster.sh b/video_prediction_savp/HPC_scripts/create_env_booster.sh new file mode 100755 index 0000000000000000000000000000000000000000..f14e233e4925724a1db527e4b34b5dd72875f4c2 --- /dev/null +++ b/video_prediction_savp/HPC_scripts/create_env_booster.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +ENV_SETUP_DIR=`pwd` +WORKING_DIR="$(dirname "$ENV_SETUP_DIR")" +BASE_DIR="$(dirname "$WORKING_DIR")" +EXE_DIR="$(basename "$ENV_SETUP_DIR")" + +if [[ "${EXE_DIR}" != "HPC_scripts" ]]; then + echo "ERROR: Run the setup-script for the enviornment from the HPC_scripts-directory!" + exit +fi + +unset PYTHONPATH +# Install additional Python packages. +#pip3 install --upgrade pip +#pip3 install -r ${ENV_SETUP_DIR}/requirements.txt +#pip3 install mpi4py +#pip3 install numpy +#pip3 install h5py +export PYTHONPATH=${WORKING_DIR}:$PYTHONPATH +export PYTHONPATH=${WORKING_DIR}/utils:$PYTHONPATH +export PYTHONPATH=${BASE_DIR}/workflow_parallel_frame_prediction:$PYTHONPATH + + +$@