Skip to content

Commit

Permalink
feat(config): update the application.yaml file to use `enable_nb_co…
Browse files Browse the repository at this point in the history
…res_detection: true`
  • Loading branch information
laurent-laporte-pro authored and MartinBelthle committed Oct 9, 2023
1 parent 5af1638 commit ec890bf
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ db:
#pool_recycle:

storage:
tmp_dir: /tmp
tmp_dir: ./tmp
matrixstore: ./matrices
archive_dir: examples/archives
archive_dir: ./examples/archives
allow_deletion: false # indicate if studies found in non default workspace can be deleted by the application
#matrix_gc_sleeping_time: 3600 # time in seconds to sleep between two garbage collection
#matrix_gc_dry_run: False # Skip matrix effective deletion
Expand All @@ -32,22 +32,24 @@ storage:
#auto_archive_max_parallel: 5 # max auto archival tasks in parallel
workspaces:
default: # required, no filters applied, this folder is not watched
path: examples/internal_studies/
path: ./examples/internal_studies/
# other workspaces can be added
# if a directory is to be ignored by the watcher, place a file named AW_NO_SCAN inside
tmp:
path: examples/studies/
path: ./examples/studies/
# filter_in: ['.*'] # default to '.*'
# filter_out: [] # default to empty
# groups: [] # default empty

launcher:
default: local

local:
binaries:
700: path/to/700
enable_nb_cores_detection: True
#
enable_nb_cores_detection: true

# slurm:
# local_workspace: path/to/workspace
# username: username
# hostname: 0.0.0.0
Expand All @@ -57,7 +59,11 @@ launcher:
# password: password_is_optional_but_necessary_if_key_is_absent
# default_wait_time: 900
# default_time_limit: 172800
# default_n_cpu: 12
# enable_nb_cores_detection: False
# nb_cores:
# min: 1
# default: 22
# max: 24
# default_json_db_name: launcher_db.json
# slurm_script_path: /path/to/launchantares_v1.1.3.sh
# db_primary_key: name
Expand All @@ -71,7 +77,7 @@ launcher:

debug: true

root_path: ""
root_path: "api"

#tasks:
# max_workers: 5
Expand Down

0 comments on commit ec890bf

Please sign in to comment.