TypeError: 'str' object cannot be interpreted as an integer

Dear Alex
I got this error when I tried to do parallel computation, here’s my script and the parameters I set.
I have tried different nworkers parameters, but finally found that only the default value can run, but this is a great test to the memory, the cluster will always be overloaded with memory, causing the whole cluster to crash.
amset.pbs (660 Bytes)
settings.yaml (937 Bytes)

Best,
LLei

Just taking a quick look at the yaml file, it might be reading nworkers: = 4 and extracting the string ‘= 4’ as the value for nworkers, and then python cannot cast that string to an integer because of the equals sign. What happens if you just change it to
nworkers: 4

?

thank you ,Steven,
My problem was well solved