Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
548b3b9ab4 | |||
c470831615 |
13
LICENCE.txt
13
LICENCE.txt
@ -1,13 +0,0 @@
|
||||
Copyright 2025 Institute of Geophysics, Polish Academy of Sciences
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
@ -125,7 +125,6 @@ verbose: {verbose}")
|
||||
|
||||
logger.debug(f"BASELINE CPU LOAD% {psutil.cpu_percent(interval=None, percpu=True)}")
|
||||
|
||||
dask.config.set(scheduler='processes')
|
||||
|
||||
# run magnitude distribution modeling if selected by user and no magnitude pdf file provided
|
||||
if m_select and m_range[0] == None and m_pdf[0] == None:
|
||||
@ -441,9 +440,11 @@ verbose: {verbose}")
|
||||
|
||||
start = timer()
|
||||
|
||||
use_pp = False
|
||||
use_pp = True
|
||||
|
||||
if use_pp: # use dask parallel computing
|
||||
#dask.config.set(scheduler='processes')
|
||||
dask.config.set(scheduler='threads')
|
||||
pbar = ProgressBar()
|
||||
pbar.register()
|
||||
# iter = range(0,len(distances))
|
||||
|
Loading…
Reference in New Issue
Block a user