in reply to Troubleshoot a path problem when multithreading on cluster

Hello and welcome to the monastery.

"File write error" looks very suspicious if all its doing is trying to find a module. What exactly did you do in your "single task on single thread" test that worked? How was the code different than the code that is failing?