issue: Running parallel sessions leads to race conditions where each session tries to access or write to f"/tmp/DSSAT{VERSION}".
Replace line 50 in run.py
|
TMP = tempfile.gettempdir() |
which creates the folder /tmp/ with
with tempfile.TemporaryDirectory() as TMP:
print('created temporary directory', TMP)
each session now creates a unique temporary folder, thus solving the issue.
issue: Running parallel sessions leads to race conditions where each session tries to access or write to f"/tmp/DSSAT{VERSION}".
Replace line 50 in run.py
Py_DSSATTools/DSSATTools/run.py
Line 50 in c9d9e14
which creates the folder /tmp/ with
each session now creates a unique temporary folder, thus solving the issue.