You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run the t.rast.aggregate tool with a mask, it fails when the number of threads for parallel computing is set to >1 in the GUI settings (Settings → Preferences). When it is reset to 1 and saved, the tool works as expected with no errors. When the mask is removed, it also works with no errors.
t.rast.aggregate --overwrite input=uas_dsm@assignment5b output=uas_dsm_aggr basename=uas_dsm_aggr suffix=time granularity=1 months nprocs=1
WARNING: Parallel processing disabled due to active MASK.
Traceback (most recent call last):
File "/usr/local/grass84/scripts/t.rast.aggregate", line
245, in <module>
main()
File "/usr/local/grass84/scripts/t.rast.aggregate", line
195, in main
output_list = tgis.aggregate_by_topology(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/grass84/etc/python/grass/temporal/aggrega
tion.py", line 383, in aggregate_by_topology
process_queue.put(mod)
File "/usr/local/grass84/etc/python/grass/pygrass/modules/
interface/module.py", line 253, in put
self.wait()
File "/usr/local/grass84/etc/python/grass/pygrass/modules/
interface/module.py", line 311, in wait
proc.wait(),
^^^^^^^^^^^
File "/usr/local/grass84/etc/python/grass/pygrass/modules/
interface/module.py", line 859, in wait
raise CalledModuleError(
grass.exceptions.CalledModuleError: Module run `r.series fil
e=/media/christopher/Data/GIS_584/GRASS/Lake_Wheeler_NCspm/a
ssignment5b/.tmp/christopher-desktop/771233.0 method=average
nprocs=2 memory=122880
output=uas_dsm_aggr_2015_09_01T00_00_00 --o --q` ended with
an error.
The subprocess ended with a non-zero return code: -11. See
errors above the traceback or in the error output.
(Fri Nov 15 23:55:38 2024) Command ended with non-zero return code 1 (2 sec)
To reproduce
Set a processing mask
From the Settings drop-down menu, select the "Preferences" menu item.
In the tools tab in the "GUI Settings" window, set the number of threads for parallel computing to a number greater than 1 (I tried 2 and 16, with the same results)
Run the t.rast.aggregate tool. I used the following parameters: t.rast.aggregate --overwrite input=uas_dsm@assignment5b output=uas_dsm_aggr basename=uas_dsm_aggr suffix=time granularity=1 months nprocs=1. The nprocs flag had no effect, regardless of whether it was set at 1 or 16.
Observe tool failure
Expected behavior
Tool should not fail due to mask if default nprocs are set to >1.
Falconus
changed the title
[Bug] t.rast.aggregate fails when GUI Settings → Number of threads for parallel computing set to more than 1
[Bug] t.rast.aggregate fails when GUI Settings → Number of threads for parallel computing set to more than 1 with active processing mask
Nov 16, 2024
Description
When attempting to run the t.rast.aggregate tool with a mask, it fails when the number of threads for parallel computing is set to >1 in the GUI settings (Settings → Preferences). When it is reset to 1 and saved, the tool works as expected with no errors. When the mask is removed, it also works with no errors.
To reproduce
t.rast.aggregate --overwrite input=uas_dsm@assignment5b output=uas_dsm_aggr basename=uas_dsm_aggr suffix=time granularity=1 months nprocs=1
. The nprocs flag had no effect, regardless of whether it was set at 1 or 16.Expected behavior
Tool should not fail due to mask if default nprocs are set to >1.
Screenshots
System description
Workaround
Set the default nprocs to 1 or remove the mask for the t.rast.aggregate step.
The text was updated successfully, but these errors were encountered: