Skip to content
Snippets Groups Projects
Commit a07b3ed4 authored by Soraya Arias's avatar Soraya Arias
Browse files

Add node prefix detection

Former-commit-id: 304dc413
parent a2a16298
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
CONDA_ENV=fidle CONDA_ENV=fidle
RUN_DIR=~/fidle/VAE RUN_DIR=~/fidle/VAE
RUN_IPYNB='06-VAE-with-CelebA-s.ipynb' RUN_IPYNB='06-VAE-with-CelebA-s.ipynb'
NODE_PREFIX=$(echo $HOSTNAME|sed 's/[0-9]*//g')
# ---- Cuda Conda initialization # ---- Cuda Conda initialization
...@@ -34,7 +35,7 @@ echo '------------------------------------------------------------' ...@@ -34,7 +35,7 @@ echo '------------------------------------------------------------'
echo "Start : $0" echo "Start : $0"
echo '------------------------------------------------------------' echo '------------------------------------------------------------'
source /applis/environments/cuda_env.sh dahu 10.0 source /applis/environments/cuda_env.sh $NODE_PREFIX 10.0
source /applis/environments/conda.sh source /applis/environments/conda.sh
conda activate "$CONDA_ENV" conda activate "$CONDA_ENV"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment