question

Alessio Merlo avatar image
0 Likes"
Alessio Merlo asked Jordan Johnson commented

kill a single replication of experimenter

Hi,

does someone know a command to kill a single replication of the experimenter? I need to stop a single replication without losing the data. Theoretically I need to send the command endreplication to a specific flexsim process.

If the command doesn't exist, has someone any idea how to implement it?

FlexSim 18.0.1
experimenterreplications
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
2 Likes"
Jordan Johnson answered Jordan Johnson commented

It sounds like your child process is stuck or frozen, due to some bug. If that is the case, there is no way to kill it and get the results back. In this case, you will either need to find/fix the bug (by repeating the streams of whatever replication is crashing), or always write your data to a file, so that it can be recovered, even if the process dies.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Alessio Merlo avatar image Alessio Merlo commented ·

I agree when there is a frozen condition, but in some case I need to stop some replication because the previous results are wrong, but I don't want stop all experimenter.

You suppose this case: 3 scenarios with 10 replications. The first replication of first scenario ends correctly and from the result I note an "huge error" somewhere (not a bug). I don't need to wait the remaining replications of the scenario 1, then I can stop them. On the other hand I want that the experimenter continues with the other scenario.

I hope to explain my idea. Sometimes I need to stop some replication, which goes, but I don't want to stop all experimenter. Moreover when I stop a replication, I don't want to lose the results till that point.

1 Like 1 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Alessio Merlo commented ·

I see what you're saying now. There is not currently a way to do that, but I can make sure we discuss this feature.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.