mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-24 02:03:01 +00:00
slurm/dlr: fix workaround logic
This commit is contained in:
parent
17d2d2bcaf
commit
7c4f3d325d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ command_exists() {
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
# Fix "Could not load library libcublasLt.so.12. Error: libcublasLt.so.12: cannot open shared object file: No such file or directory" error
|
# Fix "Could not load library libcublasLt.so.12. Error: libcublasLt.so.12: cannot open shared object file: No such file or directory" error
|
||||||
if [[ "${SLURM_CLUSTER_NAME}" != "cs-cluster" ]] && [[ -d "${HOME}/cuda" ]]; then
|
if [[ "${SLURM_CLUSTER_NAME}" == "cs-cluster" ]] && [[ -d "${HOME}/cuda" ]]; then
|
||||||
echo "[slurm_runner] csgpu cluster detected, sourcing extra CUDA setup script" >&2;
|
echo "[slurm_runner] csgpu cluster detected, sourcing extra CUDA setup script" >&2;
|
||||||
#shellcheck source=/dev/null
|
#shellcheck source=/dev/null
|
||||||
source "${HOME}/cuda/activate.sh";
|
source "${HOME}/cuda/activate.sh";
|
||||||
|
|
Loading…
Reference in a new issue