markovmodel / adaptivemd

A python framework to run adaptive Markov state model (MSM) simulation on HPC resources
GNU Lesser General Public License v2.1
18 stars 7 forks source link

Some worker bug #31

Closed thempel closed 7 years ago

thempel commented 7 years ago

Any ideas what this is about? Just ran into it with the new master branch code. Excuse that the error messages are quadrupled due to the 4 Worker approach. job.914608.txt

thempel commented 7 years ago

It always happens with a worker after one successful run, when starting the second run. I assume that #30 somehow removes the files that are being called.

jhprinz commented 7 years ago

Oh man, this one is real stupid...

The worker set the current directory to the worker.{,,,}/ directory and while being inside it is deleted. No problem there. But if you now call any function (in the next task) that uses any os.getcwd() like os.path.abspath it fails.

The fix is easy...