- #1
Athos_F
- 1
- 0
I have strange situation where a code that generaly seems to work fine at times gives a error message.
Basicly I run simulations on a lattice model, and have experience no problems for small system, but when I go to larger systems (meaning that the simulation takes aprox. 15 min) I sometimes get into problem. To average my results I run each simulation a given number of times, and it seems that in around 0.5 % of the time my largest model gives the following error.
Run-time Error
*** Error 112, Reference to undefined variable, array element or function result (/UNDEF).
The line it conects to the problem is well defined, and should not be the problem.
Anyone know way?
Basicly I run simulations on a lattice model, and have experience no problems for small system, but when I go to larger systems (meaning that the simulation takes aprox. 15 min) I sometimes get into problem. To average my results I run each simulation a given number of times, and it seems that in around 0.5 % of the time my largest model gives the following error.
Run-time Error
*** Error 112, Reference to undefined variable, array element or function result (/UNDEF).
The line it conects to the problem is well defined, and should not be the problem.
Anyone know way?