Multiprocessing quit with no output

Hi. I am trying to run pymc.sample using mutiple chains on multiple cores on a Linux machine. If I use cores=1 with chains>1 sequential sampling works and the final trace is saved in output. If I set cores>1 I get a weird behavior: only one progress bar seems to advance and once that one is completed the script quit with no output and no error displayed. I am using pymc.sample with step=pm.Metropolis(), also PyTensor is involved. I tried to run the script also on a different Linux machine, but the problem persists.