RoseTTAFold icon indicating copy to clipboard operation
RoseTTAFold copied to clipboard

ValueError: Number of processes must be at least 1

Open francicco opened this issue 3 years ago • 6 comments
trafficstars

Hi,

I'm having this type of error, not always. I don't understand the reason why. Any help?

(folding) [tk19812@bp1-login01 Eueides_Etal.Etal0000684G814b.5]$ python -u -W ignore /user/work/tk19812/software/RoseTTAFold-1.1.0/DAN-msa/pick_final_models.div.py pdb-3track model 28
Traceback (most recent call last):
  File "/user/work/tk19812/software/RoseTTAFold-1.1.0/DAN-msa/pick_final_models.div.py", line 113, in <module>
    pool = mp.Pool(n_core_pool)
  File "/user/home/tk19812/.conda/envs/folding/lib/python3.7/multiprocessing/context.py", line 119, in Pool
    context=self.get_context())
  File "/user/home/tk19812/.conda/envs/folding/lib/python3.7/multiprocessing/pool.py", line 169, in __init__
    raise ValueError("Number of processes must be at least 1")
ValueError: Number of processes must be at least 1

also this warning:

/user/home/tk19812/.conda/envs/folding/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])

I think the problem rely on ErrorPredictorMSA.py because npz files are not generated

Thanks a lot! Francesco

francicco avatar Dec 22 '21 14:12 francicco

I am facing the same issue, did you find a way around this @francicco

Geraldene avatar Feb 05 '22 13:02 Geraldene

Hi @Geraldene,

I deleted all files and re-run the pipeline from scratch. It worked. Cheers F

francicco avatar Feb 07 '22 10:02 francicco