-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenvs_template.yaml
108 lines (98 loc) · 2.73 KB
/
envs_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
- name: damask_parse_env
setup: |
module purge
source /full/path/to/.venv/bin/activate
executables:
- label: python_script
instances:
- command: python <<script_name>> <<args>>
num_cores:
start: 1
stop: 32
parallel_mode: null
- name: formable_env
setup: |
module purge
source /full/path/to/.venv/bin/activate
executables:
- label: python_script
instances:
- command: python <<script_name>> <<args>>
num_cores:
start: 1
stop: 32
parallel_mode: null
- name: defdap_env
setup: |
module purge
source /full/path/to/.venv/bin/activate
executables:
- label: python_script
instances:
- command: python <<script_name>> <<args>>
num_cores:
start: 1
stop: 32
parallel_mode: null
- name: damask_env
setup: |
module load mpi/intel-18.0/openmpi/4.1.0
IMG_PATH=/mnt/eps01-rds/jf01-home01/shared/software/DAMASK-docker-images/damask-grid_3.0.0-alpha7.sif
export HDF5_USE_FILE_LOCKING=FALSE
executables:
- label: damask_grid
instances:
- command: singularity run $IMG_PATH
num_cores: 1
parallel_mode: null
- command: mpirun -n $NSLOTS singularity run $IMG_PATH
num_cores:
start: 2
stop: 32
parallel_mode: null
- name: matlab_env
setup: |
module load apps/binapps/matlab/R2019a
module load apps/binapps/matlab/third-party-toolboxes/mtex/5.3
executables:
- label: compile_mtex
instances:
- command: compile-mtex <<script_name>> <<args>>
num_cores: 1
parallel_mode: null
- label: run_compiled_mtex
instances:
- command: ./run_<<script_name>>.sh $MATLAB_HOME <<args>>
num_cores: 1
parallel_mode: null
- label: run_mtex
instances:
- command: matlab -singleCompThread -batch "<<script_name_no_ext>> <<args>>"
num_cores: 1
parallel_mode: null
- command: matlab -batch "<<script_name_no_ext>> <<args>>"
num_cores:
start: 2
stop: 16
parallel_mode: null
- name: python_env
executables:
- label: python_script
instances:
- command: python <<script_name>> <<args>>
num_cores:
start: 1
stop: 32
parallel_mode: null
- name: dream_3D_env
executables:
- label: dream_3D_runner
instances:
- command: /full/path/to/dream3/DREAM3D-6.5.171-Linux-x86_64/bin/PipelineRunner
num_cores: 1
parallel_mode: null
- label: python_script
instances:
- command: python <<script_name>> <<args>>
num_cores: 1
parallel_mode: null