When there are multiple calls of t2data.run() in parallel, using absolute path in simulator may cause trouble. This is due to the internally generated simulatorxxx_input.dat file being shared by multiple parallel calls.
Possible fixes:
runfilename = os.path.basename(simulator) + '_input.dat' which will be local to each run instance
runfilename = datbase + '.in' which is located next to the input file, and should be fairly unique.
When there are multiple calls of
t2data.run()
in parallel, using absolute path insimulator
may cause trouble. This is due to the internally generatedsimulatorxxx_input.dat
file being shared by multiple parallel calls.Possible fixes:
runfilename = os.path.basename(simulator) + '_input.dat'
which will be local to each run instancerunfilename = datbase + '.in'
which is located next to the input file, and should be fairly unique.