yumorishita / LiCSBAS2

GNU General Public License v3.0
18 stars 2 forks source link

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

Open linusramos opened 7 months ago

linusramos commented 7 months 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 7 months 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.