Mehdi Cherti commited on
Commit
17e4277
1 Parent(s): 7060b15

update init

Browse files
Files changed (1) hide show
  1. scripts/init.sh +2 -52
scripts/init.sh CHANGED
@@ -1,52 +1,2 @@
1
- machine=$(cat /etc/FZJ/systemname)
2
- if [[ "$machine" == jurecadc ]]; then
3
- export CUDA_VISIBLE_DEVICES=0,1,2,3
4
- ml purge
5
- ml use $OTHERSTAGES
6
- ml Stages/2022
7
- ml GCC/11.2.0
8
- ml OpenMPI/4.1.2
9
- ml CUDA/11.5
10
- ml cuDNN/8.3.1.22-CUDA-11.5
11
-
12
- ml NCCL/2.11.4-CUDA-11.5
13
- #ml NCCL/2.12.7-1-CUDA-11.5
14
-
15
- ml PyTorch/1.11-CUDA-11.5
16
- ml Horovod/0.24
17
- ml torchvision/0.12.0
18
- source /p/project/covidnetx/environments/jureca_2022/bin/activate
19
- fi
20
- if [[ "$machine" == juwelsbooster ]]; then
21
- export CUDA_VISIBLE_DEVICES=0,1,2,3
22
- ml purge
23
- ml use $OTHERSTAGES
24
- ml Stages/2022
25
- ml GCC/11.2.0
26
- ml OpenMPI/4.1.2
27
- ml CUDA/11.5
28
- ml cuDNN/8.3.1.22-CUDA-11.5
29
- ml NCCL/2.12.7-1-CUDA-11.5
30
- ml PyTorch/1.11-CUDA-11.5
31
- ml Horovod/0.24
32
- ml torchvision/0.12.0
33
- source /p/project/covidnetx/environments/juwels_booster_2022/bin/activate
34
- fi
35
- if [[ "$machine" == hdfml ]]; then
36
- export CUDA_VISIBLE_DEVICES=0,1,2,3
37
- ml purge
38
- ml use $OTHERSTAGES
39
- ml Stages/2022
40
- ml GCC/11.2.0
41
- ml OpenMPI/4.1.2
42
- ml CUDA/11.5
43
- ml cuDNN/8.3.1.22-CUDA-11.5
44
- ml NCCL/2.12.7-1-CUDA-11.5
45
- ml PyTorch/1.11-CUDA-11.5
46
- ml Horovod/0.24
47
- ml torchvision/0.12.0
48
- source envs/hdfml/bin/activate
49
- fi
50
- if [[ "$machine" == jusuf ]]; then
51
- echo not supported
52
- fi
 
1
+ source /p/project/laionize/miniconda/bin/activate
2
+ conda activate ddgan