Skip to content

Commit

Permalink
Fixes cache usage in job launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomaz-Vieira committed Jan 12, 2024
1 parent ccf990c commit bddd235
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions webilastik/libebrains/compute_session_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ def get_sbatch_launch_script(
exit 1
fi
PYTHONPATH="{webilastik_source_dir}"
PYTHONPATH+=":{webilastik_source_dir}/ndstructs/"
PYTHONPATH+="{executor_getter_pythonpath}"
PYTHONPATH="{webilastik_source_dir}/ndstructs/"
PYTHONPATH+=":{executor_getter_pythonpath}"
PYTHONPATH+=":{webilastik_source_dir}/global_cache_impls/redis_cache/"
PYTHONPATH+=":{webilastik_source_dir}"
export PYTHONPATH
export REDIS_UNIX_SOCKET_PATH="{redis_unix_socket_path}"
Expand Down Expand Up @@ -762,9 +762,9 @@ def get_sbatch_launch_script(
exit 1
fi
PYTHONPATH="{webilastik_source_dir}"
PYTHONPATH+=":{webilastik_source_dir}/executor_getter_impls/{self.executor_getter}/"
PYTHONPATH="{webilastik_source_dir}/executor_getter_impls/{self.executor_getter}/"
PYTHONPATH+=":{webilastik_source_dir}/global_cache_impls/redis_cache/"
PYTHONPATH+=":{webilastik_source_dir}"
export PYTHONPATH
export REDIS_UNIX_SOCKET_PATH="{redis_unix_socket_path}"
Expand Down Expand Up @@ -869,9 +869,9 @@ def get_sbatch_launch_script(
exit 1
fi
PYTHONPATH="{webilastik_source_dir}"
PYTHONPATH+=":{webilastik_source_dir}/executor_getter_impls/cscs/"
PYTHONPATH="{webilastik_source_dir}/executor_getter_impls/cscs/"
PYTHONPATH+=":{webilastik_source_dir}/global_cache_impls/redis_cache/"
PYTHONPATH+=":{webilastik_source_dir}"
export PYTHONPATH
export REDIS_HOST_PORT="$REDIS_IP:{redis_port}"
Expand Down

0 comments on commit bddd235

Please sign in to comment.