yumorishita / LiCSBAS2

GNU General Public License v3.0
28 stars 5 forks source link

LiCSBAS12_loop_closure: ValueError: Number of processes must be at least 1 #40

Closed linusramos closed 4 months ago

linusramos commented 1 year ago

Hi, has anyone experienced a ValueError on the number of processes for step 12?

Got the message below:

LiCSBAS12_loop_closure.py ver1.6.2 20230822 Y. Morishita LiCSBAS12_loop_closure.py -d GEOCml1clip -l 2 --multi_prime

loop_thre : 2.0 rad

1st Loop closure check and make png for all possible 0 loops, with 0 parallel processing... Traceback (most recent call last): File "/home/user/LiCSBAS/LiCSBAS2/bin/LiCSBAS12_loop_closure.py", line 890, in sys.exit(main()) File "/home/user/LiCSBAS/LiCSBAS2/bin/LiCSBAS12_loop_closure.py", line 302, in main p = q.Pool(_n_para) File "/usr/lib/python3.8/multiprocessing/context.py", line 119, in Pool return Pool(processes, initializer, initargs, maxtasksperchild, File "/usr/lib/python3.8/multiprocessing/pool.py", line 205, in init raise ValueError("Number of processes must be at least 1") ValueError: Number of processes must be at least 1

Log file below: 202311220912batch_LiCSBAS_05_16.log

Thank you in advance.

yumorishita commented 1 year ago

It is because there is no loop in the network, and it is because of the too severe threshold -u 0.8 in step11. Please try relaxing the threshold.