Page 1 of 1

Error on write of file = 'Z:\ABC.lst': Invalid argument

Posted: Tue May 03, 2022 6:06 pm
by TheRstone
Hi everyone,

i get some error message that drives me crazy...

"Msg=I/O error on write of file = 'Z:\ABC.lst': Invalid argument

However the the error occurs only if i have many entrys for one set (t). If i reduce the amount the model will solve perfectly.

Does anyone ever noticed such a problem?

Thx for your help!
Log.txt
(2.66 KiB) Downloaded 116 times
Log.txt
(2.66 KiB) Downloaded 116 times

Re: Error on write of file = 'Z:\ABC.lst': Invalid argument

Posted: Wed May 04, 2022 1:32 pm
by dirkse
Can you say a little more about your Z: drive? If that's some sort of network share (OneDrive, Google Drive, etc.) that may explain the problem. Network drives look and feel like normal drives from a distance, but if they are used intensively, their weak spots are exposed.

I suggest you try running this entirely from C:. If this eliminates the problem, there are several ways to structure things so intermediate files like the .lst file get written to C:, but you can still read data from Z: How to do this exactly depends on how your model uses files, etc.

-Steve

Re: Error on write of file = 'Z:\ABC.lst': Invalid argument

Posted: Wed May 04, 2022 3:49 pm
by TheRstone
You are my hero!!!

Z: is just my second SSD drive. But as long as I run the model on my C drive the solving process starts.
I do not know why but it totaly solves the issue!

Thank you so much!

How did you know?