the problem was with the programming style, which is not suitable for parallel programming. When I changed Simultaneous runs in parallel to 1, the behavior space worked fine. Thank you, Robert, for a recommendation to try to debug.
On Monday, August 14, 2017 at 8:58:39 PM UTC+3, Valentas Gruzauskas wrote: > > Hi, > > I am making a simulation with NetLogo and extension R. I have made a > supply chain model, where I have distributors and consumers. Consumers > provide orders to distributors and distributors forecast future demand and > places orders to suppliers in advance to fulfill market demand. The > forecast is implemented with extension R ( > https://ccl.northwestern.edu/netlogo/docs/r.html) by calling elmNN > package. The model works fine when simply using "go". > However, when I want to conduct experiments by using behavior space, I > keep getting errors. If I set only a few ticks with behavior space, the > model works fine. But when I want to launch a few hundred ticks behavior > space keeps crashing. For example, "Extension exception: Error in > R-extension: error in eval, operator is invalid for atomic vector", > "Extension exception: Error in R-extension: error in eval: cannot have > attributes on CHARSXP". Sometimes the behavior simply crashes without any > error. > > I assume that the errors are related to computability issues between > NetLogo, R, R extension and java. I am using NetLogo 5.3.1, 64-bit; R-3.3.3 > 64-bit; rJava 0.9-8. > > Model example: https://www.youtube.com/watch?v=zjQpPBgj0A8 > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
